Re: Which thing should be an IBOutlet?
Re: Which thing should be an IBOutlet?
- Subject: Re: Which thing should be an IBOutlet?
- From: Tom Davie <email@hidden>
- Date: Tue, 11 Dec 2012 22:02:58 +0000
The ivar shouldn't even be part of the public interface:
@interface Blah
@property (assign) IBOutlet Thing *thing;
@end
Bob
On 11 Dec 2012, at 21:44, Steve Mills <email@hidden> wrote:
> Which should be the IBOutlet for connecting a control in a nib to its owner class? The instance variable:
>
> @interface Blah
> {
> IBOutlet Thing* thing;
> }
>
> @property (assign) Thing* thing;
> @end
>
> Or the property:
>
> @interface Blah
> {
> Thing* thing;
> }
>
> @property (assign) IBOutlet Thing* thing;
> @end
>
> Or both:
>
> @interface Blah
> {
> IBOutlet Thing* thing;
> }
>
> @property (assign) IBOutlet Thing* thing;
> @end
>
> I've seen examples of the first two.
>
> --
> Steve Mills
> office: 952-818-3871
> home: 952-401-6255
> cell: 612-803-6157
>
>
>
> _______________________________________________
> 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
_______________________________________________
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