I'm trying to implement a CLLocationManagerDelegate, like so:
Class("MyCLDelegate < NSObject").definition = function() {
Method('locationManager:didUpdateToLocation:fromLocation:').encoding('void
id id id').fn = function(manager, newLocation, oldLocation)
{
log("locationManager:didUpdateToLocation:fromLocation:")
log(newLocation)
//this.delegate.locationUpdate(newLocation)
}
}
but I get a "no burkspool encoding found when adding
MyCLDelegate.locationManager:didUpdateToLocation:fromLocation:"
Could it be because protocol methods aren't added to the pool? Any ideas?
Regards,
Steve