I have a class with an accessible method that passes back an NSString when called.
NSString
[MyClass getMyString]
The string variable
you can not use '==' to compare two NSString
you should to use [NSString isEqualToString:(NSString*)] to compare two string