Re: Exception on launch when clicking on an NSUserNotification
Re: Exception on launch when clicking on an NSUserNotification
- Subject: Re: Exception on launch when clicking on an NSUserNotification
- From: Alex Kac <email@hidden>
- Date: Fri, 27 Feb 2015 10:52:05 -0700
As I have written several times now - I have no user data. If the limit is 1k and it hits that with less than 100 characters for a title and informative string and an ID - then that’s a real bug. I really don’t think I’m hitting that.
It would make NSUserNotifications pretty useless for everyone.
> On Feb 26, 2015, at 11:04 PM, Graham Cox <email@hidden> wrote:
>
>
>> On 27 Feb 2015, at 4:27 pm, Alex Kac <email@hidden> wrote:
>>
>> What’s not shown above is the identifier - which is a 64 character string, and the sound name which is a 10 character string. I’m pretty sure that’s not more than 1k
>
>
> Right, but it's the resulting archive that has to come in under 1K (a ridiculously small limit!). Archives include all sorts of stuff on top of the actual string content - complete class names for all classes involved, all the keys and a fairly complex structure. You might want to just archive your user data with keyed archiver and check the resulting length of the NSData.
>
> --Graham
>
>
Alex Kac - President and Founder
Web Information Solutions, Inc.
"If at first you don't succeed, skydiving is not for you."
-- Francis Roberts
_______________________________________________
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