When a nib file is loaded, the objects it contains are instantiated. An IBOutlet is needed if you want to associate properties in your application with items in the Interface Editor, but the objects will exist regardless.
The IBaction method is sent the particular object that called it (sender), so depending on what you are doing with the object there doesn't necessarily need to be a separate outlet for it.
0 comments:
Post a Comment