I am new to programming. I am facing problem with password field. its value is showing 'nil' in debug.
here is the code.
in debug statement userName object type is showing "NSCFString" and password object type is showing "NSString" only.
in Root.plist
It is defined like this
Item 5 (Text Field - Password)
Text Field Is Secure - Boolean - YES
Identifier - String - password
Title - String - Password
Type - String - Text Field
here is the code.
Code:
-(void) login: (NSString*)userName withPassword:(NSString*)password {
// do the login...on the result, change to the advanced search controller view..
[self.model loginUser:userName password:password];
}
in debug statement userName object type is showing "NSCFString" and password object type is showing "NSString" only.
in Root.plist
It is defined like this
Item 5 (Text Field - Password)
Text Field Is Secure - Boolean - YES
Identifier - String - password
Title - String - Password
Type - String - Text Field