https://github.com/githawkapp/githawkroutes
GitHawk routes and deep links.
https://github.com/githawkapp/githawkroutes
githawk
Last synced: 9 months ago
JSON representation
GitHawk routes and deep links.
- Host: GitHub
- URL: https://github.com/githawkapp/githawkroutes
- Owner: GitHawkApp
- License: mit
- Created: 2018-10-20T02:56:32.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-11-30T03:02:21.000Z (about 7 years ago)
- Last Synced: 2024-03-14T19:17:59.451Z (almost 2 years ago)
- Topics: githawk
- Language: Swift
- Size: 22.5 KB
- Stars: 54
- Watchers: 3
- Forks: 6
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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:
```swift
import GitHawkRoutes
let repo = RepoRoute(
owner: "GitHawkApp",
repo: "GitHawk",
branch: "master"
)
```
Then simply use our `UIApplication` extension to have your app open GitHawk:
```swift
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
- Created with ❤️ by [Ryan Nystrom](https://twitter.com/_ryannystrom)