Protocols
The following protocols are mainy used internally, no need to conform to them outside of Funky.
The following protocols are available globally.
-
This is a protocol for generic collections to provide information about their mutable and immutable counterparts.
See moreDeclaration
Objective-C
@protocol FunkyCollectionCounterpart <NSObject>Swift
protocol FunkyCollectionCounterpart : NSObjectProtocol
-
Declaration
Objective-C
@protocol FunkyCollection <NSFastEnumeration, FunkyCollectionCounterpart>Swift
protocol FunkyCollection : NSFastEnumeration, FunkyCollectionCounterpart -
Declaration
Objective-C
@protocol FunkyMutableCollection <FunkyCollection, FunkyMutableCollectionWithCapacity>Swift
protocol FunkyMutableCollection : FunkyCollection, FunkyMutableCollectionWithCapacity
-
This is a protocol for generic mutable collections to be initialised with capacity
See moreDeclaration
Objective-C
@protocol FunkyMutableCollectionWithCapacity <NSObject>Swift
protocol FunkyMutableCollectionWithCapacity : NSObjectProtocol
-
This is a protocol for comparing objects
See moreDeclaration
Objective-C
@protocol FunkySortComparable <NSObject>Swift
protocol FunkySortComparable : NSObjectProtocol
View on GitHub
Install in Dash
Protocols Reference