Re: [OBJ-C] Remove Warning for Undocumented Call?
Re: [OBJ-C] Remove Warning for Undocumented Call?
- Subject: Re: [OBJ-C] Remove Warning for Undocumented Call?
- From: Ali Ozer <email@hidden>
- Date: Sat, 2 Oct 2004 11:08:00 -0700
Please don't use undocumented interfaces; they are undocumented because
they are not meant for general use. They might go away at any point, or
worse, their behavior might change in a way which breaks your app.
Ali
Begin forwarded message:
From: Lance Drake <email@hidden>
Date: October 2, 2004 10:38:05 PDT
To: email@hidden
Subject: [OBJ-C] Remove Warning for Undocumented Call?
There's an undocumented instance method in the Cocoa frameworks for an
NSThing '- (void) _setsomeFlag:(BOOL) flag;'. Why this call is not
documented is another question. When I compile, I get the warning:
`NSThing' may not respond to `-_setsomeFlag:'
I'd like to eliminate the warning I get for this situation without
having to shutoff all warnings for 'incomplete objective-c protocols'.
If I subclass NSThing and provide a call to super for same - the
warning is generated over there. Checking out the Obj-C manual, I'm
thinking I need to create a 'category' - but am not sure. Any ideas?
Thanks,
Lance Drake
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden