NSMutableCopying

E820427

NSMutableCopying is an Objective-C protocol that allows objects to create mutable copies of themselves, typically used alongside the NSCopying protocol in Cocoa and Cocoa Touch frameworks.

All labels observed (1)

Label Occurrences
NSMutableCopying canonical 5

How this entity was disambiguated

Statements (46)

Predicate Object
instanceOf Cocoa API protocol
Objective-C protocol
appleAPIStatus public API
availability iOS
macOS
tvOS
watchOS
belongsToFramework Foundation.framework
callPattern [object mutableCopy] calls -mutableCopyWithZone: internally
category Object copying protocol
conformsTo NSObject protocol
linked to: NSObjectProtocol
declaredInHeader Foundation/NSObject.h
definedInLanguage Objective-C
designGoal separate mutable and immutable copy semantics
distinguishesFrom NSCopying which may return immutable copies
documentationURL https://developer.apple.com/documentation/foundation/nsmutablecopying
hasMethod -mutableCopyWithZone:
introducedBy Apple
linked to: Apple Inc.
isOptionalIn Objective-C protocol system
languageBinding Objective-C runtime
memoryManagementModel follows Objective-C reference counting conventions
methodParameter -mutableCopyWithZone: takes NSZone *zone
methodReturnType -mutableCopyWithZone: returns id
namespace Foundation
partOf Foundation object copying conventions
primaryPurpose create mutable copies of objects
relatedProtocol NSCopying
requires objects to return a mutable object
requiresForCorrectness mutable copy to be independent of original object
requiresImplementationBy classes that need mutable copies distinct from immutable copies
sourceLanguage Objective-C interface definition language
supportsPattern copying and mutability pattern in Cocoa
typicalUsage implemented by classes that support mutable copying
used when -mutableCopy is called on an object
usedByClass NSMutableArray
NSMutableAttributedString
linked to: NSAttributedString

NSMutableData
NSMutableDictionary
NSMutableIndexSet
linked to: NSIndexSet

NSMutableOrderedSet
NSMutableSet
NSMutableString
usedInFramework Cocoa
Cocoa Touch
usedInLanguageFeature id<NSMutableCopying> protocol-qualified types
usedTogetherWith NSCopying

How these facts were elicited

Referenced by (5)

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

NSData conformsTo NSMutableCopying
NSArray conformsTo NSMutableCopying
NSCopying relatedProtocol NSMutableCopying
NSMutableSet conformsTo NSMutableCopying
NSMutableData conformsTo NSMutableCopying