NSCopying

E820269

NSCopying is an Objective-C protocol that defines the interface for creating immutable copies of objects.

All labels observed (1)

Label Occurrences
NSCopying canonical 34

How this entity was disambiguated

Statements (36)

Predicate Object
instanceOf Objective-C protocol
programming interface
availableOnPlatform iOS
macOS
tvOS
watchOS
category object copying
conformsTo NSObject protocol
copySemanticsDefinedBy class implementation
copyType immutable copy
declaredInHeader Foundation/NSObjCRuntime.h
definedInFramework Foundation framework
definedInLanguage Objective-C
documentationURL https://developer.apple.com/documentation/foundation/nscopying
errorIfNotImplemented unrecognized selector -copyWithZone:
introducedBy Apple Inc.
invokedByFunction [object copy]
invokedByMethod -copy
languageBinding Swift NSCopying protocol
memoryManagementModel reference-counted objects
methodParameter NSZone *zone
methodRequirement -copyWithZone:
methodReturnType id
oftenImplementedWith -mutableCopyWithZone: (from NSMutableCopying)
purpose define interface for creating immutable copies of objects
relatedConcept deep copy
shallow copy
relatedProtocol NSMutableCopying
requires objects to return an autoreleased copy
requiresImplementationIn custom Objective-C classes that support copying
usedBy Cocoa Touch classes
Cocoa classes
Foundation classes
usedFor copying Objective-C objects
usedInPattern immutable model objects
value object pattern

How these facts were elicited

Referenced by (34)

Full triples — surface form annotated when it differs from this entity's canonical label.

NSString conformsToProtocol NSCopying
NSSet conformsToProtocol NSCopying
NSDate conformsTo NSCopying
NSException conformsTo NSCopying
HKQuantitySample conformsTo NSCopying
HKWorkout conformsTo NSCopying
CMMagnetometerData conformsTo NSCopying
CBCharacteristic conformsTo NSCopying
SKTileMapNode conformsTo NSCopying
SCNParticleSystem conformsTo NSCopying
NSArray conformsTo NSCopying
NSOperationQueue conformsTo NSCopying
NSMutableSet conformsTo NSCopying
NSCalendar conformsTo NSCopying
NSDateComponents conformsTo NSCopying
NSTimeZone conformsTo NSCopying
NSMutableData conformsTo NSCopying
MPSMatrix conformsTo NSCopying
MPSCNNKernel conformsTo NSCopying
CIImage conformsTo NSCopying
CIVector conformsTo NSCopying
CIColor conformsTo NSCopying
HKSample conformsTo NSCopying
HKQuantity conformsTo NSCopying
HMHomeManager adoptsProtocol NSCopying
HMEventTrigger conformsTo NSCopying
NSMenu conformsTo NSCopying
NSText conformsTo NSCopying
NSImage conformsTo NSCopying
NSColor conformsTo NSCopying