Latest 0.1.6
Homepage https://github.com/robzimpulse/LocationViewer
License MIT
Platforms ios 8.0
Frameworks UIKit, MapKit
Authors ,

CI Status
Version
License
Platform

Example

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

Screenshot

alt text

Installation

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

pod 'LocationViewer'

How To Use

import LocationViewer
let location = CLLocation(latitude: -6.2303447, longitude: 106.8240961)
let locationController = LocationViewerController(location: location, forName: "My Location")
locationController.titleColor = UIColor.red
locationController.subtitleColor = UIColor.green
locationController.leftCallOutAction = { print("left callout") }
locationController.shareAction = { location in print(location) }
locationController.backButton = UIBarButtonItem(title: "Back", style: .plain, target: self, action: #selector(back(_:)))
navigationController?.pushViewController(locationController, animated: true)

Author

[email protected], [email protected]

License

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

Latest podspec

{
    "name": "LocationViewer",
    "version": "0.1.6",
    "summary": "A viewer that imitate how whatsapp presenting location",
    "homepage": "https://github.com/robzimpulse/LocationViewer",
    "screenshots": "https://github.com/robzimpulse/LocationViewer/blob/master/Screenshot/Simulator%20Screen%20Shot%20-%20iPhone%205s%20-%202018-01-18%20at%2015.19.31.png?raw=true",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "[email protected]": "[email protected]",
        "[email protected]": "[email protected]"
    },
    "source": {
        "git": "https://github.com/robzimpulse/LocationViewer.git",
        "tag": "0.1.6"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "LocationViewer/Classes/**/*",
    "resource_bundles": {
        "LocationViewer": [
            "LocationViewer/**/*.{png,jpeg,jpg,storyboard,xib}"
        ]
    },
    "frameworks": [
        "UIKit",
        "MapKit"
    ]
}

Pin It on Pinterest

Share This