开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜