Skip to content

Commit fc9eeec

Browse files
committed
2.2.0
1 parent a54cfd9 commit fc9eeec

File tree

3 files changed

+25
-21
lines changed

3 files changed

+25
-21
lines changed

EGOCache.podspec

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
Pod::Spec.new do |s|
22
s.name = "EGOCache"
3-
s.version = "2.1.3"
4-
s.summary = "Fast Caching for Objective-C (iPhone & Mac Compatible)."
5-
s.description = "EGOCache is a simple, thread-safe key value cache store. It has native support for NSString, UI/NSImage, and NSData, but can store anything that implements <NSCoding>. All cached items expire after the timeout, which by default, is one day."
3+
s.version = "2.2.0"
4+
s.summary = "Fast Caching for Objective-C (Works with macOS, iOS, tvOS and watchOS)."
5+
s.description = "EGOCache is a simple, thread-safe key value cache store for macOS, iOS, tvOS and watchOS."
66
s.homepage = "https://github.com/enormego/EGOCache"
77
s.license = "MIT"
8-
s.author = "Enormego, Shaun Harrison"
9-
s.source = { :git => "https://github.com/enormego/EGOCache.git", :tag => "v" + s.version.to_s }
8+
s.author = "Shaun Harrison"
9+
s.social_media_url = "http://twitter.com/shnhrrsn"
10+
s.source = { :git => "https://github.com/enormego/EGOCache.git", :tag => s.version.to_s }
1011
s.requires_arc = true
11-
s.source_files = "*.{h,m}"
12+
s.source_files = "Sources/*.{h,m}"
1213
end

Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<key>CFBundlePackageType</key>
1616
<string>FMWK</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>2.1.3</string>
18+
<string>2.2.0</string>
1919
<key>CFBundleVersion</key>
2020
<string>$(CURRENT_PROJECT_VERSION)</string>
2121
<key>NSPrincipalClass</key>

README.markdown

Lines changed: 17 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,28 @@
1-
# About EGOCache 2.x
2-
EGOCache is a simple, thread-safe key value cache store. It has native support for `NSString`, `UI/NSImage`, and `NSData`, but can store anything that implements `<NSCoding>`. All cached items expire after the timeout, which by default, is one day.
1+
# EGOCache
2+
EGOCache is a simple, thread-safe key value cache store for macOS, iOS, tvOS and watchOS.
33

4-
# Requirements
4+
It has native support for `NSString`, `UIImage`, `NSImage`, and `NSData`, but can store anything that implements `<NSCoding>`. All cached items expire after the timeout, which by default, is one day.
55

6-
* ARC
7-
* Blocks
8-
* iOS or OS X
6+
## Installation
97

10-
# Changes in 2.0
8+
### Carthage
119

12-
The public interface in 2.0 is largely the same, with the exception of `[EGOCache currentCache]` being deprecated in favor of `[EGOCache globalCache]`. You can now create your own instances of EGOCache and tell it to store wherever, this can be good for dividing up caches in different sections of your app.
10+
```
11+
github "enormego/EGOCache" ~> 2.2.0
12+
```
1313

14-
Internally, EGOCache was largely rewritten to take advantage of libdispatch and is far more stable/performant when handling saves from multiple threads than it was in the past.
14+
### CocoaPods
1515

16-
One other notable internal change for users upgrading from 1.0 to be aware of, is UIImage's are no longer stored via `UIImagePNGRepresentation`. They're stored now by archiving UIImage itself, which allows us to retain information such as image scale, orientation, and also store the image in it's native type, so JPEG's are no longer inflated to PNG sizes. If you were previously saving images via `setImage:forKey:`, but for some reason retrieving them via `dataForKey:`, you'll need to update your code to account for this.
16+
```
17+
pod 'EGOCache', '~> 2.2.0'
18+
```
1719

18-
# Questions
19-
Feel free to contact [email protected] if you need any help with EGOCache.
20+
### Without a dependency manager
2021

21-
# License
22-
Copyright (c) 2015 enormego
22+
Drag EGOCache.h and EGOCache.m into your project.
23+
24+
## License
25+
Copyright (c) 2017 enormego
2326

2427
Permission is hereby granted, free of charge, to any person obtaining a copy
2528
of this software and associated documentation files (the "Software"), to deal

0 commit comments

Comments
 (0)