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)
Written by Andrew Shmig
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Objective-c
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#