Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

reinitializeWithDocumentManager: #19

fuggly opened this Issue Aug 24, 2011 · 1 comment


None yet
3 participants

fuggly commented Aug 24, 2011


I downloaded the FastPDFKit and played around with its samples. This looks like a very cool library with a ton of very cool features. However.. there's one thing I particularly miss, and that's the ability to not only have an initWithDocumentManager, but also something like setDocumentManager.
I don't know how to say it, but currently, there's only one way to display a PDF:

MFDocumentViewController* d = [[MFDocumentViewController alloc] initWithDocumentManager:docManager];
[self presentModalViewController:d animated:YES];

but once that one is open, there is no way to load another PDF in the already open MFDocumentViewController (or derivate). I'd have to close it down, create a new one with the new document and load it the same way.

So what I'm missing is actually something like

[MFDocumentViewController reinitializeWithDocumentManager:newDocManager];

or maybe even better, a way to be able to use a normal initWithNibName: and then use a setupWithDocManager later.

I hope it is understandable what my request is?

Best regards!

@ghost ghost assigned s1g53gv Jan 4, 2012

langtind commented Oct 9, 2012

Are there any progress on this one? Would really like the possibility to swap documents without having to pop the MFDocumentViewController.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment