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 more

    Declaration

    Objective-C

    @protocol FunkyCollectionCounterpart <NSObject>

    Swift

    protocol FunkyCollectionCounterpart : NSObjectProtocol
  • This is a protocol for generic mutable collections to be initialised with capacity

    See more

    Declaration

    Objective-C

    @protocol FunkyMutableCollectionWithCapacity <NSObject>

    Swift

    protocol FunkyMutableCollectionWithCapacity : NSObjectProtocol
  • This is a protocol for comparing objects

    See more

    Declaration

    Objective-C

    @protocol FunkySortComparable <NSObject>

    Swift

    protocol FunkySortComparable : NSObjectProtocol