WeatherRules
This repo contains the entire WeatherRules iOS app, available here on the iOS App Store.
This repo is meant as a portfolio piece and an example of my code, you won't be able to just build and run it as it's missing API Keys among other things.
Organisation
The app is split into a number of frameworks/targets
WhatToWear
: Main App TargetRulesExtension
: Rules Today ExtensionForecastExtension
: Forecast Today ExtensionExtensionCore
: Code that is shared between the Today ExtensionsCoreUI
: Reuseable UI componentsAssets
: Images used throughout the appCharts
: Components used for making charts/graphsNetworking
: Networking components for making API calls primarilyCoreComponents
: Common objects used in multiple places that don't fit elsewhereModels
: Model objects, whether they be from the DarkSky API or elsewhereCore
: Mostly Extensions of Apple frameworks that are used everywhereErrorRecorder
: Wrapper for sending non-fatal errors to Fabric as well as Crash reporting and Analytics via FirebaseEnvironment
: Splitting Dev/Prod environments
Other Highlights
Unit tests
There is a small-ish test suite of ~300 tests using the Quick and Nimble BDD frameworks.
Assets
All images (except App Icons and Launch images) are in the Assets
framework and I use R.swift for compile-time checking of them.
Linting
I use SwiftLint to lint this project, the config file can be found here.
Usage
If you really want to build and run it you'll need to sort out:
- DarkSky API Keys
- Firebase configuration plists (then set a User-Defined
FIREBASE_PLIST_NAME
build setting) - Code-signing settings