Re: __attribute__((NSObject)) not behaving as expected
Re: __attribute__((NSObject)) not behaving as expected
- Subject: Re: __attribute__((NSObject)) not behaving as expected
- From: Kevin Meaney <email@hidden>
- Date: Fri, 24 Jan 2014 19:24:03 +0000
On 24 Jan 2014, at 19:10, Manfred Schwind <email@hidden> wrote:
> Does ist help, if you assign it this way instead:
>
> self.context = theContext;
>
> In your original code you're directly accessing the "backed" instance variable instead of going over the property, so maybe your property-declaration is ignored in this case.
It's a readonly property which you can't assign to using the normal setter even in the init method.
Kevin
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden