Skip to content

Instantly share code, notes, and snippets.

@roothybrid7
Created March 7, 2017 23:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save roothybrid7/9157429729a85f19b9675af177c4a410 to your computer and use it in GitHub Desktop.
Save roothybrid7/9157429729a85f19b9675af177c4a410 to your computer and use it in GitHub Desktop.
try! Swift Tokyo 2017 に参加した&リンク集 ref: http://qiita.com/roothybrid7/items/267ad11df4f87765588c
struct Environment {
let apiService: ServiceProtocol
let cookieStorage: HTTPCookieStorageProtocol
let currentUser: User?
let dataType: DateProtocol.Type
...
let mainBundle: BundleProtocol
let scheduler: SchedulerProtocol // Reactive.Scheduler
let reachability: ReachabilityProtocol // 通信状態のシグナルはグローバル
let userDefaults: UserDefaultsProtocol
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment