• 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[2]: [OBJ-C] Remove Warning for Undocumented Call?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re[2]: [OBJ-C] Remove Warning for Undocumented Call?


  • Subject: Re[2]: [OBJ-C] Remove Warning for Undocumented Call?
  • From: Lance Drake <email@hidden>
  • Date: Sat, 2 Oct 2004 13:23:13 -0600

// ----------------------------------------------
You're on the right track with the Category idea. The implementation already exists, so all you need to do is provide the interface declaration, like so:
@interface NSThing(PrivateMethods)
- (void) _setsomeFlag:(BOOL) flag;
@end
sherm--
// ----------------------------------------------
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

Hi Sherm and Ali,

I thank you both very much for replying to my question.

Point 1: Sherm - it worked like a charm!

Point 2: Ali - I do so appreciate your advice. We should always do the 'right thing'. In this case, I am submitting a bug for the now-private call to be made public because there's reason for it to be there and, seemingly, no reason for it to not be available. For now, the instance member is frozen in place in Jaguar, works fine in Panther, and maybe it'll get legitimized in Tiger if they hear me at Apple DTS. (BTW - I would mention the NSobj and name of the call - but wouldn't want to lead anyone else astray!)

Again, THANK YOU both for your assistance and good advice,

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
References: 
 >[OBJ-C] Remove Warning for Undocumented Call? (From: Lance Drake <email@hidden>)
 >Re: [OBJ-C] Remove Warning for Undocumented Call? (From: Sherm Pendley <email@hidden>)

  • Prev by Date: Re: [ANN] Smalltalk style Blocks and iterators
  • Next by Date: Toggle between Alternate Menus
  • 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