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

Carthage Support

Compare
Choose a tag to compare
@SvenTiigi SvenTiigi released this 17 Feb 13:20
· 89 commits to master since this release

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 🙌"