Add changelogs and up version

This commit is contained in:
Ivan Smolin 2020-08-28 19:31:54 +03:00
parent 24898b5ed1
commit bb6633f3ce
3 changed files with 28 additions and 1 deletions

View File

@ -1,5 +1,15 @@
# Changelog
### 0.9.44
- **Add**: `TIFoundationUtils` - set of helpers for Foundation framework classes.
#### TISwiftUtils
- **Add**: `BackingStore` - a property wrapper that wraps storage and defines getter and setter for accessing value from it.
#### TIFoundationUtils
- **Add**: `CodableKeyValueStorage` - storage that can get and set codable objects by the key.
### 0.9.43
- **Fix**: `OTPSwiftView`'s dependencies.

View File

@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "LeadKit"
s.version = "0.9.43"
s.version = "0.9.44"
s.summary = "iOS framework with a bunch of tools for rapid development"
s.homepage = "https://github.com/TouchInstinct/LeadKit"
s.license = "Apache License, Version 2.0"

View File

@ -2,6 +2,23 @@
Bunch of useful helpers for development.
* [BackingStore](#backingstore)
## BackingStore
A property wrapper that wraps storage and defines getter and setter for accessing value from it.
### Example
```swift
final class ViewModel {
@BackingStore(store: UserDefaults.standard,
getClosure: { $0.bool(forKey: "hasFinishedOnboarding") },
setClosure: { $0.set($1, forKey: "hasFinishedOnboarding") })
var hasFinishedOnboarding: Bool
}
```
# Installation via SPM
You can install this framework as a target of LeadKit.