Skip to content

Commit

Permalink
osx version fix
Browse files Browse the repository at this point in the history
  • Loading branch information
evermeer committed Dec 25, 2016
1 parent 664ff85 commit beaf46a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions AppMessage/AppMessage/CloudKit/EVCloudKitDao.swift
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@ open class EVCloudKitDao {
open func discoverUserInfo(_ completionHandler: @escaping (_ user: AnyObject) -> Void, errorHandler:((_ error: Error) -> Void)? = nil) {
container.fetchUserRecordID(completionHandler: {recordID, error in
self.handleCallback(self.nilNotAllowed(error as Error?, value: recordID), errorHandler: errorHandler, completionHandler: {
if #available(iOS 10.0, *, tvOS 10.0, *) {
if #available(iOS 10.0, *, tvOS 10.0, *, OSX 10.12, *) {
self.container.discoverUserIdentity(withUserRecordID: recordID!) { (user, error) in
self.handleCallback(self.nilNotAllowed(error as Error?, value: user), errorHandler: errorHandler, completionHandler: {
self.activeUser = user
Expand Down Expand Up @@ -470,7 +470,7 @@ open class EVCloudKitDao {
:return: No return value
*/
open func allContactsUserInfo(_ completionHandler: @escaping (_ users: [AnyObject]?) -> Void, errorHandler:((_ error: Error) -> Void)? = nil) {
if #available(iOS 10.0, *, tvOS 10.0, *) {
if #available(iOS 10.0, *, tvOS 10.0, *, OSX 10.12, *) {
container.discoverAllIdentities { (users, error) in
self.handleCallback(error as Error?, errorHandler:errorHandler, completionHandler: {
if let returnData = users {
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 = "3.2.1"
s.version = "3.2.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 beaf46a

Please sign in to comment.