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 s...@rogue-research.com Rogue Research www.rogue-research.com Mac Software Developer Montréal, Québec, Canada _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com