{"repo":"CaptureContext/swift-standard-clients","free":true,"listed":false,"github":"https://github.com/CaptureContext/swift-standard-clients","clone":"git clone https://github.com/CaptureContext/swift-standard-clients.git","description":"Client declarations and live implementations for standard iOS managers","language":"Swift","stars":35,"topics":["swift","ios","macos","tvos","watchos","protocol-witnesses","clients","functional-programming","managers","caching"],"license":"MIT","category":"mobile-apps","readme_excerpt":"swift-standard-clients Client declarations and live implementations for standard iOS managers More info about client approach: Source Description ------------------------------------------------------------ ----------------------------------------------- Brandon Williams - Protocol Witnesses Talk on App Builders Conference 2019 Pointfree - Protocol Witnesses Pointfree collection pointfree/isowords Examples of different clients can be found here Table of contents Description Interface Implementations ------------- ------------- ------------- Caching CacheClient MemoryCacheClient IDFA IDFAPermissionsClient IDFAPermissionsClientLive Keychain KeychainClient KeychainClientLive Notifications NotificationsPermissionsClient NotificationsPermissionsClientLive HapticEngine HapticEngineClient HapticEngineClientLive UserDefaults UserDefaultsClient UserDefaultsClientLive Todos - [ ] Improve readme by adding examples and simplifying descriptions. - [ ] Add LocalAuthenticationClient [ Soon ] - [ ] Find out if it's better to use Any -based UserDefaults storage instead of DataRepresentable -based. - Add more tests - [ ] Caching - [ ] IDFA - [ ] Keychain - [ ] Notifications - [ ] HapticEngine - [ ] UserDefaults - [x] DataRepresentable Caching CacheClient is a generic client over hashable key and value, it provides interfaces for the following operations: - saveValue( : Value, forKey: Key) - loadValue(of: Value.Type = Value.self, forKey: Key) - Value - removeValue(forKey: Key) - removeAllValues","default_branch":null,"files":null,"tree":[],"storefront":"/r/CaptureContext","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/CaptureContext/swift-standard-clients/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}