PDA

View Full Version : duplicating objects?




Darkroom
Nov 13, 2007, 02:15 PM
i have a custom view in a window that's attached to some actions, etc... i'd like to know: is it possible to simply duplicate that custom view and place it in another window? i've tried a simple copy/paste and it didn't work... finally i've noticed that IB assigns object IDs to objects, so i though i could simply match the object IDs for the original object and the new copy/paste object, but i can't change the Object ID (even though i can select and highlight the ID number?)...

so is it possible to duplicate objects (active objects? instantiated objects? or whatever they're called), or is creating a new custom view and new actions the only way this can be done?



HiRez
Nov 13, 2007, 05:10 PM
As far as I know, there's no way to copy an object in IB an have the copy retain the connections and bindings. They get broken. That's often been annoying and frustrating to me. Not sure if this was fixed in the Leopard IB.