https://github.com/adevintaspain/swiftadditions
A swift library for syntax sugar, dependency injection and a controlled startup process
https://github.com/adevintaspain/swiftadditions
Last synced: 6 months ago
JSON representation
A swift library for syntax sugar, dependency injection and a controlled startup process
- Host: GitHub
- URL: https://github.com/adevintaspain/swiftadditions
- Owner: AdevintaSpain
- License: apache-2.0
- Created: 2023-02-20T13:48:15.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-07-08T07:50:04.000Z (over 1 year ago)
- Last Synced: 2025-04-14T16:05:37.720Z (6 months ago)
- Language: Swift
- Size: 135 KB
- Stars: 7
- Watchers: 28
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Additions
[](https://github.com/AdevintaSpain/SwiftAdditions/actions/workflows/swift.yml)
## 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](Documentation/AppTasks.md) 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](https://cocoapods.org). To install
it, simply add the following line to your Podfile:```ruby
pod 'Additions'
```## Authors
- [Marton Kerekes](https://github.com/kerekesmarton)
- [Miquel Alvarado](https://github.com/miquelalvarado)
- [Gerard Pedreny](https://github.com/gerardpedreny)
- [David Arrufat](https://github.com/darrufat)
- [Gil Serra](https://github.com/gilserrap)## License
Additions is available under the MIT license. See the LICENSE file for more info.