RepoWatcher is a Swift Widget and associated app following along with the tutorial by Sean Allen. link
It demonstrates API requests within a Swift Widget & SwiftUI, JSON decoding, and testing with fallback data.
- Clone the repository
- Duplicate the
Secrets.template.plist
file toSecrets.plist
- Add your Github API key to the
Secrets.plist
file⚠️ IMPORTANT:Secrets.plist
is gitignored and should never be committed- Only commit changes to
Secrets.template.plist
- In the project assets folder (Widget and App have two separate folders), add an Avatar image named
avatar.png/jpg/jpeg
, thats used as a default image if the avatar placeholder fetch request fails. - Run the app
- Never commit the
Secrets.plist
file as it contains sensitive API keys - The repository includes a
.gitignore
file that excludesSecrets.plist
- Only make changes to
Secrets.template.plist
when adding new secret keys (using placeholder values)