CoreSpotlight Changes for Swift
CoreSpotlight
Modified CSSearchableIndex.beginBatch()
Declaration | |
---|---|
From | func beginIndexBatch() |
To | func beginBatch() |
Modified CSSearchableIndex.endBatch(withClientState: Data, completionHandler: ( (Error?) -> Swift.Void)?)
Declaration | |
---|---|
From | func endIndexBatchWithClientState(_ clientState: NSData, completionHandler completionHandler: ((NSError?) -> Void)?) |
To | func endBatch(withClientState clientState: Data, completionHandler completionHandler: (@escaping (Error?) -> Swift.Void)? = nil) |
Declaration | |
---|---|
From | func fetchLastClientStateWithCompletionHandler(_ completionHandler: (NSData?, NSError?) -> Void) |
To | func fetchLastClientState(completionHandler completionHandler: @escaping (Data?, Error?) -> Swift.Void) |
Declaration | |
---|---|
From | var addedDate: NSDate? |
To | var addedDate: Date? |
Modified CSSearchableItemAttributeSet.allDay
Declaration | |
---|---|
From | @NSCopying var allDay: NSNumber? |
To | var allDay: NSNumber? |
Declaration | |
---|---|
From | var completionDate: NSDate? |
To | var completionDate: Date? |
Declaration | |
---|---|
From | @NSCopying var containerOrder: NSNumber? |
To | var containerOrder: NSNumber? |
Declaration | |
---|---|
From | var contentCreationDate: NSDate? |
To | var contentCreationDate: Date? |
Declaration | |
---|---|
From | var contentModificationDate: NSDate? |
To | var contentModificationDate: Date? |
Declaration | |
---|---|
From | var contentURL: NSURL? |
To | var contentURL: URL? |
Declaration | |
---|---|
From | var downloadedDate: NSDate? |
To | var downloadedDate: Date? |
Modified CSSearchableItemAttributeSet.dueDate
Declaration | |
---|---|
From | var dueDate: NSDate? |
To | var dueDate: Date? |
Declaration | |
---|---|
From | var emailHeaders: [String : [AnyObject]]? |
To | var emailHeaders: [String : [Any]]? |
Modified CSSearchableItemAttributeSet.endDate
Declaration | |
---|---|
From | var endDate: NSDate? |
To | var endDate: Date? |
Declaration | |
---|---|
From | var EXIFGPSVersion: String? |
To | var exifgpsVersion: String? |
Declaration | |
---|---|
From | var EXIFVersion: String? |
To | var exifVersion: String? |
Declaration | |
---|---|
From | var GPSAreaInformation: String? |
To | var gpsAreaInformation: String? |
Declaration | |
---|---|
From | var GPSDateStamp: NSDate? |
To | var gpsDateStamp: Date? |
Declaration | |
---|---|
From | var GPSDestBearing: NSNumber? |
To | var gpsDestBearing: NSNumber? |
Declaration | |
---|---|
From | var GPSDestDistance: NSNumber? |
To | var gpsDestDistance: NSNumber? |
Declaration | |
---|---|
From | var GPSDestLatitude: NSNumber? |
To | var gpsDestLatitude: NSNumber? |
Declaration | |
---|---|
From | var GPSDestLongitude: NSNumber? |
To | var gpsDestLongitude: NSNumber? |
Declaration | |
---|---|
From | var GPSDifferental: NSNumber? |
To | var gpsDifferental: NSNumber? |
Modified CSSearchableItemAttributeSet.gpsdop
Declaration | |
---|---|
From | var GPSDOP: NSNumber? |
To | var gpsdop: NSNumber? |
Declaration | |
---|---|
From | var GPSMapDatum: String? |
To | var gpsMapDatum: String? |
Declaration | |
---|---|
From | var GPSMeasureMode: String? |
To | var gpsMeasureMode: String? |
Declaration | |
---|---|
From | var GPSProcessingMethod: String? |
To | var gpsProcessingMethod: String? |
Declaration | |
---|---|
From | var GPSStatus: String? |
To | var gpsStatus: String? |
Declaration | |
---|---|
From | var GPSTrack: NSNumber? |
To | var gpsTrack: NSNumber? |
Declaration | |
---|---|
From | @NSCopying var HTMLContentData: NSData? |
To | var htmlContentData: Data? |
Declaration | |
---|---|
From | var importantDates: [NSDate]? |
To | var importantDates: [Date]? |
Declaration | |
---|---|
From | var ISOSpeed: NSNumber? |
To | var isoSpeed: NSNumber? |
Declaration | |
---|---|
From | var lastUsedDate: NSDate? |
To | var lastUsedDate: Date? |
Declaration | |
---|---|
From | var metadataModificationDate: NSDate? |
To | var metadataModificationDate: Date? |
Declaration | |
---|---|
From | var recordingDate: NSDate? |
To | var recordingDate: Date? |
Declaration | |
---|---|
From | var startDate: NSDate? |
To | var startDate: Date? |
Declaration | |
---|---|
From | @NSCopying var supportsNavigation: NSNumber? |
To | var supportsNavigation: NSNumber? |
Declaration | |
---|---|
From | @NSCopying var supportsPhoneCall: NSNumber? |
To | var supportsPhoneCall: NSNumber? |
Declaration | |
---|---|
From | @NSCopying var thumbnailData: NSData? |
To | var thumbnailData: Data? |
Declaration | |
---|---|
From | var thumbnailURL: NSURL? |
To | var thumbnailURL: URL? |
Declaration | |
---|---|
From | var timestamp: NSDate? |
To | var timestamp: Date? |
Modified CSSearchableItemAttributeSet.url
Declaration | |
---|---|
From | var URL: NSURL? |
To | var url: URL? |
Declaration | |
---|---|
From | func valueForCustomKey(_ key: CSCustomAttributeKey) -> NSSecureCoding? |
To | func value(forCustomKey key: CSCustomAttributeKey) -> NSSecureCoding? |