• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: [OBJ-C] Remove Warning for Undocumented Call?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: [OBJ-C] Remove Warning for Undocumented Call?
      • From: Stéphane Sudre <email@hidden>
References: 
 >[OBJ-C] Remove Warning for Undocumented Call? (From: Lance Drake <email@hidden>)

  • Prev by Date: Re: [OBJ-C] Remove Warning for Undocumented Call?
  • Next by Date: Save image in property list
  • Previous by thread: Re: [OBJ-C] Remove Warning for Undocumented Call?
  • Next by thread: Re: [OBJ-C] Remove Warning for Undocumented Call?
  • Index(es):
    • Date
    • Thread