NSCopying

E820269

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

Jump to: Statements Referenced by

Statements (36)

Predicate Object
instanceOf Objective-C protocol
programming interface
availableOnPlatform iOS NERFINISHED
macOS NERFINISHED
tvOS
watchOS NERFINISHED
category object copying
conformsTo NSObject protocol
copySemanticsDefinedBy class implementation
copyType immutable copy
declaredInHeader Foundation/NSObjCRuntime.h
definedInFramework Foundation framework NERFINISHED
definedInLanguage Objective-C NERFINISHED
documentationURL https://developer.apple.com/documentation/foundation/nscopying
errorIfNotImplemented unrecognized selector -copyWithZone:
introducedBy Apple Inc. NERFINISHED
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 NERFINISHED
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

Referenced by (6)

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

HKQuantitySample conformsTo NSCopying
HKWorkout conformsTo NSCopying
NSDate conformsTo NSCopying
NSException conformsTo NSCopying
NSSet conformsToProtocol NSCopying
NSString conformsToProtocol NSCopying