• 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: Writing a protected method in Obj-C
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Writing a protected method in Obj-C


  • Subject: Re: Writing a protected method in Obj-C
  • From: Gregory Weston <email@hidden>
  • Date: Thu, 18 Sep 2003 20:41:42 -0400

On Thursday, Sep 18, 2003, at 17:33 US/Eastern, Umed Zokirov wrote:

How can one write a protected method in Obj-C, I mean protected in
sense of C++ protected member function.

One can't. Any code can send any message to any object. The best you can do is avoid documenting it. Put it in a category declared in a separate header file.

G
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: NSMovieView Aspect
  • Next by Date: Re: startTrackingAt not working as expected for NSTableView cells [never mind]
  • Previous by thread: Re: Writing a protected method in Obj-C
  • Next by thread: NSMovieView Aspect
  • Index(es):
    • Date
    • Thread