/SwiftAdditions

A swift library for syntax sugar, dependency injection and a controlled startup process

Primary LanguageSwiftApache License 2.0Apache-2.0

Additions

Swift

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

There's multiple niceties in this repo anyone in Adevinta might be able to use

Additions

  • @Inject property wrapper based dependency injection.
  • AsyncOperation simple wrapper over NSOperation
  • AppTasks in conjuction with AppTask: AsyncOperation and ServiceProvider will provide a coordinated way to start any application.

Extensions and Syntax Sugar:

  • Array
  • Binding
  • ProcessInfo
  • SafeInitialisers for Foundation stuff
  • String
  • URL
  • ProcessInfo
  • Dictionary

Requirements

  • iOS >= 14

Installation

Additions is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'Additions'

Authors

License

Additions is available under the MIT license. See the LICENSE file for more info.