changedNotification
TypeScriptstatic get changedNotification(): _Foundation_NSNotification_NameSwift declarationnonisolated class let changedNotification: NSNotification.Nameclass · iOS 3.0+ · SDK 27.1
class UIPasteboardstatic get changedNotification(): _Foundation_NSNotification_NameSwift declarationnonisolated class let changedNotification: NSNotification.Namestatic get changedTypesAddedUserInfoKey(): stringSwift declarationnonisolated class let changedTypesAddedUserInfoKey: Stringstatic get changedTypesRemovedUserInfoKey(): stringSwift declarationnonisolated class let changedTypesRemovedUserInfoKey: Stringstatic get removedNotification(): _Foundation_NSNotification_NameSwift declarationnonisolated class let removedNotification: NSNotification.Namestatic get typeAutomatic(): stringSwift declarationclass let typeAutomatic: Stringstatic get typeListColor(): _Foundation_NSArraySwift declarationclass var typeListColor: NSArraystatic set typeListColor(value: _Foundation_NSArray)Swift declarationclass var typeListColor: NSArraystatic get typeListImage(): _Foundation_NSArraySwift declarationclass var typeListImage: NSArraystatic set typeListImage(value: _Foundation_NSArray)Swift declarationclass var typeListImage: NSArraystatic get typeListString(): _Foundation_NSArraySwift declarationclass var typeListString: NSArraystatic set typeListString(value: _Foundation_NSArray)Swift declarationclass var typeListString: NSArraystatic get typeListURL(): _Foundation_NSArraySwift declarationclass var typeListURL: NSArraystatic set typeListURL(value: _Foundation_NSArray)Swift declarationclass var typeListURL: NSArraystatic init(pasteboardName: UIPasteboard_Name, create: boolean): (UIPasteboard) | nullSwift declarationinit?(name pasteboardName: UIPasteboard.Name, create: Bool)static withUniqueName(): UIPasteboardSwift declarationclass func withUniqueName() -> UIPasteboardstatic remove(pasteboardName: UIPasteboard_Name): voidSwift declarationclass func remove(withName pasteboardName: UIPasteboard.Name)static get general(): UIPasteboardSwift declarationclass var general: UIPasteboard { get }addItems(items: Array<Record<string, unknown>>): voidSwift declarationfunc addItems(_ items: [[String : Any]])containsPasteboardTypes(pasteboardTypes: Array<string>): booleanSwift declarationfunc contains(pasteboardTypes: [String]) -> BoolcontainsPasteboardTypesInItemSet(pasteboardTypes: Array<string>, itemSet?: (_Foundation_IndexSet) | null): booleanSwift declarationfunc contains(pasteboardTypes: [String], inItemSet itemSet: IndexSet?) -> BooldataForPasteboardType(pasteboardType: string): (ArrayBuffer) | nullSwift declarationfunc data(forPasteboardType pasteboardType: String) -> Data?dataForPasteboardTypeInItemSet(pasteboardType: string, itemSet?: (_Foundation_IndexSet) | null): (Array<ArrayBuffer>) | nullSwift declarationfunc data(forPasteboardType pasteboardType: String, inItemSet itemSet: IndexSet?) -> [Data]?itemSet(pasteboardTypes: Array<string>): (_Foundation_IndexSet) | nullSwift declarationfunc itemSet(withPasteboardTypes pasteboardTypes: [String]) -> IndexSet?typesForItemSet(itemSet?: (_Foundation_IndexSet) | null): (Array<Array<string>>) | nullSwift declarationfunc types(forItemSet itemSet: IndexSet?) -> [[String]]?setData(data: ArrayBuffer, pasteboardType: string): voidSwift declarationfunc setData(_ data: Data, forPasteboardType pasteboardType: String)setItemProviders(itemProviders: Array<_Foundation_NSItemProvider>, localOnly: boolean, expirationDate?: (globalThis.Date) | null): voidSwift declarationfunc setItemProviders(_ itemProviders: [NSItemProvider], localOnly: Bool, expirationDate: Date?)setItems(items: Array<Record<string, unknown>>, options?: NativeMap<UIPasteboard_OptionsKey, unknown>): voidSwift declarationfunc setItems(_ items: [[String : Any]], options: [UIPasteboard.OptionsKey : Any] = [:])setObjects(objects: Array<SDKHandle>): voidSwift declarationfunc setObjects(_ objects: [any NSItemProviderWriting])setObjectsLocalOnlyExpirationDate(objects: Array<SDKHandle>, localOnly: boolean, expirationDate?: (globalThis.Date) | null): voidSwift declarationfunc setObjects(_ objects: [any NSItemProviderWriting], localOnly: Bool, expirationDate: Date?)setPersistent(persistent: boolean): voidSwift declarationfunc setPersistent(_ persistent: Bool)setValue(value: unknown, pasteboardType: string): voidSwift declarationfunc setValue(_ value: Any, forPasteboardType pasteboardType: String)value(pasteboardType: string): (unknown) | nullSwift declarationfunc value(forPasteboardType pasteboardType: String) -> Any?values(pasteboardType: string, itemSet?: (_Foundation_IndexSet) | null): (Array<unknown>) | nullSwift declarationfunc values(forPasteboardType pasteboardType: String, inItemSet itemSet: IndexSet?) -> [Any]?get url(): (string) | nullSwift declarationvar url: URL? { get set }set url(value: (string) | null)Swift declarationvar url: URL? { get set }get urls(): (Array<string>) | nullSwift declarationvar urls: [URL]? { get set }set urls(value: (Array<string>) | null)Swift declarationvar urls: [URL]? { get set }get changeCount(): numberSwift declarationvar changeCount: Int { get }get color(): (UIColor) | nullSwift declaration@NSCopying var color: UIColor? { get set }set color(value: (UIColor) | null)Swift declaration@NSCopying var color: UIColor? { get set }get colors(): (Array<UIColor>) | nullSwift declarationvar colors: [UIColor]? { get set }set colors(value: (Array<UIColor>) | null)Swift declarationvar colors: [UIColor]? { get set }get hasColors(): booleanSwift declarationvar hasColors: Bool { get }get hasImages(): booleanSwift declarationvar hasImages: Bool { get }get hasStrings(): booleanSwift declarationvar hasStrings: Bool { get }get hasURLs(): booleanSwift declarationvar hasURLs: Bool { get }get image(): (UIImage) | nullSwift declaration@NSCopying var image: UIImage? { get set }set image(value: (UIImage) | null)Swift declaration@NSCopying var image: UIImage? { get set }get images(): (Array<UIImage>) | nullSwift declarationvar images: [UIImage]? { get set }set images(value: (Array<UIImage>) | null)Swift declarationvar images: [UIImage]? { get set }get itemProviders(): Array<_Foundation_NSItemProvider>Swift declarationvar itemProviders: [NSItemProvider] { get set }set itemProviders(value: Array<_Foundation_NSItemProvider>)Swift declarationvar itemProviders: [NSItemProvider] { get set }get items(): Array<Record<string, unknown>>Swift declarationvar items: [[String : Any]] { get set }set items(value: Array<Record<string, unknown>>)Swift declarationvar items: [[String : Any]] { get set }get name(): UIPasteboard_NameSwift declarationvar name: UIPasteboard.Name { get }get numberOfItems(): numberSwift declarationvar numberOfItems: Int { get }get types(): Array<string>Swift declarationvar types: [String] { get }get isPersistent(): booleanSwift declarationvar isPersistent: Bool { get }get string(): (string) | nullSwift declarationvar string: String? { get set }set string(value: (string) | null)Swift declarationvar string: String? { get set }get strings(): (Array<string>) | nullSwift declarationvar strings: [String]? { get set }set strings(value: (Array<string>) | null)Swift declarationvar strings: [String]? { get set }detectValuesForCompletionHandler(patterns: Array<UIPasteboard_DetectionPattern>, completionHandler: ((arg0: SDKHandle) => void)): voidSwift declarationfunc detectValues(for patterns: Set<UIPasteboard.DetectionPattern>, completionHandler: @escaping (Result<[UIPasteboard.DetectionPattern : Any], any Error>) -> ())detectValuesForCompletionHandler15120(keyPaths: Array<"patterns" | "probableWebURL" | "probableWebSearch" | "number" | "links" | "phoneNumbers" | "emailAddresses" | "postalAddresses" | "calendarEvents" | "shipmentTrackingNumbers" | "flightNumbers" | "moneyAmounts" | SDKHandle>, completionHandler: ((arg0: SDKHandle) => void)): voidSwift declarationfunc detectValues(for keyPaths: Set<PartialKeyPath<UIPasteboard.DetectedValues>>, completionHandler: @escaping (Result<UIPasteboard.DetectedValues, any Error>) -> ())detectValuesForInItemSetCompletionHandler(patterns: Array<UIPasteboard_DetectionPattern>, itemSet: (_Foundation_IndexSet) | null, completionHandler: ((arg0: SDKHandle) => void)): voidSwift declarationfunc detectValues(for patterns: Set<UIPasteboard.DetectionPattern>, inItemSet itemSet: IndexSet?, completionHandler: @escaping (Result<[[UIPasteboard.DetectionPattern : Any]], any Error>) -> ())detectValuesForInItemSetCompletionHandler13355(keyPaths: Array<"patterns" | "probableWebURL" | "probableWebSearch" | "number" | "links" | "phoneNumbers" | "emailAddresses" | "postalAddresses" | "calendarEvents" | "shipmentTrackingNumbers" | "flightNumbers" | "moneyAmounts" | SDKHandle>, itemSet: (_Foundation_IndexSet) | null, completionHandler: ((arg0: SDKHandle) => void)): voidSwift declarationfunc detectValues(for keyPaths: Set<PartialKeyPath<UIPasteboard.DetectedValues>>, inItemSet itemSet: IndexSet?, completionHandler: @escaping (Result<[UIPasteboard.DetectedValues], any Error>) -> ())detectPatternsForCompletionHandler(patterns: Array<UIPasteboard_DetectionPattern>, completionHandler: ((arg0: SDKHandle) => void)): voidSwift declarationfunc detectPatterns(for patterns: Set<UIPasteboard.DetectionPattern>, completionHandler: @escaping (Result<Set<UIPasteboard.DetectionPattern>, any Error>) -> ())detectPatternsForCompletionHandler82474(keyPaths: Array<"patterns" | "probableWebURL" | "probableWebSearch" | "number" | "links" | "phoneNumbers" | "emailAddresses" | "postalAddresses" | "calendarEvents" | "shipmentTrackingNumbers" | "flightNumbers" | "moneyAmounts" | SDKHandle>, completionHandler: ((arg0: SDKHandle) => void)): voidSwift declarationfunc detectPatterns(for keyPaths: Set<PartialKeyPath<UIPasteboard.DetectedValues>>, completionHandler: @escaping (Result<Set<PartialKeyPath<UIPasteboard.DetectedValues>>, any Error>) -> ())detectPatternsForInItemSetCompletionHandler(patterns: Array<UIPasteboard_DetectionPattern>, itemSet: (_Foundation_IndexSet) | null, completionHandler: ((arg0: SDKHandle) => void)): voidSwift declarationfunc detectPatterns(for patterns: Set<UIPasteboard.DetectionPattern>, inItemSet itemSet: IndexSet?, completionHandler: @escaping (Result<[Set<UIPasteboard.DetectionPattern>], any Error>) -> ())detectPatternsForInItemSetCompletionHandler88741(keyPaths: Array<"patterns" | "probableWebURL" | "probableWebSearch" | "number" | "links" | "phoneNumbers" | "emailAddresses" | "postalAddresses" | "calendarEvents" | "shipmentTrackingNumbers" | "flightNumbers" | "moneyAmounts" | SDKHandle>, itemSet: (_Foundation_IndexSet) | null, completionHandler: ((arg0: SDKHandle) => void)): voidSwift declarationfunc detectPatterns(for keyPaths: Set<PartialKeyPath<UIPasteboard.DetectedValues>>, inItemSet itemSet: IndexSet?, completionHandler: @escaping (Result<[Set<PartialKeyPath<UIPasteboard.DetectedValues>>], any Error>) -> ())detectedValuesForInItemSet(keyPaths: Array<"patterns" | "probableWebURL" | "probableWebSearch" | "number" | "links" | "phoneNumbers" | "emailAddresses" | "postalAddresses" | "calendarEvents" | "shipmentTrackingNumbers" | "flightNumbers" | "moneyAmounts" | SDKHandle>, itemSet?: (_Foundation_IndexSet) | null): Promise<Array<UIPasteboard_DetectedValues>>Swift declarationfunc detectedValues(for keyPaths: Set<PartialKeyPath<UIPasteboard.DetectedValues>>, inItemSet itemSet: IndexSet?) async throws -> [UIPasteboard.DetectedValues]detectedValuesFor(keyPaths: Array<"patterns" | "probableWebURL" | "probableWebSearch" | "number" | "links" | "phoneNumbers" | "emailAddresses" | "postalAddresses" | "calendarEvents" | "shipmentTrackingNumbers" | "flightNumbers" | "moneyAmounts" | SDKHandle>): Promise<UIPasteboard_DetectedValues>Swift declarationfunc detectedValues(for keyPaths: Set<PartialKeyPath<UIPasteboard.DetectedValues>>) async throws -> UIPasteboard.DetectedValuesdetectedPatternsForInItemSet(keyPaths: Array<"patterns" | "probableWebURL" | "probableWebSearch" | "number" | "links" | "phoneNumbers" | "emailAddresses" | "postalAddresses" | "calendarEvents" | "shipmentTrackingNumbers" | "flightNumbers" | "moneyAmounts" | SDKHandle>, itemSet?: (_Foundation_IndexSet) | null): Promise<Array<Array<"patterns" | "probableWebURL" | "probableWebSearch" | "number" | "links" | "phoneNumbers" | "emailAddresses" | "postalAddresses" | "calendarEvents" | "shipmentTrackingNumbers" | "flightNumbers" | "moneyAmounts" | SDKHandle>>>Swift declarationfunc detectedPatterns(for keyPaths: Set<PartialKeyPath<UIPasteboard.DetectedValues>>, inItemSet itemSet: IndexSet?) async throws -> [Set<PartialKeyPath<UIPasteboard.DetectedValues>>]detectedPatternsFor(keyPaths: Array<"patterns" | "probableWebURL" | "probableWebSearch" | "number" | "links" | "phoneNumbers" | "emailAddresses" | "postalAddresses" | "calendarEvents" | "shipmentTrackingNumbers" | "flightNumbers" | "moneyAmounts" | SDKHandle>): Promise<Array<"patterns" | "probableWebURL" | "probableWebSearch" | "number" | "links" | "phoneNumbers" | "emailAddresses" | "postalAddresses" | "calendarEvents" | "shipmentTrackingNumbers" | "flightNumbers" | "moneyAmounts" | SDKHandle>>Swift declarationfunc detectedPatterns(for keyPaths: Set<PartialKeyPath<UIPasteboard.DetectedValues>>) async throws -> Set<PartialKeyPath<UIPasteboard.DetectedValues>>3 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
UIPasteboard.setObjects(_:)
This declaration needs Swift generic type arguments. (no canonical witness for T)
UIPasteboard.setObjects(_:localOnly:expirationDate:)
This declaration needs Swift generic type arguments. (no canonical witness for T)
UIPasteboard.init()
inherited init: cannot prove legal (class declares 1 custom initializer)