• 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
How does @protected work in obj-c?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How does @protected work in obj-c?


  • Subject: How does @protected work in obj-c?
  • From: Mark Patterson <email@hidden>
  • Date: Thu, 21 Oct 2004 23:01:12 +1000

Hi,

I tried to define a base class with a variable, and have 2 subclasses reference that variable. But I got errors against all the places I referenced the variable. According to that page http://www.otierney.net/objective-c.html @protected is the default visibility. I am used to protected in Delphi meaning visible to any subclass.

There is no reference to this in the index to Hillegass, but I'd like to have a thorough knowledge of the language.

Regards,

Mark

_______________________________________________
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: How does @protected work in obj-c?
      • From: AndrĂ©as Saudemont <email@hidden>
  • Prev by Date: Re: NSMutableArray & Pointers
  • Next by Date: Re: How does @protected work in obj-c?
  • Previous by thread: Re: NSMutableArray & Pointers
  • Next by thread: Re: How does @protected work in obj-c?
  • Index(es):
    • Date
    • Thread