_NSSetType

protocol _NSSetType

A shadow for the API of NSSet we will use in the core stdlib.

NSSet operations, in addition to those on _NSSetCoreType, that we need to use from the core stdlib. Distinct from _NSSetCoreType because we don't want to be forced to implement operations that NSSet already supplies.

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

Initializers

init(objects:count:) Required

Declaration

init(objects: UnsafePointer<AnyObject?>, count: Int)

Declared In

_NSSetCoreType

Instance Variables

var count: Int Required

Declaration

var count: Int { get }

Declared In

_NSSetCoreType

Instance Methods

func copyWithZone(_:) Required

Declaration

func copyWithZone(zone: _SwiftNSZone) -> AnyObject

Declared In

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

Declaration

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

Declared In

_NSFastEnumerationType, _NSSetCoreType
func member(_:) Required

Declaration

func member(object: AnyObject) -> AnyObject?

Declared In

_NSSetCoreType
func objectEnumerator() Required

Declaration

func objectEnumerator() -> _NSEnumeratorType

Declared In

_NSSetCoreType