CoreServices Changes for Swift
CoreServices
Modified CSIdentity
| Name | Declaration | |
|---|---|---|
| From | CSIdentityRef | typealias CSIdentityRef = CSIdentity |
| To | CSIdentity | class CSIdentity {
} |
Modified CSIdentityAuthority
| Name | Declaration | |
|---|---|---|
| From | CSIdentityAuthorityRef | typealias CSIdentityAuthorityRef = CSIdentityAuthority |
| To | CSIdentityAuthority | class CSIdentityAuthority {
} |
Modified CSIdentityQuery
| Name | Declaration | |
|---|---|---|
| From | CSIdentityQueryRef | typealias CSIdentityQueryRef = CSIdentityQuery |
| To | CSIdentityQuery | class CSIdentityQuery {
} |
Modified DCSDictionary
| Name | Declaration | |
|---|---|---|
| From | DCSDictionaryRef | typealias DCSDictionaryRef = DCSDictionary |
| To | DCSDictionary | class DCSDictionary {
} |
Modified LSItemInfoRecord [struct]
| Declaration | |
|---|---|
| From | struct LSItemInfoRecord {
var flags: LSItemInfoFlags
var filetype: OSType
var creator: OSType
var `extension`: Unmanaged<CFString>!
init()
init(flags flags: LSItemInfoFlags, filetype filetype: OSType, creator creator: OSType, `extension` `extension`: Unmanaged<CFString>!)
} |
| To | struct LSItemInfoRecord {
var flags: LSItemInfoFlags
var filetype: OSType
var creator: OSType
var `extension`: Unmanaged<CFString>!
init()
init(flags flags: LSItemInfoFlags, filetype filetype: OSType, creator creator: OSType, extension extension: Unmanaged<CFString>!)
} |
| Declaration | |
|---|---|
| From | init(flags flags: LSItemInfoFlags, filetype filetype: OSType, creator creator: OSType, `extension` `extension`: Unmanaged<CFString>!) |
| To | init(flags flags: LSItemInfoFlags, filetype filetype: OSType, creator creator: OSType, extension extension: Unmanaged<CFString>!) |
Modified LSSharedFileList
| Name | Declaration | |
|---|---|---|
| From | LSSharedFileListRef | typealias LSSharedFileListRef = LSSharedFileList |
| To | LSSharedFileList | class LSSharedFileList {
} |
Modified LSSharedFileListItem
| Name | Declaration | |
|---|---|---|
| From | LSSharedFileListItemRef | typealias LSSharedFileListItemRef = LSSharedFileListItem |
| To | LSSharedFileListItem | class LSSharedFileListItem {
} |
Modified MDItem
| Name | Declaration | |
|---|---|---|
| From | MDItemRef | typealias MDItemRef = MDItem |
| To | MDItem | class MDItem {
} |
Modified MDLabel
| Name | Declaration | |
|---|---|---|
| From | MDLabelRef | typealias MDLabelRef = MDLabel |
| To | MDLabel | class MDLabel {
} |
Modified MDQuery
| Name | Declaration | |
|---|---|---|
| From | MDQueryRef | typealias MDQueryRef = MDQuery |
| To | MDQuery | class MDQuery {
} |
Modified SKIndex
| Name | Declaration | |
|---|---|---|
| From | SKIndexRef | typealias SKIndexRef = SKIndex |
| To | SKIndex | class SKIndex {
} |
Modified SKIndexDocumentIterator
| Name | Declaration | |
|---|---|---|
| From | SKIndexDocumentIteratorRef | typealias SKIndexDocumentIteratorRef = SKIndexDocumentIterator |
| To | SKIndexDocumentIterator | class SKIndexDocumentIterator {
} |
Modified SKSearch
| Name | Declaration | |
|---|---|---|
| From | SKSearchRef | typealias SKSearchRef = SKSearch |
| To | SKSearch | class SKSearch {
} |
Modified SKSearchGroup
| Name | Declaration | |
|---|---|---|
| From | SKSearchGroupRef | typealias SKSearchGroupRef = SKSearchGroup |
| To | SKSearchGroup | class SKSearchGroup {
} |
Modified SKSearchResults
| Name | Declaration | |
|---|---|---|
| From | SKSearchResultsRef | typealias SKSearchResultsRef = SKSearchResults |
| To | SKSearchResults | class SKSearchResults {
} |
Modified SKSummary
| Name | Declaration | |
|---|---|---|
| From | SKSummaryRef | typealias SKSummaryRef = SKSummary |
| To | SKSummary | class SKSummary {
} |
| Declaration | |
|---|---|
| From | func MDQuerySetCreateResultFunction(_ query: MDQuery!, _ `func`: MDQueryCreateResultFunction!, _ context: UnsafeMutablePointer<Void>, _ cb: UnsafePointer<CFArrayCallBacks>) |
| To | func MDQuerySetCreateResultFunction(_ query: MDQuery!, _ func: MDQueryCreateResultFunction!, _ context: UnsafeMutablePointer<Void>, _ cb: UnsafePointer<CFArrayCallBacks>) |
| Declaration | |
|---|---|
| From | func MDQuerySetCreateValueFunction(_ query: MDQuery!, _ `func`: MDQueryCreateValueFunction!, _ context: UnsafeMutablePointer<Void>, _ cb: UnsafePointer<CFArrayCallBacks>) |
| To | func MDQuerySetCreateValueFunction(_ query: MDQuery!, _ func: MDQueryCreateValueFunction!, _ context: UnsafeMutablePointer<Void>, _ cb: UnsafePointer<CFArrayCallBacks>) |
Modified SKDocument
| Declaration | |
|---|---|
| From | typealias SKDocumentRef = SKDocument |
| To | typealias SKDocument = CFTypeRef |