FunkyNSArraySubclass

@interface FunkyNSArraySubclass : NSArray

This is a subclass of the NSArray 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 NSArray, as the implementation uses NSArray for the backing store.

See

Mutable counterpart FunkyNSMutableArraySubclass
  • Converts the current subclass into a basic NSArray

    Declaration

    Objective-C

    - (NSArray *)NSArray;

    Swift

    func nsArray() -> [Any]!

    Return Value

    An immutable NSArray copy of the current collection, keeping the same content