On Tue, Mar 10, 2009 at 1:12 AM, Ron Fleckner <ronfleck...@ozemail.com.au> wrote: > Or just get the time zone from the name of the item:
In general, tying constant identifiers to UI elements like this is a very bad idea; it makes localization very hard and introduces stronger coupling between the UI and your code. In this specific case, you should be using +knownTimeZoneNames only to fill in the represented object of each menu item. You should instead use -localizedName:locale: to provide the label of each menu item. Note that this method is 10.5 only. --Kyle Sluder _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com