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

[OBJ-C] Remove Warning for Undocumented Call?


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

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: Ali Ozer <email@hidden>
    • Re: [OBJ-C] Remove Warning for Undocumented Call?
      • From: Gwynne <email@hidden>
    • Re: [OBJ-C] Remove Warning for Undocumented Call?
      • From: Sherm Pendley <email@hidden>
  • Prev by Date: Re: [NEWBIE]: Dynamically loading NSViews
  • Next by Date: Re: [OBJ-C] Remove Warning for Undocumented Call?
  • Previous by thread: Desperate about NSArrayController (pullDown problems, changing a property of an object in the array programmatically)
  • Next by thread: Re: [OBJ-C] Remove Warning for Undocumented Call?
  • Index(es):
    • Date
    • Thread