Delegate method won't fire (is null). Using ARC
问题 I'm having trouble getting my delegate method to fire. I have the following code: @class Location; @protocol LocationDelegate - (void)location:(Location*)location foundLocation:(CLLocation*)location; - (void)location:(Location*)location failedToLocateUserWithError:(NSError*)error; @end @interface Location : NSObject { __unsafe_unretained id <LocationDelegate> delegate; } @property (nonatomic, assign) id <LocationDelegate> delegate; @end ... @implementation Location @synthesize delegate; -