Open Instance Methodswift 6.0.3Foundation
enumerate(options:using:)
func enumerate(options opts: NSEnumerationOptions = [], using block: (Int, UnsafeMutablePointer<ObjCBool>) -> Void)
func enumerate(options opts: NSEnumerationOptions = [], using block: (Int, UnsafeMutablePointer<ObjCBool>) -> Void)
s10Foundation10NSIndexSetC9enumerate7options5usingyAA20NSEnumerationOptionsV_ySi_SpyAA8ObjCBoolVGtXEtF
What are these?LQAI
import Foundation
class NSIndexSet
struct NSEnumerationOptions
@frozen struct Int
A signed integer value type.
@frozen struct UnsafeMutablePointer<Pointee> where Pointee : ~Copyable
A pointer for accessing and manipulating data of a specific type.
@frozen struct ObjCBool
The Objective-C BOOL type.
typealias Void = ()
The return type of functions that don’t explicitly specify a return type, that is, an empty tuple ()
.
override init()
required init?(coder aDecoder: NSCoder)
convenience init(index value: Int)
init(indexSet: IndexSet)
init(indexesIn range: NSRange)
static var supportsSecureCoding: Bool { get }
var count: Int { get }
var firstIndex: Int { get }
override var hash: Int { get }
var lastIndex: Int { get }
func contains(_ indexSet: IndexSet) -> Bool
func contains(_ value: Int) -> Bool
func contains(in range: NSRange) -> Bool
override func copy() -> Any
func copy(with zone: NSZone? = nil) -> Any
func countOfIndexes(in range: NSRange) -> Int
func encode(with aCoder: NSCoder)
func enumerate(_ block: (Int, UnsafeMutablePointer<ObjCBool>) -> Void)
func enumerate(in range: NSRange, options opts: NSEnumerationOptions = [], using block: (Int, UnsafeMutablePointer<ObjCBool>) -> Void)
func enumerateRanges(_ block: (NSRange, UnsafeMutablePointer<ObjCBool>) -> Void)
func enumerateRanges(in range: NSRange, options opts: NSEnumerationOptions = [], using block: (NSRange, UnsafeMutablePointer<ObjCBool>) -> Void)
func enumerateRanges(options opts: NSEnumerationOptions = [], using block: (NSRange, UnsafeMutablePointer<ObjCBool>) -> Void)
func getIndexes(_ indexBuffer: UnsafeMutablePointer<Int>, maxCount bufferSize: Int, inIndexRange range: NSRangePointer?) -> Int
func index(in range: NSRange, options opts: NSEnumerationOptions = [], passingTest predicate: (Int, UnsafeMutablePointer<ObjCBool>) -> Bool) -> Int
func index(options opts: NSEnumerationOptions = [], passingTest predicate: (Int, UnsafeMutablePointer<ObjCBool>) -> Bool) -> Int
func index(passingTest predicate: (Int, UnsafeMutablePointer<ObjCBool>) -> Bool) -> Int
func indexGreaterThanIndex(_ value: Int) -> Int
func indexGreaterThanOrEqual(to value: Int) -> Int
func indexLessThanIndex(_ value: Int) -> Int
func indexLessThanOrEqual(to value: Int) -> Int
func indexes(in range: NSRange, options opts: NSEnumerationOptions = [], passingTest predicate: (Int, UnsafeMutablePointer<ObjCBool>) -> Bool) -> IndexSet
func indexes(options opts: NSEnumerationOptions = [], passingTest predicate: (Int, UnsafeMutablePointer<ObjCBool>) -> Bool) -> IndexSet
func indexes(passingTest predicate: (Int, UnsafeMutablePointer<ObjCBool>) -> Bool) -> IndexSet
func intersects(in range: NSRange) -> Bool
override func isEqual(_ object: Any?) -> Bool
func isEqual(to indexSet: IndexSet) -> Bool
func makeIterator() -> NSIndexSetIterator
override func mutableCopy() -> Any
func mutableCopy(with zone: NSZone? = nil) -> Any