Re: NSPopUpButton addItemsWithTitles is way slow [solved - sort of]
Re: NSPopUpButton addItemsWithTitles is way slow [solved - sort of]
- Subject: Re: NSPopUpButton addItemsWithTitles is way slow [solved - sort of]
- From: Dave Camp <email@hidden>
- Date: Mon, 19 Aug 2002 13:13:17 -0700
On Friday, August 16, 2002, at 05:37 AM, Jeremy Dronfield wrote:
The main thing you're doing "wrong" is going against Apple's interface
guidelines, which recommend NSPopUpButtons for lists with 5-12 items.
20-50 items is pushing it, whereas 200 items...? For big collections,
they suggest using a scrollable list, unless window space is a serious
problem.
Another reader suggested I check out Combo Boxes. I had not previously
look at them because at first glance it looked like a text edit field
with a popup menu attached. Upon further inspection, it's much more
like a text edit field and a table view.
I've re-coded my app to use combo boxes for my location filtering UI
(country, region, and city selection) and it is plenty fast now. No
duplicate entry checking, and no command key weirdness. And it does not
require any more room in the window.
Thanks to all that helped!
Dave
_______________________________________________
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.