• 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
Validating values for NSArrayController
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Validating values for NSArrayController


  • Subject: Validating values for NSArrayController
  • From: Jean-Francois Roy <email@hidden>
  • Date: Tue, 25 Nov 2003 19:03:23 -0500

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

I have a small application that has a custom class used as the model object of an NSArrayController object driving a NSTableView control. I would like to be able to validate new values before they are applied to the model, to filter things like negative numbers for array indexes or other such kind of validation.

What is the proper way to do this in the controller layer model?

Jeff Roy

- -- Co-Founder of MacStorm
Programmer at MacStorm

http://www.macstorm.org
email@hidden

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (Darwin)

iD8DBQE/w+3L9TJCJTtnjCQRAg/aAJ4l+E7v5HVCNuePYn9LeNMJO3iySACdHwmM
RhQuiJxi5EaK3VnJ2+rU9ZQ=
=eAR6
-----END PGP SIGNATURE-----
_______________________________________________
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.

  • Follow-Ups:
    • Re: Validating values for NSArrayController
      • From: email@hidden
  • Prev by Date: Re: Report printing
  • Next by Date: Re: Doc-based app, text fields, and losing focus
  • Previous by thread: Re: prebinding and undefined symbols?
  • Next by thread: Re: Validating values for NSArrayController
  • Index(es):
    • Date
    • Thread