Strongly-typed deep-links into GitHawk.
Just add GitHawkRoutes
to your Podfile and pod install. Done!
pod 'GitHawkRoutes'
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.
- Created with ❤️ by Ryan Nystrom