• 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
Sheet created by NSObjectContoller??
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Sheet created by NSObjectContoller??


  • Subject: Sheet created by NSObjectContoller??
  • From: Robert Monaghan <email@hidden>
  • Date: Sat, 17 Dec 2011 10:59:35 -0800

Hi Everyone,

Perhaps someone can help point me in the right direction on this:

I have an NSObjectController that maintains a UI for me.
I have an NSTextField which contains numerical value. You could type in a number, which populates an NSNumber object deep inside my code..
Magically, my NSObjectController does its thing and maintains the UI. Very cool stuff!

I just recently updated my bindings for this NSTextField, so that a a Min and Max Value is respected. As a test, I typed a value which is outside the Min/Max value, to see what I need to implement. To my surprise, a sheet is created saying "The Value 500 is too large." It prompts the user to Discard or Keep Change.
Where did this come from? And how do I override this?

I can't find info in the docs. I do see a vague reference to a "sheet" in the NSObjectController Docs, with add/remove selectors, etc. But nothing concrete.
Ideas?

Thanks!

bob.


_______________________________________________

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: Sheet created by NSObjectContoller??
      • From: Peter <email@hidden>
  • Prev by Date: Re: responding to NSStepper clicks
  • Next by Date: Re: responding to NSStepper clicks
  • Previous by thread: Re: Using Spotlight to query external source
  • Next by thread: Re: Sheet created by NSObjectContoller??
  • Index(es):
    • Date
    • Thread