Skip to content

Commit

Permalink
consider caching strategy when reading cach
Browse files Browse the repository at this point in the history
  • Loading branch information
evermeer committed Jan 9, 2016
1 parent 3c5166e commit a2fef1e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion AppMessage/AppMessage/CloudKit/EVCloudData.swift
Original file line number Diff line number Diff line change
Expand Up @@ -681,7 +681,7 @@ public class EVCloudData: NSObject {
}

// If we have a cache for this filter, then first return that.
if restoreDataForFilter(filterId) {
if cachingStrategy != CachingStrategy.None && restoreDataForFilter(filterId) {
if let filterData = self.data[filterId] as? [T] {
postDataCompletedNotification(filterId, results: filterData, status: .FromCache)
if let handler = completionHandler {
Expand Down
2 changes: 1 addition & 1 deletion EVCloudKitDao.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Pod::Spec.new do |s|
#

s.name = "EVCloudKitDao"
s.version = "2.16.1"
s.version = "2.16.2"
s.summary = "iOS: Simplified access to Apple’s CloudKit"

s.description = "Simplified access to Apple’s CloudKit using reflection and generics"
Expand Down

0 comments on commit a2fef1e

Please sign in to comment.