Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem with NSData to NSString to NSData



Dear Cocoa-dev People,

I wanted to thank everyone for their helpful replies to my question: How to save metadata for a PDF file?

Graham, thank you for confirming and clarifying "the Cocoa way."  Your caveat (problem with other pdf readers) was also well taken!

Ricky, thank you for your trenchant analysis and commentary.  The reification of your suggested approach, by mentioning the TextEdit example, was "way" helpful! 

Michael, you've identified additional (and compelling) approaches that I'd have never quantified on my own!  They bear looking into; part of my continuing Cocoa education :-)

Dave, you know a lot about the PDF format!  Thanks for quantifing a "PDF compatible" way to append metadata to a PDF!

Jeff, you also know a lot about the PDF format!  Thanks for clarifying another "PDF compatible" way to append metadata to a PDF!

Marcel, thanks for your reply!

My conclusion is that "The Cocoa Way" would be to use NSFileWrappers.  (Not to deprecate the suggested PDF approaches – there's nothing wrong with them.)  I've looked at using NSFileWrappers, but still have some questions.  My plan is to take them to NSCoder Night (in Campbell) and flesh out the recipe, part of my ongoing Cocoa education :-)

As an aside, I want to strongly recommend Eric Buck's Cocoa Design Patterns which led me toward the NSFileWrapper approach in the first place!  (It's available through Safari Books Online "Rough Cuts.")

Many thanks,
Joel Norvell





_______________________________________________

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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.