Skip to content
This repository has been archived by the owner on Dec 2, 2020. It is now read-only.

Releases: Boris-Em/BEMSimpleLineGraph

Version 2.0.1

03 Mar 06:57
Compare
Choose a tag to compare

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

02 Mar 22:46
Compare
Choose a tag to compare

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

08 Feb 08:01
Compare
Choose a tag to compare

Bug fixes and optimization of X-Axis is drawing.

Resolved Issues

Improvements

  • The labels on the X-Axis are now offset to be centered if necessary and possible.

Version 1.2.2

14 Jan 06:06
Compare
Choose a tag to compare

Issue Fixes

  • Replaced direct call of layoutSubviews by setNeedsLayout.
  • Removed the .md extension from the "LICENSE" file for CocoaPods.

Version 1.2.1

08 Jan 05:17
Compare
Choose a tag to compare

Minor Changes

  • Renamed the folder "BEMSimpleLineGraph" to "Classes".
  • Modified the documentation to reflect the change of name.

Version 1.2.0

08 Jan 04:34
Compare
Choose a tag to compare

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.