You cannot set a read-only property, you can do something like
Create some SplashController with some splash screen and in awakeWithContext
override func awakeWithContext(context: AnyObject?) { super.awakeWithContext(context) }
track something you need after some controllers present the track, for example
if !isCounting { self.presentControllerWithName("Interface", context: nil) } else { self.presentControllerWithName("Timer", context: nil) }
isCounting is stored in NSUserDefaults
hope this helps :)
Lion
source share