Some favorite site feeds aggregated locally: iPhone Development RSS   Adobe Labs RSS   Macrumors RSS

Tuesday, September 8, 2009

Menlo

Tuesday, September 8, 2009   

If you have Menlo installed, I'll use it for code views here.
#import <foundation/foundation.h>

@protocol MyCLControllerDelegate
@required
- (void)locationUpdate:(CLLocation *)location;
- (void)locationError:(NSError *)error;
@end

@interface MyCLController : NSObject {
CLLocationManager *locationManager;
id delegate;
}

@property (nonatomic, retain) CLLocationManager *locationManager;
@property (nonatomic, assign) id delegate;

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

- (void)locationManager:(CLLocationManager *)manager didFailWithError:(NSError *)error;

@end
 
 Return to the main page
Comments:

There are currently 2 Comments:

Blogger Gabriel said...
“what the heck is menlo?”
 
Blogger e.dolecki said...
September 9, 2009 8:15 AM
“Gabriel,

Menlo is a font that comes with Snow Leopard (OS X) that some have taken a liking to in their Xcode. The "*" is a little strange as it is not super-scripted, but a lot like it anyway.”
 
 Leave a comment