Re: Private Methods
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