• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Properties and bindings
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Properties and bindings (From: "D.K. Johnston" <email@hidden>)
 >Re: Properties and bindings (From: Jason Coco <email@hidden>)
 >Re: Properties and bindings (From: "D.K. Johnston" <email@hidden>)

  • Prev by Date: Re: Properties and bindings
  • Next by Date: Re: Unable to launch about panel for the 2nd time
  • Previous by thread: Re: Properties and bindings
  • Next by thread: Re: Properties and bindings
  • Index(es):
    • Date
    • Thread