_NSArrayCoreType

protocol _NSArrayCoreType

A shadow for the "core operations" of NSArray.

Covers a set of operations everyone needs to implement in order to be a useful NSArray subclass.

Inheritance _NSCopyingType, _NSFastEnumerationType, _ShadowProtocol View Protocol Hierarchy →
Import import Swift

Instance Variables

var count: Int Required

Declaration

var count: Int { get }

Instance Methods

func copyWithZone(_:) Required

Declaration

func copyWithZone(zone: _SwiftNSZone) -> AnyObject

Declared In

_NSCopyingType
func countByEnumeratingWithState(_:objects:count:) Required

Declaration

func countByEnumeratingWithState(state: UnsafeMutablePointer<_SwiftNSFastEnumerationState>, objects: UnsafeMutablePointer<AnyObject>, count: Int) -> Int

Declared In

_NSArrayCoreType, _NSFastEnumerationType
func getObjects(_:range:) Required

Declaration

func getObjects(_: UnsafeMutablePointer<AnyObject>, range: _SwiftNSRange)
func objectAtIndex(_:) Required

Declaration

func objectAtIndex(index: Int) -> AnyObject