small medium large xlarge

Generic-user-small
01 Aug 2009, 22:25
Linda Miller (4 posts)

If feel more comfortable with the dot syntax rather than using the square brackets.

Why does Xcode not recognized the method and autocomplete (or suggest) when using a method.

For instance, if I type

-(void)setTitle:(NSString *)newTitle { title = [newTitle capitalizedString];

}

the “capitalizedString” is autocompleted (or suggested) but when I type

-(void)setTitle:(NSString *)newTitle { title = newTitle.capitalizedString;

}

the “capitalizedString” is NOT suggested.

Am I doing something wrong or has this not really been implemented in ObjC 2.0?

Linda

You must be logged in to comment