Skip to content

Latest commit

 

History

History
39 lines (25 loc) · 734 Bytes

README.md

File metadata and controls

39 lines (25 loc) · 734 Bytes

GitHawkRoutes

Strongly-typed deep-links into GitHawk.

Installation

Just add GitHawkRoutes to your Podfile and pod install. Done!

pod 'GitHawkRoutes'

Usage

Create one of the available routes:

import GitHawkRoutes

let repo = RepoRoute(
  owner: "GitHawkApp",
  repo: "GitHawk",
  branch: "master"
)

Then simply use our UIApplication extension to have your app open GitHawk:

UIApplication.shared.open(githawk: repo)

Really, that's it!

Beware using the master branch of this repo as the App Store version of GitHawk may be behind. In that case, the route will just open GitHawk.

Acknowledgements