Re: +underPageBackgroundColor
Re: +underPageBackgroundColor
- Subject: Re: +underPageBackgroundColor
- From: Sean McBride <email@hidden>
- Date: Tue, 07 Aug 2012 10:31:50 -0400
- Organization: Rogue Research Inc.
On Tue, 7 Aug 2012 08:38:12 +1000, Graham Cox said:
>I have a category on NSColor that defines all the "named" SVG colours,
>and there's one called 'linenColor'. In 10.8, there appears to be a
>private method called +linenColor which is invoked by
>+underPageBackgroundColor, so it calls my SVG method and I get my sRGB
>"chino" colour. Removing that method it now works as expected.
Aren't Apple-private methods supposed to start with underscore, to avoid exactly this problem?
Also, it sure would be nice for us 3rd party devs to be able to have OBJC_PRINT_REPLACED_METHODS 'on' all the time, but it's noisy, complaining about various Apple methods that replace each other.
<rdar://7583845>
--
____________________________________________________________
Sean McBride, B. Eng email@hidden
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
_______________________________________________
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