• 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: Bindings & Reverting Properties
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bindings & Reverting Properties


  • Subject: Re: Bindings & Reverting Properties
  • From: Quincey Morris <email@hidden>
  • Date: Sat, 22 Aug 2009 17:58:44 -0700

On Aug 22, 2009, at 01:21, Dave Keck wrote:

Aye aye. Here's a simple project that uses that setter:
http://themha.com/happy.zip

When clicking the checkbox in the window, it stays checked. Regardless
of what you do to the happy ivar within the setter, the checkbox
assumes the intuitive value that results from the click, not whatever
happy is actually set to.

... and that's my problem.

You're right, it doesn't work, but the problem isn't with the setter.

I wish I could tell you what the problem is, but I don't know. It's likely something forehead-slappingly trivial, but I couldn't spot it.

One thing that's "wrong" with your sample project, from my point of view, is that I don't believe in putting controllers in NIB files. You'd be better off moving the window to a separate NIB file and making your controller be a subclass of NSWindowController (and be File's Owner).


_______________________________________________

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: 
 >Bindings & Reverting Properties (From: Dave Keck <email@hidden>)
 >Re: Bindings & Reverting Properties (From: Quincey Morris <email@hidden>)
 >Re: Bindings & Reverting Properties (From: Dave Keck <email@hidden>)
 >Re: Bindings & Reverting Properties (From: Quincey Morris <email@hidden>)
 >Re: Bindings & Reverting Properties (From: Dave Keck <email@hidden>)

  • Prev by Date: Re: checkbox question
  • Next by Date: Re: Displaying svg image with WebKit - scaling issues
  • Previous by thread: Re: Bindings & Reverting Properties
  • Next by thread: Re: Bindings & Reverting Properties
  • Index(es):
    • Date
    • Thread