FunkyMutableCollection
@protocol
FunkyMutableCollection <FunkyCollection, FunkyMutableCollectionWithCapacity>
This is a protocol for generic collections.
See
Immutable counterpartFunkyCollection
-
This method returns inserts an object into the collection
Declaration
Objective-C
- (void)addObject:(id)object;Swift
func add(_ object: Any!)Parameters
objectThe object to insert
-
This method removes all the contents of the collection, providing an empty mutable collection
Declaration
Objective-C
- (void)removeAllObjects;Swift
func removeAllObjects()
View on GitHub
Install in Dash
FunkyMutableCollection Protocol Reference