Re: Crash when printing (including printing to PDF)
Re: Crash when printing (including printing to PDF)
- Subject: Re: Crash when printing (including printing to PDF)
- From: Fritz Anderson <email@hidden>
- Date: Thu, 06 Dec 2012 09:07:35 -0600
On 6 Dec 2012, at 2:47 AM, John Brownie <email@hidden> wrote:
> I am working on implementing printing, and have it working to the point where the preview in the print sheet works. However, I get a crash if I then go on to print or go to PDF (Open in Preview, Save as PDF). In the print case, I get this crash:
>
> 2012-12-06 18:40:01.757 MyApp[43204:403] -[__NSCFString objectForKey:]: unrecognized selector sent to instance 0x7fbe9f1d9830
What sort of memory management are you using?
The next thing I'd investigate is to see if you're setting or returning an NSString in some method or structure that requires an NSDictionary. Audit your code.
— F
--
Fritz Anderson -- Xcode 4 Unleashed: 4.5 supplement near release -- <http://x4u.manoverboard.org/>
_______________________________________________
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