Re: Validating values for NSArrayController
Re: Validating values for NSArrayController
- Subject: Re: Validating values for NSArrayController
- From: email@hidden
- Date: Tue, 25 Nov 2003 22:09:04 -0500
I am not sure, but I would suggest overriding the addObject: method.
On 25 Nov 2003, at 7:03 PM, Jean-Francois Roy wrote:
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
_______________________________________________
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.