Returns a mutable set that provides read-write access to the unordered to-many relationship specified by a given key path.
SDKs
- iOS 2.0+
- macOS 10.4+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
Framework
- Foundation
Declaration
func mutableSetValue(forKeyPath keyPath: String) -> NSMutable Set
Parameters
keyPath
A key path, relative to the receiver, to an unordered to-many relationship.
Return Value
A mutable set that provides read-write access to the unordered to-many relationship specified by key
.
Discussion
See mutable
for additional details.