63 Commits

Author SHA1 Message Date
Elvis f377c321d5 Clean up and add watchOS support 2024-03-26 11:10:49 +01:00
Elvis 81fc4e5310 Revert "Merge pull request #288 from escfrya/support-watchos"
This reverts commit 472e8f59f9, reversing
changes made to ec9f3af90d.
2024-03-26 10:30:54 +01:00
Elvis fa40c353ec Merge branch 'master' into support-watchos 2024-03-26 06:34:23 +01:00
Mike Hill 8b895e5ee3 Update Types.swift to add visionOS 2024-01-04 10:32:57 -05:00
Mike Hill ca92308ff9 Update TransformerFactory.swift to add visionOS (#1) 2024-01-04 10:27:09 -05:00
Igor Skovorodkin 3116f50bdc watchOS support 2021-05-13 17:10:53 +03:00
Artem Garmash 28acf9a115 Remove CacheResult in favor of Swift.Result 2020-11-01 11:50:25 +03:00
Colin Humber ed8355b0b0 Renamed Result to CacheResult to avoid conflicts with Swift's built-in Result type 2020-10-29 08:22:58 -06:00
Mathias Quintero c92bdd4612 Fixing image resolution for linux and watchOS 2020-09-13 15:00:50 +02:00
Elvis aace3c727c Updated MD5 2020-08-25 14:46:02 -05:00
Vadym Markov c6c7f7b690 Add filePath to Entry 2018-08-13 10:10:59 +02:00
Vadym Markov 0ad8bbe0f1 Add unit tests for Storage and HybridStorage 2018-08-03 13:42:11 +02:00
Vadym Markov e42cbc06ff Implement store observations 2018-08-02 16:02:46 +02:00
Khoa Pham fb823e9f1f Add TransformerFactory 2018-06-13 12:31:33 +02:00
Khoa Pham 4346ba490d Remove old Storage files 2018-06-13 12:13:50 +02:00
Khoa Pham 9cbd6bdbdc Use TypeWrapper to work with primitive types 2018-06-13 12:12:08 +02:00
Khoa Pham 12abe4f48c Add Transformer for Codable and for Data 2018-06-13 11:11:35 +02:00
Khoa Pham 56c4483a11 Add factory methods to Transformer 2018-06-13 11:02:54 +02:00
Khoa Pham aa664e1934 Add Storage2 2018-06-13 10:30:42 +02:00
Khoa Pham beedc302f2 Add generic Storage 2018-06-13 09:48:26 +02:00
Khoa Pham 42a3bb66be Add JSONArrayWrapper and JSONDictionaryWrapper 2017-10-27 12:45:06 +02:00
Khoa Pham 384f856ab8 Make MD5 public 2017-10-27 10:26:37 +02:00
Khoa Pham 620dcd0fb8 Inline SwiftHash 2017-10-27 09:28:06 +02:00
Khoa Pham 1a9ad76ff1 Remove ObjectConverter, just extend JSONDecoder 2017-10-09 11:36:39 +02:00
Khoa Pham df2d1fdfa0 Add ObjectSerializer 2017-09-18 15:25:07 +02:00
Khoa Pham 20bf50f0f9 Support meta in Entry 2017-09-18 14:25:41 +02:00
Khoa Pham 654a777cfd Update StorageError description 2017-09-18 13:20:00 +02:00
Khoa Pham 55e1c1e743 Make ImageWrapper public 2017-09-18 11:37:38 +02:00
Khoa Pham e20b15a0a2 Rename to TypeWrapperStorage. Wrap every Codable type 2017-09-15 10:44:26 +02:00
Khoa Pham 0590a142c1 Add AsyncStorageAware and AsyncStorage 2017-09-14 13:27:51 +02:00
Khoa Pham edd9dde78f Add Result to work with async 2017-09-14 13:27:36 +02:00
Khoa Pham f2cde882d7 Specify Encodable and Decodable 2017-09-14 11:06:27 +02:00
Khoa Pham 29da5d0624 Move Capsule to MemoryStorage 2017-09-14 10:56:16 +02:00
Khoa Pham 291191459f Add isExpired to Expiry 2017-09-14 10:39:32 +02:00
Khoa Pham 436f241bf7 Use cache_toData 2017-09-14 10:19:07 +02:00
Khoa Pham c46a464b70 Rename to StorageError 2017-09-13 15:44:55 +02:00
Khoa Pham 8d00b8e0dc Check primitive and use wrapper 2017-09-13 15:14:44 +02:00
Khoa Pham 0e37f694ac Use Image 2017-09-13 14:28:28 +02:00
Khoa Pham 73ceb807f7 Add Types to deal with platform specific types 2017-09-13 14:28:21 +02:00
Khoa Pham 928c70ee21 Organise files within Storage 2017-09-13 13:37:48 +02:00
Khoa Pham b8b12fba98 Remove old files 2017-09-13 13:36:14 +02:00
Christoffer Winterkvist 81bac21585 Add public 2017-06-12 08:56:31 +02:00
Christoffer Winterkvist f00f5008ae Change property to isEnabled 2017-06-12 08:43:25 +02:00
Christoffer Winterkvist 3dc6d08d6b Add enabled property on Logger
Adds a property on `Logger` to enabled logging. When ever `log(error:
Error)` is called it will check if the feature is enabled or not. If
enabled it will print to the console. This will no use `NSLog` instead
of `print` as that will log to the device console which `print` does
not. It should improve the debugging experience if you debug on a
device using the device console.
2017-06-12 08:42:10 +02:00
Vadym Markov 5f4288eaf9 Refactor unit tests using XCTest 2017-06-07 11:43:39 +02:00
Vadym Markov ecd984f839 Refactor memory and disk storages 2017-06-06 10:17:56 +02:00
Vadym Markov c0dcb4b1ae Rename Cache to SpecializedCache 2017-06-01 11:21:15 +02:00
Vadym Markov dcacd243b8 Fix indentation and lint warnings 2017-05-31 11:02:49 +02:00
Dmitry Letko 376a5b77cd Merge remote-tracking branch 'upstream/master'
# Conflicts:
#	Source/Shared/BasicHybridCache.swift
2017-05-07 18:33:34 +03:00
Dmitry Letko 135000ae87 Get rid of swiftlint warnings 2017-05-07 16:06:33 +03:00