I'm trying to initialise an NSTimeZone object like this:
var timezone = NSTimeZone.init(name: "Europe/Moscow")
instead of nil or a legit locale value - I get "unable to read data" in xCode's debugging tool
I got the timezone string ("Europe/Moscow") via NSTimeZone.knownTimeZoneNames()
I'm using xCode 7
What am I doing wrong?
As pointed out in the comments - the variables view was just wrong - a print() resulted in the correct output.
Running an iPhone 6 Simulator instead of an iPhone 5 simulator gives the expected results.