i created clock subclassing nsview. want create many clocks programatically , pass time zone value each , every clock. how can pass desired timezone value subclassed nsview.
just create variable in .h of class:
@property (nonatomic, strong) nsstring *timezone
and reference create clock:
mynewclock.timezone = "gmt"
Comments
Post a Comment