Expected ) before CLLocationDegress
Am I missing something? Why would I get this erro开发者_Python百科r? "Expected ) before CLLocationDegress."
+ (NSMutableArray *)findNextTwentyFiveRemote:(CLLocationDegrees *)latitude withLong: (CLLocationDegrees *)longitude withLastIncrementNum:(int *)lastPostIdAsString;
CLLocationDegrees is not a pointer type. It is pretty much a just a double. In other words, remove the asterisk.
CLLocationDegrees initialization
Did you remember to #import <CoreLocation/CoreLocation.h>
in your source file?
You can get this error for a lot of reasons. It may be due to something earlier in your code, like a missing semicolon. We'll need to see some more code above what you've already shown to determine what it is.
精彩评论