Re: NSArrayController can't insert object
Re: NSArrayController can't insert object
- Subject: Re: NSArrayController can't insert object
- From: mmalcolm crawford <email@hidden>
- Date: Mon, 10 May 2004 22:38:26 -0700
On May 10, 2004, at 10:17 PM, Scott Anguish wrote:
On May 10, 2004, at 5:05 PM, mmalcolm crawford wrote:
On May 10, 2004, at 7:56 AM, Timothy Larkin wrote:
Any way around this problem?
The "Filtering Array Controller" example at
<http://homepage.mac.com/mmalc/CocoaExamples/controllers.html> keeps
a track of added items, and automatically adds them to
arrangedObjects even if they don't meet the current criteria. In
some respects this might better match user expectations anyway...
mmalc and I disagree on this I think.
No we don't! ;-)
My concern with this UI approach is that at what point do you update
the filter to correctly display only the items that would correspond
to the filter?
IMHO: Next time the display is updated, whether it be re-sorting, or
adding or deleting an object. That's basically the way my example
works (as soon as it's been "used", the 'last added' object is set to
nil). That said,
I've tried to find an iApp or Apple application that provides for
this situation, but haven't had any luck. If someone can provide any
examples of existing applications and how they handle it, it'd be much
appreciated.
Me too! In general it's an interesting UI issue (where's Bodhi when we
need him <sigh>).
mmalc
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.