All Versions
10
Latest Version
Avg Release Cycle
56 days
Latest Release
322 days ago

Changelog History

  • v3.3.1

    April 02, 2019

    πŸ‘ Swift 5 support

    πŸš€ This release adds Swift 5 and Xcode 10.2 support

  • v3.3.0

    January 18, 2019

    Swift 4.2

    βž• Added Swift 4.2 compatibility

    🍱 πŸ“Ί tvOS Support

    βž• Added tvOS support

    LocationSymbolIcon

    πŸš€ This release dropped custom LocationSymbolIcon support

  • v3.2.2

    May 24, 2018

    πŸ›  Small bug fixes

  • v3.2.1

    March 29, 2018

    ⚑️ Small Swift 4.1 updates πŸ‘¨β€πŸ’»

  • v3.2.0

    February 28, 2018

    FlyoverKit

    πŸš€ The Engine of the STLocationRequestController has been fully replaced with the newly released FlyoverKit.

    πŸ”§ Button Configuration

    πŸ”§ The configuration for the allow and not-now button has been expanded. You can now set the following properties to customize the buttons to your needs.

    • title
    • titleColor
    • font
    • backgroundColor
    • highlightedBackgroundColor
    • highlightedTitleColor
    • borderColor
    • borderWidth
    • cornerRadius
  • v3.1.0

    February 17, 2018

    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 availableconfig.title.text = "Use this πŸ™Œ"
    
  • v3.0.1

    January 30, 2018

    πŸ›  Fixed a bug when STLocationRequestController is presented from landscape orientation

  • v3.0.0

    January 29, 2018

    πŸ”– Version 3.0

    ♻️ The STLocationRequestController has been completely refactored and improved. The most important changes are the construction and configuration for an STLocationRequestController object as well as the new onEvent closure property. The following usage code snippet will show how to migrate to the 3.0 version.

    Usage

    import STLocationRequest// Initialize STLocationRequestController with STLocationRequestController.Configurationlet locationRequestController = STLocationRequestController { config in config.titleText = "We need your location for some awesome features" config.allowButtonTitle = "Alright" config.notNowButtonTitle = "Not now" config.mapViewAlpha = 0.9 config.backgroundColor = UIColor.lightGray config.authorizeType = .requestWhenInUseAuthorization}// Get notified on STLocationRequestController.EventslocationRequestController.onEvent = { event inif case .locationRequestAuthorized = event { // Location Request Authorized πŸ™Œ } }// Present STLocationRequestControllerlocationRequestController.present(onViewController: self)
    

    πŸ‘ Objective-C Support?

    🚚 The Objective-C support has been removed in this version to be compatible with the Swift coding standards. If you need to use the STLocationRequestController inside an Objective-C Project you should bind the Pod to the 2.0 Version:

    pod 'STLocationRequest', '~\> 2.0'
    
  • v2.0.0

    November 19, 2017

    πŸ”– Version 2.0

    ⚑️ STLocationRequest is now updated to version 2.0 πŸ™Œ

    • 🚚 The most important part is the removed Storyboard, which was former used to layout the UI.
      🍱 All UI layouting is now being done in code πŸ‘¨β€πŸ’».
    • 🍱 STLocationRequestController has now even more properties to customize it πŸ€“
    • πŸ‘Œ Improved Objective-C support
    • πŸ‘Œ Improved Notch-Support for iPhone X
  • v1.5.1

    November 12, 2017

    βž• Added Swift 4.0 compatibility