Within C# we have access to a String class from .NET which is full of helpful string manipulation methods. Many other languages have their own forms of a String library and Objective-C is right there with those languages with its NSString class. While NSString is very useful I do find it odd from time to time the naming or usage of certain methods to accomplish tasks. For example, within any .NET based language, such as C#, I have access to a handy method called String.Contains. It’ll return a true or false depending if the the string you pass as a parameter is within, or contained, within the main string object you call this method from.
During one of my sessions of working on the iPhone game. I noticed something very strange within Objective-C.
int x = 5; // Expected expression before 'int'