I\'m trying my hand at the iPhone course from Stanford on iTunes U and I\'m a bit confused about pointers. In the first assignment, I tried doing something like this
The * means “pointer”. The object variable holds a pointer to an object, so it has a *; the NSInteger variable holds an NSInteger, not a pointer to an NSInteger, so it does not have a *. Putting the * on that variable gives you at least a warning because you're putting an integer into a pointer variable.