This sounds like a simple one but I can't find the solution anywhere.
How do you cast objects in cocoa objective c for the iPhone?
I'm trying to get the length of a string in an nsuinteger object like so:
NSUInteger *phoneNumberLength = [phoneNumber length];
I get the warning initialization makes pointer from integer without a cast.
How do I cast this and all objects in general?