• 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: Programmatic Binding
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Programmatic Binding


  • Subject: Re: Programmatic Binding
  • From: Quincey Morris <email@hidden>
  • Date: Tue, 18 May 2010 12:40:27 -0700

On May 18, 2010, at 12:02, Richard Somers wrote:

> Foo is an int.

<sigh> If you want an answer, you're going to have to be a bit more forthcoming with information.

Is "foo" an instance variable or a property? If instance variable, what's the value of accessInstanceVariablesDirectly for its class? If a property, is there an @property declaration, and how are its getter and setter defined?

> Does not work means foo is never updated with the value in the user defaults.

Have you verified whether setFoo: is never called, or whether it's called with the wrong value? Is the setter called when you subsequently change the user default value that foo is bound to? How do you know that the user default value is correct? Just knowing that foo has the wrong value at some point isn't much help in tracking down the problem.

_______________________________________________

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

  • Follow-Ups:
    • Re: Programmatic Binding
      • From: Richard Somers <email@hidden>
References: 
 >Programmatic Binding (From: Richard Somers <email@hidden>)
 >Re: Programmatic Binding (From: Quincey Morris <email@hidden>)
 >Re: Programmatic Binding (From: Richard Somers <email@hidden>)

  • Prev by Date: Re: Detecting modifier key down when opening a menu?
  • Next by Date: Re: NSTask and piped commands
  • Previous by thread: Re: Programmatic Binding
  • Next by thread: Re: Programmatic Binding
  • Index(es):
    • Date
    • Thread