Re: Property attribute in class continuation does not match class property
Re: Property attribute in class continuation does not match class property
- Subject: Re: Property attribute in class continuation does not match class property
- From: Quincey Morris <email@hidden>
- Date: Fri, 29 Jan 2010 15:23:05 -0800
On Jan 29, 2010, at 14:45, Rick Mann wrote:
> @property (nonatomic, readonly) NSArray* children;
> @property (nonatomic, retain) NSArray* children; <-- error here
They have to match on everything but the readonly/readwrite, and the default is 'assign', so:
@property (nonatomic, retain, readonly) NSArray* children;
@property (nonatomic, retain, readwrite) NSArray* children;
_______________________________________________
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