FunkyNSSetSubclass
@interface FunkyNSSetSubclass : NSSet
This is a subclass of the NSSet class-cluster, overriding the minimum set of getters and setters in order to further subclassing it, customizing the behaviour. This particular class is equivalent of an NSSet, as the implementation uses NSSet for the backing store.
See
Mutable counterpartFunkyNSMutableSetSubclass
-
Converts the current subclass into a basic NSSet
Declaration
Objective-C
- (NSSet *)NSSet;
Swift
func nsSet() -> Set
Return Value
An immutable NSSet copy of the current collection, keeping the same content