Carthage Support
Carthage
With this release STLocationRequest
is also available via Carthage.
Carthage is a decentralized dependency manager that builds your dependencies and provides you with binary frameworks.
You can install Carthage with Homebrew using the following command:
$ brew update
$ brew install carthage
To integrate STLocationRequest into your Xcode project using Carthage, specify it in your Cartfile
:
github "SvenTiigi/STLocationRequest"
Run carthage update --platform iOS
to build the framework and drag the built STLocationRequest.framework
, SnapKit.framework
and SwiftIconFont.framwork
into your Xcode project.
On your application targets’ “Build Phases” settings tab, click the “+” icon and choose “New Run Script Phase” and add the Framework paths (for all Frameworks) as mentioned in Carthage Getting started Step 4, 5 and 6
Configuration
The STLocationRequestController.Configuration
struct has been slightly modified in order to have a consistent access to specific variables.
config.titleText // No longer available
config.title.text = "Use this 🙌"