Re: @property IBOutlet
Re: @property IBOutlet
- Subject: Re: @property IBOutlet
- From: Luke the Hiesterman <email@hidden>
- Date: Mon, 25 Apr 2011 21:03:13 -0700
On Apr 25, 2011, at 8:57 PM, koko wrote: Using this ;
@property (nonatomic, retain) IBOutlet UIPickerView myPickerView;
and
@synthesize myPickerView;
do I still need to connect the outlet in IB? My observation says yes but am I not understanding something?
I.e. why define IBOutlet on the @property?
That decoration is a way of specifying what can be connected to something in IB. It wouldn't show up as a connection opportunity (or, simply, outlet) in IB unless it were defined as such by the IBOutlet specification.
Luke
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden