i have a simple string checking code, which will check NSString which coming from my server to the NSString which i hard coded in my xcode.
Please check the code
if([[array valueForKey:@"type"] isEqualToString:@"type"] ) {
//Failed
}
input values are these
[array valueForKey:@"type"] is a string from server 'type'
When i did this in xcode console
po [[array valueForKey:@"type"] isEqualToString:@"type"]
i got output as
0x00000001
Both strings are same but then what is this 0x00000001??
Aucun commentaire:
Enregistrer un commentaire