- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
bool userNameChanged = true;
[userName isEqualToString:oldUserName]!=YES;
bool passwordChanged = true;
[password isEqualToString:oldPassword]!=YES;
bool retVal = true;
if(userNameChanged)
{
retVal &= setUserNameInPreferences(userName);
}