Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

BurksPool & protocol methods

9 views
Skip to first unread message

Steve Conover

unread,
Mar 4, 2011, 2:42:17 AM3/4/11
to jsc...@googlegroups.com
Hi,

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

Reply all
Reply to author
Forward
0 new messages