Re: popup menu entries
Re: popup menu entries
- Subject: Re: popup menu entries
- From: Graham Cox <email@hidden>
- Date: Sat, 7 Nov 2009 15:41:08 +1100
On 07/11/2009, at 7:19 AM, Carlo Caione wrote:
in an application I need to populate a popup button with at least
twenty entries.
What is the correct place where I have to store labels?
Can a property list be a good idea or is it better to leave them in
the .m file?
The obvious answer is to populate the menu in Interface Builder. Why
can't you do that?
If the menu is dynamically populated then the title strings should be
set up using NSLocalizedString or one of its cousins, so that the
strings originally come from the .m file but are localizable via a
suitable strings file.
--Graham
_______________________________________________
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