The ARC migration tool is refusing to accept this code prior to starting with migration:
[self.delegate performSelector:@selector(overlayDismissed:) withObject:self afterDelay:0];
The delegate is forced to implement this method with a protocol, and it should work fine:
@protocol OverlayDelegate <NSObject>
- (void)overlayDismissed:(Overlay*)overlay;
@end
@interface Overlay : UIImageView {
id<OverlayDelegate> delegate;
}
@property (nonatomic, assign) id<OverlayDelegate> delegate;
What's wrong with ARC? Why is it telling me that there is "no known instance method for selector 'performSelector:withObject:afterDelay:'?