CocoaPods trunk is moving to be read-only. Read more on the blog, there are 10 months to go.

MJZoomableCoordinateView 0.6.6

MJZoomableCoordinateView 0.6.6

Maintained by Miloš Jagetić.



  • By
  • Miloš Jagetić

MJGridView

Version License Platform

A view for displaying a zoomable coordinate grid. Grid is rendered with more details as it's zoomed in, or rendered with less details as it's zoomed out.
Made using CATiledLayer. Rendered in a grid of tiles, each tile asynchronously on a separate thread.

Features

  • Customizable origin position.
  • Customizable axes' line color, width and dash patterns
  • Customizable other line's color, width and dash patterns by specifing divisor
  • Customizable line spacing
  • Customizable axis' line label attributes, format and position insets
  • Separate axis scale customization
  • Dash pattern rounded caps (experimental)

Planned

  • Skippable lines 💤
  • Axis label orientation 💤
  • Labels on all other lines 💤

Usage

  • Add ZoomableGridView to your view hierarchy
  • Customize via gridProperties (See GridProperties documentation for more details), minimumZoomScale and maximumZoomScale.
  • Zoom your own views alongside the grid view by adding them to gridContainerView

Some Examples

zoom/scrool

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Installation

MJGridView is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'MJGridView'

Author

Miloš Jagetić, [email protected]

License

MJGridView is available under the MIT license. See the LICENSE file for more info.