On Apr 25, 2011, at 10: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?
> 
Stylistic. You can also put the "IBOutlet" on the declaration inside the 
@interface inside the curly braces, too. It's just a do-nothing replacement at 
compile time that IB looks at - code-wise it's like a macro replacement to an 
empty string (or, in the case of IBAction, to "void".)

> -koko
> 
> 
> 
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Xcode-users mailing list      ([email protected])
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/xcode-users/wsquires%40satx.rr.com
> 
> This email sent to [email protected]

_______________________________________________

Cocoa-dev mailing list ([email protected])

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 [email protected]

Reply via email to