Last Updated: February 25, 2016
·
443
· andrewshmig

Long bug

Be careful naming methods in Objective-C :)

Had this code:

- (id)searchQuery:(NSString *)searchQuery
          lat:(CGFloat)lat
         long:(CGFloat)long;

And error message from AppCode:

expected ';' after method prototype

Ohhh... it was really stupid mistake!

long - data type (like int, short, byte)