Re: [swift-corelibs-dev] Autoupdating type properties

2016-11-29 Thread Tony Parker via swift-corelibs-dev
Hi Pushkar, > On Nov 29, 2016, at 4:12 AM, Pushkar N Kulkarni via swift-corelibs-dev > wrote: > > Hi there, > > I am curious about how an autoupdating type property like `NSTimeZone.local` > could be implemented, given that it is a value (the type is TimeZone). The > requirement essentially

[swift-corelibs-dev] Autoupdating type properties

2016-11-29 Thread Pushkar N Kulkarni via swift-corelibs-dev
Hi there, I am curious about how an autoupdating type property like `NSTimeZone.local` could be implemented, given that it is a value (the type is TimeZone). The requirement essentially is that if the default timezone is changed, the change should reflect in all copies of this value.import Foundati