git clone
the repository- Ensure that your
cocoapods
is at least version 1.6.1 (check withpod --version
) - Update your local specs repo:
pod repo update
- Install project pods:
pod install
Note: The Pods/
directory will be gitignore-d.
- Finally, edit
bacon/commons/Constants.swift
line 169 (static let LocationPromptGooglePlacesApiKey = "PLACEHOLDER"
) and replace with the API key. This is required to load the heatmap.
This project uses the SwiftyBeaver framework.
Logger setup can be found in AppDelegate.swift
.
SwiftyBeaver provides 5 levels of logging in ascending order of priority:
- verbose
- debug
- info
- warning
- error
See https://github.com/SwiftyBeaver/SwiftyBeaver
To ensure consistency in logging, this may serve as a guide:
- Use
log.info()
as the default log operation (e.g. when entering a method) - To indicate the start of a method call, use
<Class/Struct>.<methodName>() ...
, e.g.Transaction.init() with the following arguments ...