Very frustrated!


I am trying to implement the whereamiAppdelegate using the supplied template for Xcode 4.2. I have pretty much copied this verbatim from the book but when I implement the following code :

  • (void) locationManager:(CLLocationManager *)manager
    didUpdateToLocation:(CLLocation *)newLocation
    fromLocation:(CLLocation *)oldLocation

It give me an error of “invalid argument type ‘void’ to unary expression” what am I doing wrong :frowning:


The method signature definitely looks right. Could you paste in (using the code forum post tags) the contents of your implementation file?


Managed to work it out. I did not close off he bracket above this code. Apologies for the shouting!!!