Because the order in which objects are instantiated from an archive is not guaranteed, your initialization methods should not send messages to other objects in the hierarchy. Messages to other objects can be sent safely from within awakeFromNib—by which time it’s assured that all the objects are unarchived and initialized (though not necessarily awakened, of course).
즉, [...]
Archive for the ‘cocoa’ Category
awakeFromNib 관련 메모
Posted in cocoa, tagged awakeFromNib, cocoa, Interface Builder on May 14, 2008 | Leave a Comment »