evermeer / EVCloudKitDao

Simplified access to Apple's CloudKit
Other
644 stars 67 forks source link

deprecated on Swift4 #92

Closed foolbear closed 6 years ago

foolbear commented 6 years ago
  1. Utilities/EVCloudKitDao/EVCloudKitDao.swift:830:32: 'init(recordType:predicate:subscriptionID:options:)' was deprecated in iOS 10.0: Use CKQuerySubscription instead

  2. Utilities/EVCloudKitDao/EVCloudKitDao.swift:851:68: 'predicate' was deprecated in iOS 10.0: Use CKQuerySubscription instead

  3. AppDelegate.swift:30:48: 'UIUserNotificationSettings' was deprecated in iOS 10.0: Use UserNotifications Framework's UNNotificationSettings

  4. AppDelegate.swift:30:15: 'registerUserNotificationSettings' was deprecated in iOS 10.0: Use UserNotifications Framework's -[UNUserNotificationCenter requestAuthorizationWithOptions:completionHandler:] and -[UNUserNotificationCenter setNotificationCategories:]

  5. Utilities/EVCloudKitDao/EVReflection.swift:1334:35: 'substring(to:)' is deprecated: Please use String slicing subscript with a 'partial range upto' operator.

evermeer commented 6 years ago

I'm first working on making EVReflection work well with Swift 4. When that's done I will continue with EVCloudkitDao

foolbear commented 6 years ago

thanks

MortenGregersen commented 6 years ago

I've created a pull request for this #100

evermeer commented 6 years ago

🎉 YAY 🚀 EVCloudKitDao (3.5.1) successfully published

Thanks @MortenGregersen