-
Notifications
You must be signed in to change notification settings - Fork 104
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
UI layout fixes, improved flexibility, Swift 4.2 and more #94
Open
rivera-ernesto
wants to merge
97
commits into
uxmstudio:master
Choose a base branch
from
codelathe:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
That is, it should not assume that the Pen tool is button index 1. It should find it by type or assert otherwise.
That is, when disappearing from the view, the settor of that closure could infer from the passed PDFAnnotationController whether there are things to save, and if so, decide where/what to do or just ignore etc. Default behaviour is as before, just assigns the annotations out of the annotationController to the PDFDocument itself, then call save() on that document to archiveRootObject.
In PDFAnnotationController, and PDFAnnotationStore
Default does what it always does, calls dismiss(animated: true, completion: nil)
start up a new annotation after undoing one
better pen width and better undo functionality
- undo should still be enabled if you start an empty annotation while there are annotations in the store
fix it better
…ry leak with delegates
…nailViewController collection view spacing added between lines
…t annotation file for a specific document)
…atureFormField to fit.
Merge in diegostamigni master branch
# Conflicts: # Example/Pods/Pods.xcodeproj/project.pbxproj # Example/Pods/Pods.xcodeproj/project.xcworkspace/contents.xcworkspacedata # Example/Pods/Pods.xcodeproj/xcshareddata/xcschemes/UXMPDFKit.xcscheme # Example/UXMPDFKit.xcodeproj/project.pbxproj # Example/UXMPDFKit.xcodeproj/xcshareddata/xcschemes/UXMPDFKit-Example.xcscheme # Example/UXMPDFKit/AppDelegate.swift # Pod/Classes/Annotations/UXMAnnotationController.swift # Pod/Classes/Annotations/UXMTextAnnotation.swift # Pod/Classes/Form/UXMFormButtonField.swift # Pod/Classes/Form/UXMFormSignatureField.swift # Pod/Classes/Form/UXMFormTextField.swift # Pod/Classes/Model/UXMAction.swift # Pod/Classes/Renderer/PDFThumbnailView.swift # Pod/Classes/Renderer/UXMPDFViewController.swift # Pod/Classes/Renderer/UXMPageContentView.swift # Pod/Classes/Renderer/UXMPageScrubber.swift # Pod/Classes/Renderer/UXMSnapshotCache.swift # Pod/Classes/Renderer/UXMThumbnailViewController.swift # Pod/Classes/View/UXMBarButton.swift # UXMPDFKit.podspec
Updated PR. |
…ionals created when `document` is set
…Content() functions
…h a SFSafariViewController
Added lots of crash fixes as we stress the library with our FileCloud app's 10k+ users. |
Hi, when will this request be merged so its possible to use version 0.7.3? |
You can use the fork in the mean time. See the PR description. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
• All changes from #83.
• Allow setting
UXMPDFViewController
’sdocument
after loading its view.• Make
UXMPDFViewController
’scollectionView
andpageScrubber
optionals only loaded afterdocument
is set.• Update to Swift 4.2.
• Fix
UXMThumbnailView
layout.• Fix page number positioning.
• New optional
autoHidePageNumberTimeInterval
.• Make
autoSaveAction
optional.• Make sure to call
finishAnnotation()
beforeshowActivitySheet()
.• Refactor
saveToPDFFile
with optional overwriteOriginal parameter.• Use
adjustedContentInset
to fix collection view layout warnings.• Call
setNeedsLayout()
instead of the not recommendedlayoutSubviews()
.• Cleanup Example project.
• Prevent crash when
pdfDocRef
'sinfo
isnil
(#89).Anyone can give it a try using
pod 'UXMPDFKit', :git => 'https://github.com/codelathe/UXMPDFKit.git'
.