NSArrayController -addObjects and undo
NSArrayController -addObjects and undo
- Subject: NSArrayController -addObjects and undo
- From: "email@hidden" <email@hidden>
- Date: Mon, 9 Nov 2009 20:58:27 +0000
My Entry objects are an NSManagedObject subclass.
I create an NSArray of N Entries and add them to my array controller
like so.
[self.arrayController addObjects:newEntries];
I am observing [self.arrayController arrangedObjects] and receive a
single observation following the above call.
However, when I undo this operation I get N observations of
[self.arrayController arrangedObjects].
Is this expected behaviour or am I screwing up on my KVO somewhere?
I have not changed the default undo manager grouping behaviour.
Running OS X 10.6
Regards
Jonathan Mitchell
Developer
http://www.mugginsoft.com
_______________________________________________
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