• 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: Private, Protected methods in Obj C?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Private, Protected methods in Obj C?


  • Subject: Re: Private, Protected methods in Obj C?
  • From: email@hidden
  • Date: Wed, 3 Apr 2002 16:01:55 EST

In a message dated 4/3/02 12:14:24 PM, email@hidden writes:

>This is close to private methods in C++. Not not sure about an
>equivalent for protected methods

I believe that the methods are still public, but if they aren't visible
publicly, then nobody knows to use them. This means that they will still be
inherited, and so they are actually similar to protected methods. Private
methods can't really be achieved, though they are generally unnecessary.
_______________________________________________
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.

  • Follow-Ups:
    • Re: Private, Protected methods in Obj C?
      • From: "Erik M. Buck" <email@hidden>
    • Re: Private, Protected methods in Obj C?
      • From: Andy Lee <email@hidden>
    • Re: Private, Protected methods in Obj C?
      • From: Ondra Cada <email@hidden>
  • Prev by Date: Autocomplete/Tab-Completion how to do?
  • Next by Date: RSS Parsing
  • Previous by thread: Re: Private, Protected methods in Obj C?
  • Next by thread: Re: Private, Protected methods in Obj C?
  • Index(es):
    • Date
    • Thread