Re: Properties and bindings
Re: Properties and bindings
- Subject: Re: Properties and bindings
- From: "Shawn Erickson" <email@hidden>
- Date: Tue, 23 Sep 2008 19:55:37 -0700
On Mon, Sep 22, 2008 at 8:44 PM, D.K. Johnston <email@hidden> wrote:
> Thanks for the explanations: it does make some kind of sense now.
>
> The reason I was looking at both forms is that I want the myInt property to
> be read-only, but I want the MyObject instance to be able to set it. If I do
> this:
>
> @property(readonly) NSInteger myInt;
Then use a class continuation and mark the property read-write in the
continuation and read-only in the public interface.
Review the following... <http://theocacao.com/document.page/516> ...or
explicitly trigger change notificiation using
will/didChangeValueForKey as already suggested.
-Shawn
_______________________________________________
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