NSDocument updateChangeCount when using Bindings
NSDocument updateChangeCount when using Bindings
- Subject: NSDocument updateChangeCount when using Bindings
- From: Kevin Bracey <email@hidden>
- Date: Fri, 7 Jan 2011 15:01:50 +1300
After hours of searching I have to presume I'm doing something wrong or missing something obvious, as no one else has this simple problem:-)
OS X 10.6.6 NSDocument Application.
MyDocument has a
iVar = NSMutableArray *allScenes;
@property( retain ) NSMutableArray *allScenes;
@synthesize allScenes;
In my nib I have a ArrayController bound to allScenes and it is hooked up to a Table and and selected Fields, it is adding and editing my Scene Objects great.
I have these Saving and Loading from a Package using NSKeyArchiver, working great.
How do I get the [MyDocument updateChangeCount:NSChangeDone]; to be called when I add or delete a allScenes object or edit one of there properties?
Thanks
Kevin_______________________________________________
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