NSArrayController duplicate display
NSArrayController duplicate display
- Subject: NSArrayController duplicate display
- From: "Marcus S. Zarra" <email@hidden>
- Date: Thu, 4 Aug 2005 13:40:48 -0600
I have a set up in my application where the file owner has a reference
to a NSArrayController which controls the display of a table. When a
menu item is selected the file owner calls add:(id)sender on the
NSArrayController and then instructs the GUI to select a text field.
The issue I am seeing is that when the file owner calls add:(id)sender
the NSArrayController displays two new rows in the attached table
instead of just one. If I call fetch on the controller the
second/phantom row disappears. If I connect the NSArrayController's
add method directly to the menu item the problem does not occur.
Has anyone seen this behavior before? Is there a fix to this (other
than calling fetch immediately after add as this causes a flicker).
Thanks,
Marcus
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden