binding bool value??
binding bool value??
- Subject: binding bool value??
- From: Theodore Petrosky <email@hidden>
- Date: Sun, 25 Mar 2007 06:58:22 -0700 (PDT)
I have a custom object that I am binding to my
interface. Of course I am populating this object from
a query to a database. After I query the backend and
assign all my values (some NSStrings, some NSDates) I
use the addObserver..... to watch my ivars for
changes.
This works great except for BOOL values. I have
setters and getters for these BOOLs then I am setting
up the observing the same for NSStrings...
Can I 'observe' BOOLs in my custom object? I am
setting up observing like this:
[aRow addObserver:self forKeyPath:@"cancreatenewjob"
options:NSKeyValueObservingOptionOld context:NULL];
Help please..
Ted
____________________________________________________________________________________
Looking for earth-friendly autos?
Browse Top Cars by "Green Rating" at Yahoo! Autos' Green Center.
http://autos.yahoo.com/green_center/
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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