On July 7, Manfred Schwind wrote:"On OS X all objects of the nib including the file's owner get an awakeFromNib." I don't think I ever found the doc for that, either, but I did learn the hard way. I was instantiating a NIB multiple times with "InstantiateNibWithOwner:topLevelObjects", but I inadvertently used the same object which owned the nib when it was loaded. I ultimately found doc that said each instance had to have a unique owner, but no reason was given. My owning object got multiple "awakeFromNib" calls. Eventually, I pieced the two together.

Dale Miller




_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to