- Customizeable `UIViewBackground` and `UIViewBorder` for `UIView.Appearance` - Keychain single value storage for codable models -`CodableSingleValueKeychainStorage` - Renamed methods `startAnimation` and `stopAnimation` of `SkeletonPresenter`, so it won't conflict with `Animatable` protocol anymore |
||
|---|---|---|
| .. | ||
| Sources | ||
| README.md | ||
| TISwiftUtils.podspec | ||
README.md
TISwiftUtils
Bunch of useful helpers for development.
BackingStore
A property wrapper that wraps storage and defines getter and setter for accessing value from it.
Example
final class ViewModel {
@BackingStore(store: UserDefaults.standard,
getClosure: { $0.bool(forKey: "hasFinishedOnboarding") },
setClosure: { $0.set($1, forKey: "hasFinishedOnboarding") })
var hasFinishedOnboarding: Bool
}