Skip navigation.
 
mlRe: crash using PDFDocumentTitleAttribute - CoreData conflict?
FROM : Adam R. Maxwell
DATE : Sun Jun 04 20:09:59 2006

On Jun 4, 2006, at 10:35, John R. Timmer wrote:

> I'm having a crash on launch when i include the following code in 
> an NSManagedObject subclass, where theDoc is a PDFDocument:
>    if ( [[theDoc documentAttributes] objectForKey: 
> PDFDocumentTitleAttribute] != nil )
>        [self setName: [[theDoc documentAttributes] objectForKey: 
> PDFDocumentTitleAttribute]];
>
> The crash comes with the message:
> ZeroLink: unknown symbol '_PDFDocumentTitleAttribute'
>
> testApp has exited due to signal 6 (SIGABRT).
>
>
> Any suggestions on how to fix this?  Is the key actually meant to 
> be a string?


This isn't CoreData related; it's a bug in PDFKit.  See previous 
discussions at <http://www.cocoabuilder.com/search/archive?
words=PDFDocumentTitleAttribute
>.

--
Adam

Related mailsAuthorDate
mlcrash using PDFDocumentTitleAttribute - CoreData conflict? John R. Timmer Jun 4, 19:35
mlRe: crash using PDFDocumentTitleAttribute - CoreData conflict? Adam R. Maxwell Jun 4, 20:09