
The wrong way to do string comparisons in the iPhone SDK
if(myTitle == @"HELLO")
The right way
if([myTilte isEqualToString:@"HELLO"])

The wrong way to do string comparisons in the iPhone SDK
if(myTitle == @"HELLO")
The right way
if([myTilte isEqualToString:@"HELLO"])
Previous post: Kicking it, the Muay Thai way
Next post: How To detect an internet connection with the iPhone SDK
{ 1 comment… read it below or add one }
Hi,
As i am doing with my first Hello world application, later i tried to implement Login functionality, i was frustrated at username and password comparison, but i got this article and i am out of this problem.
thanx,