[Add] DocumentReaderMRZBarcodeStage 7.5.10862
[CocoaPods.git] / Specs / 6 / 9 / a / UserTrackingButton / 0.1.0 / UserTrackingButton.podspec.json
blob6299c8fbd1a2a7b4e52c0d7edd81af9b0ee9db86
2   "name": "UserTrackingButton",
3   "version": "0.1.0",
4   "summary": "A replacement for MKUserTrackingBarButtonItem",
5   "description": "# UserTrackingButton\n\nA replacement for `MKUserTrackingBarButtonItem` when you don't have toolbars or navigation bars.\n\n `UserTrackingButton` is a button that works in conjunction with `MKMapView`. Unlike `MKUserTrackingBarButtonItem` it can be used even when you don't have toolbars or navigation bars.\n \n## Installation\n\n#### Carthage\n\nAdd `github \"mkko/UserTrackingButton\" ~> 0.1` to you `Cartfile`. Follow the further instrcutions on [Carthage getting started][1] page.\n\n*NB: There is a bug with `@IBDesignable` when using external frameworks that prevents the view from rendering wihtin Interface Builder. Further reading can be found [here][2].*\n\n#### Cocoapods\n\nAdd `pod 'UserTrackingButton', '~> 0.1'` to you `Podfile` and run `pod install`.\n\n## Setup\n\nTo use UserTrackingButton from Interface Builder simply subclass a `UIView` component and set its class to `UserTrackingButton`. Connect the `mapView` outlet and you're done.\n\nThe same steps are required when adding the button in code:\n\n```\nlet btn = UserTrackingButton(frame: trackingButtonFrame)\nbtn.mapView = self.mapView\nself.view.addSubview(btn)\n```\nAnd there, you're done. The button handles the binding to user tracking state of the `MKMapView` instance.\n\n\n[1]: https://github.com/Carthage/Carthage#if-youre-building-for-ios\n[2]: https://openradar.appspot.com/23114017",
6   "homepage": "https://github.com/mkko/UserTrackingButton.git",
7   "license": {
8     "type": "MIT",
9     "file": "LICENSE"
10   },
11   "authors": {
12     "Mikko Välimäki": "mkko1373@gmail.com"
13   },
14   "social_media_url": "http://twitter.com/mkko",
15   "platforms": {
16     "ios": "8.0"
17   },
18   "source": {
19     "git": "https://github.com/mkko/UserTrackingButton.git",
20     "tag": "0.1.0"
21   },
22   "source_files": "UserTrackingButton/*.{swift,h,m}",
23   "resources": "UserTrackingButton/Media.xcassets",
24   "requires_arc": true