Quote:
Originally Posted by iphoneSDKid
and by the way how do you test what a string is for example do i use:
if (myString.text == @"text") {
or
if (myString.text == [NSString stringWithFormat:@"text"]) {
or neither?
|
You should get something like "Learn Objective-C on the Mac" from the same publisher as your iPhone SDK book. I don't have the book but if you go to the Apress site and look for it, they have a Google Preview link for the book. In the preview on pages 136 to 137 it discusses string comparison.