• 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 Methods
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Private Methods


  • Subject: Re: Private Methods
  • From: Richard Charles <email@hidden>
  • Date: Tue, 18 Aug 2015 09:31:11 -0600

> On Aug 18, 2015, at 9:01 AM, Mike Abdullah <email@hidden> wrote:
>
> Go on, satisfy our curiosity, what did you accidentally override?

I made a CAOpenGLLayer subclass “context” property for use with OpenGL context sharing but CALayer has a private “context” property.

So yes CALayer would constitute a large Cocoa framework class (such as NSView or UIView). Perhaps for one reason or another there are cases where framework developers are not able to conveniently prefix a private method name with an underscore so they don’t do it.

So I tip my hat to the Apple documentation writers. In this case what they wrote was very accurate.

--Richard Charles


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


References: 
 >Private Methods (From: Richard Charles <email@hidden>)
 >Re: Private Methods (From: Mike Abdullah <email@hidden>)

  • Prev by Date: Re: Private Methods
  • Next by Date: Xcode warning from linking to a third-party framework in both app and in framework included in app?
  • Previous by thread: Re: Private Methods
  • Next by thread: Re: Private Methods
  • Index(es):
    • Date
    • Thread