This repository has been archived by the owner on Dec 2, 2020. It is now read-only.
Releases: Boris-Em/BEMSimpleLineGraph
Releases · Boris-Em/BEMSimpleLineGraph
Version 2.0.1
Minor Fixes
- Changed the padding on the graph to make sure the line doesn't get drawn outside the view (Bézier curves).
- Updated the README.md.
- Fixed Warning in the Sample Project by deleting duplicate files in Build Phases (README and License).
Special Thanks
Big thank you to @Sam-Spencer for all the hard work on the v2.0.
Version 2.0
This update makes numerous improvements to the delegate methods, adds new methods / features, fixes bugs, and adds pre-compiler warnings for some features.
Breaking Changes
- Deprecated some delegate methods and replaced with newer delegate methods with more parameters.
- Changed some previously public properties to private properties.
New Features
- New delegate methods to specify line color and alpha.
- New delegate methods that notify the delegate when the graph starts and ends updates.
- Added new calculation methods to calculate the graph's sum, average, standard deviation, median, mode, and more.
- Added a new graph snapshot method which efficiently captures a UIImage of the graph.
- Updated Sample App to reflect new features and changes.
- Added pre-compiler check for the Objective-C Module Build Setting. Modules are used if enabled, otherwise traditional imports are used.
- Added a warning for projects without ARC.
Fixed Issues
- Added call to super in layoutSubviews.
- The reloadGraph method now calls setNeedsLayout instead of directly calling layoutSubviews.
- Improved memory performance with
@autoreleasepool
blocks. - Added Type-Safety for 64-bit architecture.
- Fixed X-Axis layout issues.
- Fixed typos.
Version 1.3.0
Bug fixes and optimization of X-Axis is drawing.
Resolved Issues
- Fixed bugs #3 and #6.
- Thank you to @darkFunction for helping fixing bug #3.
Improvements
- The labels on the X-Axis are now offset to be centered if necessary and possible.
Version 1.2.2
Issue Fixes
- Replaced direct call of
layoutSubviews
bysetNeedsLayout
. - Removed the
.md
extension from the "LICENSE" file for CocoaPods.
Version 1.2.1
Minor Changes
- Renamed the folder "BEMSimpleLineGraph" to "Classes".
- Modified the documentation to reflect the change of name.
Version 1.2.0
New Features
- Delegate can now be set via the Storyboard Outlet Inspector (in the interface) - in addition to setting it programatically.
- Improved
init
method. - Improved sample app.
Fixed Issues
- Fixed reload data bugs.