I have a NSPopUpButton list, which contains name of timezones.
When I construct the popup button, I get the list of the timezone using
[NSTimeZone knownTimeZoneNames]
and then constructed another array using [NSTimeZone timeZoneWithName:name]

So, basically, the popup button has the list of NSString of timezone name.
However, when I launch my application, I would like to make my
application automatically select current system's timezone from the
list.
Also, when a user select a timezone from the popup button, I want to
convert it into NSTimeZone.
How can I do this?
_______________________________________________

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

Reply via email to