• 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: KVO/KVC compliance, signature for -validate<Key>: error:
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: KVO/KVC compliance, signature for -validate<Key>: error:


  • Subject: Re: KVO/KVC compliance, signature for -validate<Key>: error:
  • From: Scott Anguish <email@hidden>
  • Date: Thu, 1 Jan 2004 23:11:50 -0500

> Do I infer correctly?
> Have I missed more complete documentation?
>

Yes, I think perhaps..

http://developer.apple.com/documentation/Cocoa/Conceptual/
KeyValueCoding/Concepts/Validation.html#//apple_ref/doc/uid/20002173

> Next question:
> What happens to the instance of NSError?
> How is it used?

there is example code in this article that should cover that..
> How would I best intervene with the Controller Layer to, say, display
> a sheet with information from the NSError that results when the user
> supplies an invalid value?

if you return a failed validation controller should display that

[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >KVO/KVC compliance, signature for -validate<Key>: error: (From: Don Briggs <email@hidden>)

  • Prev by Date: Re: Encryption
  • Next by Date: Can we make a Panel be displayed even when it is deactivated?
  • Previous by thread: Re: KVO/KVC compliance, signature for -validate<Key>: error:
  • Next by thread: Re: NSTextField containing Button?
  • Index(es):
    • Date
    • Thread