Files
swift-mirror/stdlib/public/Darwin/CloudKit/NestedNames.swift
Saleem Abdulrasool 41d9c2cc59 stdlib: restructure for OS family layout of SDK overlay
The SDK directory is now confusing as the Windows target also has a SDK
overlay.  In order to make this more uniform, move the SDK directory to
Darwin which covers the fact that this covers the XNU family of OSes.
The Windows directory contains the SDK overlay for the Windows target.
2018-12-06 11:32:05 -08:00

47 lines
1.3 KiB
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 // Clang module
// Work arounds for 39295365, 39261783
@nonobjc
@available(macOS 10.10, iOS 8.0, watchOS 3.0, *)
extension CKContainer {
@available(swift 4.2)
public enum Application {
public typealias Permissions = CKContainer_Application_Permissions
public typealias PermissionStatus = CKContainer_Application_PermissionStatus
public typealias PermissionBlock = CKContainer_Application_PermissionBlock
}
}
@nonobjc
@available(macOS 10.10, iOS 8.0, watchOS 3.0, *)
extension CKOperation {
@available(swift 4.2)
public typealias ID = String
}
#if os(watchOS)
@available(watchOS 3.0, *)
public enum CKSubscription {}
#endif // os(watchOS)
@available(macOS 10.10, iOS 8.0, watchOS 3.0, *)
extension CKSubscription {
@available(swift 4.2)
public typealias ID = String
}