-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Page thumbnails in PDF reader sidebar #815
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a reason the new files are named e.g. PdfThumbnailsViewController
instead of PDFThumbnailsViewController
?
Zotero/Scenes/Detail/PDF/Views/PdfThumbnailsViewController.swift
Outdated
Show resolved
Hide resolved
annotationsController.coordinatorDelegate = self.coordinatorDelegate | ||
annotationsController.boundingBoxConverter = self.boundingBoxConverter | ||
self.addChild(annotationsController) | ||
let annotationsController = AnnotationsViewController(viewModel: viewModel) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since we create several controllers when the document appears, that may not even be used at all, maybe we can convert them to lazy load, in a future update. Or maybe just pre-load the first, or some.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I considered this to be pretty much the same as UITabbarController
which allocates all controllers ahead too. But we can definitely improve this by lazy loading.
Just my memory I'm afraid :), I'll rename to uppercase. Fixed a56ffdb |
Co-authored-by: Miltiadis Vasilakis <[email protected]>
Co-authored-by: Miltiadis Vasilakis <[email protected]>
a56ffdb
to
2bc67d1
Compare
Closes #742