Re: NSArrayController, only refreshes after mouse moves random key
Re: NSArrayController, only refreshes after mouse moves random key
- Subject: Re: NSArrayController, only refreshes after mouse moves random key
- From: Alexander Reichstadt <email@hidden>
- Date: Thu, 26 Feb 2009 12:34:13 +0100
On 26.02.2009, at 12:30, Alexander Reichstadt wrote:
Hi,
I try to change a string from the default value to a specific value
when a new object is inserted. I observe the NSArrayController that
in turn is bound to a table view.
Correction, I observe the managedObjectContext with
NSManagedObjectContextObjectsDidChangeNotification
It has been impossible so far to get the value to reliably be
changed upon insertion every time.
I am observing the contextDidChange notification but that doesn't
get posted every time. Most times it does get posted, and sometimes
it doesn't. When I hit the add key bound to my array controller, I
see the entry being added, and in those cases where it doesn't get
posted when I then move the mouse, it does get triggered too. Why
doesn't it always get triggered?
Thanks
Alex
_______________________________________________
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
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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