콘텐츠로 이동
Search

IOS:Outlet

An outlet is a property that is annotated with the symbol IBOutlet and whose value you can set graphically in a nib file or a storyboard. You declare an outlet in the interface of a class, and you make a connection between the outlet and another object in the nib file or storyboard. When the file is loaded, the connection is established.

You define an outlet as a property with the type qualifier of IBOutlet.

@property (nonatomic, weak) IBOutlet UITextField *nameField;

Favorite site

lastmod 2014-03-06created 2014-03-06 sitemap