-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathMemoryCache.podspec
25 lines (20 loc) · 1.29 KB
/
MemoryCache.podspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
Pod::Spec.new do |s|
s.name = 'MemoryCache'
s.version = '1.1.0'
s.summary = 'MemoryCache is a LRU memory cache in swift.'
s.description = <<-DESC
MemoryCache is a memory cache class in swift.
- The MemoryCache class incorporates **LRU** policies, which ensure that a cache doesn’t use too much of the system’s memory. If memory is needed by other applications, it removes some items from the cache, minimizing its memory footprint.
- You can add, remove, and query items with **expiration** in the cache from different threads without having to lock the cache yourself. ( **thread-safe** )
- Unlike the NSCache class, the cache guarantees a type by its key. ( **type-safe** )
DESC
s.homepage = 'https://github.com/yysskk/MemoryCache'
s.license = { :type => 'MIT', :file => './LICENSE' }
s.author = { 'yysskk' => '[email protected]' }
s.source = { :git => 'https://github.com/yysskk/MemoryCache.git', :tag => s.version.to_s }
s.social_media_url = 'https://twitter.com/_yysskk'
s.platform = :ios
s.ios.deployment_target = '8.0'
s.swift_version = '4.2'
s.source_files = 'Sources/**/*.swift'
end