I have a class defined like this,
@interface GAppDelegate : NSObject <UIApplicationDelegate, UIAccelerometerDelegate > { and inside that class I have implemented this, // UIAccelerometerDelegate method, called when the device accelerates. - (void)accelerometer:(UIAccelerometer *)accelerometer didAccelerate:(UIAcceleration *)acceleration; When I build, I get a warning, type 'id <UIApplicationDelegate>' does not conform to the 'UIAccelerometerDelegate' protocol Yet in running, the method is called and behaves as it should. It is the only method in the protocol, and it's optional. How could I fail to conform to the protocol? David _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com