This repository has been archived by the owner on Dec 2, 2020. It is now read-only.
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.
ORIGINAL PULL REQUEST: #263 from @mackworth. This pull request makes a number of significant improvements to the project and @mackworth deserves a huge round of applause for these contributions. The reason this duplicate of the original PR is being merged is due to my own negligence and some issues with git... 😬. Below is the original text from the Pull Request.
Summary
First, thanks for a very nice project. I realize this is a weird PR. In order to fix a rotation issue (due to labels being regenerated every time), I changed to tracking the subviews, but did that in my own personal repo. In order to do that, as I was understanding each component, I refactored to avoid duplicate code.
I wasn't planning to submit it, just did it for my own use, then I noticed requests (#286, #272, #203, #109) to remove the tag dependency. So, I re-pulled from your Feature version and generated a new commit with all my changes in it. My guess is you're not going to like the extent of my refactoring or the testing that would be required, but thought I'd offer it. If you do want to incorporate some or all of this, but are offended by the obviously massive commit, I'm willing to go back through and break it up into smaller commits and do further testing.
Fixes Issues
This pull request fixes the following issues:
[The following may not be included in this duplicate PR due to merge conflicts and changes made earlier] Compiler warnings (for projects with
-WEverything
)Changes
Features:
graphLabelsForYAxis
(parallel tographLabelsForXAxis
)Notes
Breaking Change Notes
Breaking reference is to the use of
NSUInteger
in API to keep consistent sign usage throughout. Could be put back and useNSInteger
internally instead. Otherwise, it will break any code that looks for tags (although they could be added back just for this reason) such as tests prior to modification.Additional Notes
One known bug, I deleted and forgot to restore the
customPopup
delegate calls.