warning 'NSEvent' may not respond to '+eventWithEventRef:'
warning 'NSEvent' may not respond to '+eventWithEventRef:'
- Subject: warning 'NSEvent' may not respond to '+eventWithEventRef:'
- From: Ken Tozier <email@hidden>
- Date: Tue, 26 May 2009 00:52:33 -0400
Hi
I'm getting a warning when calling NSEvent's eventWithEventRef
NSEvent *event = [NSEvent eventWithEventRef: ref];
I include Appkit and Carbon in the file where this warning appears
#import <AppKit/AppKit.h>
#import <Carbon/Carbon.h>
And the documentation doesn't say this is an obsolete method
http://developer.apple.com/documentation/Cocoa/Reference/ApplicationKit/Classes/NSEvent_Class/Reference/Reference.html#/
/apple_ref/occ/clm/NSEvent/eventWithEventRef:
So why am I getting the warning?
Despite the warning, it seems to run fine, just kind of annoying to
see this yellow 'WARNING !!!!" balloon in my code.
Thanks in advance
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden