I have a loging screen with a UISwitch for letting the user choose "remember me" so I can store his/her credentials on the key chain if desired.
This will only happen if the user has chosen "remember me" AND the server accepts the username/password. However, when the server replies, I have a hard time referring to the state of the UISwitch. The value of myUISwitch.on is, to my surprise (null).
NSLog (@"(Successful login. Value of UISwitch rememberMe: %@)", rememberMe.on);
Must I store this information in a temporary boolean?