Re: Was: issues using encodeWithCoder: with NSAttributedString for iOS
Re: Was: issues using encodeWithCoder: with NSAttributedString for iOS
- Subject: Re: Was: issues using encodeWithCoder: with NSAttributedString for iOS
- From: Uli Kusterer <email@hidden>
- Date: Mon, 27 Feb 2012 12:38:55 +0100
On 27.02.2012, at 12:11, Gregory Weston wrote:
> Jens Alfke wrote:
>
>> I don’t know of an easy workaround. Back in the day I would have suggested creating a category on CGColor that adds the required archiving methods, but doing this will get you rejected from the App Store.
>
> Wait, what? Where's that documented? I haven't tried submitting something to the Mac App Store yet, but I've never been shy about using categories and that'd be a killer. Also, FWIW, I've had iOS apps that use categories (heavily) approved.
My guess is that since CGColor is a CoreFoundation class, it'd probably involve some hackery to make that category work ... ?
Cheers,
-- Uli Kusterer
"The Witnesses of TeachText are everywhere..."
_______________________________________________
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