I’m working on an app that needs to be able to open a PDF document and then save as a bundle containing this PDF and the core data object graph. The app should also open the custom bundle.
Any pointers on where to start?
Thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I’d say these two sources:
You certainly can use NSPersistentDocument. When you create your data model, you could create a root document object with a data object and external storage to store the PDF.
Or, use NSDocument, and handle the bundle loading and Core Data stack yourself.