mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
* Removing unnecessary casts from stdlib * Minor adjustments * [stdlib][qol] Clean up error variable assign NSError * Removing unnecessary coercions after removing DeclRefExpr restriction.
26 lines
948 B
Swift
26 lines
948 B
Swift
//===----------------------------------------------------------------------===//
|
|
//
|
|
// This source file is part of the Swift.org open source project
|
|
//
|
|
// Copyright (c) 2014 - 2018 Apple Inc. and the Swift project authors
|
|
// Licensed under Apache License v2.0 with Runtime Library Exception
|
|
//
|
|
// See https://swift.org/LICENSE.txt for license information
|
|
// See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
@_exported import CloudKit
|
|
|
|
@nonobjc
|
|
@available(macOS 10.12, iOS 10.0, tvOS 10.0, watchOS 3.0, *)
|
|
extension CKShare {
|
|
@available(swift 4.2)
|
|
public enum SystemFieldKey {
|
|
public static let title: CKRecord.FieldKey = __CKShareTitleKey
|
|
public static let thumbnailImageData: CKRecord.FieldKey = __CKShareThumbnailImageDataKey
|
|
public static let shareType: CKRecord.FieldKey = __CKShareTypeKey
|
|
}
|
|
}
|
|
|