40 Commits
Author SHA1 Message Date
Mack Hasz 12c81c30c1 Update Storage.swift 2025-08-28 16:28:29 -04:00
Ken Carroll db45d9f4b1 Use FileManager instead of attributes. 2024-07-18 13:21:51 +01:00
pareshios de764f8258 feat: Added support to remove only in memory cache 2023-05-02 16:54:49 +05:30
Saul Moreno Abril 27c0a86fdd Added allKeys and allObjects computed vars for storage with sense 2020-11-12 14:16:59 +01:00
TimFraedrich 8c869942f8 Add DiskStorage size property 2020-10-04 15:09:14 +00:00
Mathias Quintero 517cbf554a Generalize cache storage to allow using any hashable key parameter 2020-09-13 12:32:29 +02:00
Kristaps Grinbergs 3453f681c6 * setting Swift4.2 version in appropriate places
* fixing tests for Swift 4.2
* Xcode 10 parallel testing
* code sanitasion
* remove comments from Package.swift
2018-09-23 13:00:34 +03:00
Vadym Markov 1c0e873519 Fix typos in README and remove commented code 2018-08-07 16:18:32 +02:00
Vadym Markov e4fd35749c Test observations in HybridStorage and Storage 2018-08-07 15:18:35 +02:00
Vadym Markov 0bbdf947a8 Improve toke-based API with observers 2018-08-07 13:57:28 +02:00
Vadym Markov a05dfb79a1 Refactor observations 2018-08-07 13:22:00 +02:00
Vadym Markov 2a18a462ae Add observation registry 2018-08-06 16:44:08 +02:00
Vadym Markov a7e40e734f Notify key observers when needed 2018-08-06 12:54:08 +02:00
Vadym Markov b77619f164 Use strongSelf in closure 2018-08-03 15:03:15 +02:00
Vadym Markov 7c003de4fe Rename functions in StorageObservationRegistry 2018-08-03 14:59:58 +02:00
Vadym Markov cb85b99edc Add unit tests for ObservationToken and StorageObservationRegistry 2018-08-03 14:03:10 +02:00
Vadym Markov 0ad8bbe0f1 Add unit tests for Storage and HybridStorage 2018-08-03 13:42:11 +02:00
Vadym Markov cf8173939a Use StoreObservable protocol with protocol extension 2018-08-03 10:36:59 +02:00
Vadym Markov a73bec5a0f Implement observations in HybridStorage 2018-08-02 16:24:01 +02:00
Vadym Markov e42cbc06ff Implement store observations 2018-08-02 16:02:46 +02:00
Khoa Pham 40a8b3007d Rename from support to transform 2018-06-13 13:21:37 +02:00
Khoa Pham 02245ec60d Update SyncStorageTests 2018-06-13 12:46:21 +02:00
Khoa Pham efdf1c73d1 Rename to StorageAware 2018-06-13 12:35:48 +02:00
Khoa Pham 6e468a110d Rename to Storage 2018-06-13 12:15:16 +02:00
Khoa Pham 4346ba490d Remove old Storage files 2018-06-13 12:13:50 +02:00
Stuart Tett 2215f92365 Get Dispatch compiling on linux
explicitly importing Dispatch
2017-11-28 10:44:01 -08:00
Khoa Pham 0dd9af0927 Use 2 serial queues 2017-09-19 15:23:42 +02:00
Khoa Pham 04af665418 Expose AsyncStorage so that expiry can be optional 2017-09-18 16:31:26 +02:00
Khoa Pham d3f24f2fe2 Use self.sync to disambiguate with Swift.sync function 2017-09-18 16:27:36 +02:00
Khoa Pham df84c4061b Add ofType parameter 2017-09-18 09:17:46 +02:00
Khoa Pham 6a86a9b076 Rename to StorageTests 2017-09-15 15:05:47 +02:00
Khoa Pham 8f6fb114c8 Remove ReadSyncWriteAsyncStorage 2017-09-15 14:50:46 +02:00
Khoa Pham 78f473f977 Expose the concrete class, as protocol does not have default parameter 2017-09-15 13:46:24 +02:00
Khoa Pham 032810fdb1 Add 3 lazy properties 2017-09-15 13:19:16 +02:00
Khoa Pham fdac166adf Remove StorageAware conformance 2017-09-15 13:10:14 +02:00
Khoa Pham c46a464b70 Rename to StorageError 2017-09-13 15:44:55 +02:00
Khoa Pham cbe3526a9a Update documentations 2017-09-13 13:51:19 +02:00
Khoa Pham 3694f89524 Use nil as default for expiry 2017-09-12 15:20:45 +02:00
Khoa Pham 7816b16fdc Pass expiry as optional 2017-09-12 15:18:05 +02:00
Khoa Pham 97a584c58c Reorganise 2017-09-12 11:44:11 +02:00