objective c - Selector element does not have valid object type (Cocoa touch) -
I am trying to anonymize on the collection of objects and I am creating an annotation for each code such as this code But the }
closure of the loop }
I get this error is not a valid object type in the selector element
. what does this mean?
for (PPI myPOI App DelegatePoices) {CLLocationCoordinate2D location; place. LETITUDE = [myPOI.lat double value]; place. Lame = [myPOI.lon double value]; Region.span = period; Area.center = location; Homeology * locAnn; LocAnn = [[location entry alloc] initWithCoordinate: location]; [Add MapView Notation: locAnn]; [MapView Set Region: Animated Area: Yes]; [Space release]; }
I can also find variable size object can not be started
In the beginning of the loop, the example variable latitude (and also LAN) is preserved. Has been announced .
What have I done?
thanks
What is "POI"? An object? If so, you are not declaring "myPOI" as an indicator of POI you want:
POI * myPOI ...
If Poi is an object not , you can not do it using fast calculation.
Comments
Post a Comment