Skip to content
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

Fixes and Swift => 4.0 upgrade #83

Open
wants to merge 78 commits into
base: master
Choose a base branch
from

Conversation

diegostamigni
Copy link

Hi, I've collected a bunch of fixes from different forks, upgraded the code to swift 4.0 and personally fixed some potential memory leaks with non-weak delegates.

pushchris and others added 20 commits August 28, 2017 19:12
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
@scottcc
Copy link

scottcc commented Jan 22, 2018

Very interesting! Thanks for collecting these @diegostamigni - hope to be able to try out your branch this week or the following. When I do, I'll let you know if there are any weird effects I see.

@diegostamigni
Copy link
Author

diegostamigni commented Jan 22, 2018

Thanks @scottcc, just bear in mind that I've changed the Travis link in the README.md and the git repo URL in the Podspec file.

@scottcc
Copy link

scottcc commented Jan 22, 2018

No problem - for stuff we're changing with any regularity at all, we typically point the Podfile reference to a commit SHA instead rather than going the full install-through-cocoapods (not to mention I couldn't push to the official cocoapods repo as I'm not the owner)

brianmwadime and others added 24 commits February 7, 2019 12:09
Merge in diegostamigni master branch
- bump version to 0.8.5
adds choice fields functionality
- fix sizing of signature annotation when rendering to flat pdf
- Fixes orientation of signature annotation on final exported pdf
Correct sizing and orientation of signature field/annotation on exported flat pdf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants