One Logo Pool Ball
Foundation · IOS API REFERENCE

NSIndexPath

class · SDK 27.1

class NSIndexPath

Members (9)

method

compare

TypeScript
compare(otherObject: IndexPath): ComparisonResult
Swift declaration
func compare(_ otherObject: IndexPath) -> ComparisonResult
method · iOS 2.0+ · Deprecated in iOS 100000.0

getIndexes

TypeScript
getIndexes(indexes: SDKHandle): void
Swift declaration
func getIndexes(_ indexes: UnsafeMutablePointer<Int>)
method · iOS 7.0+

getIndexes

TypeScript
getIndexesRange(indexes: SDKHandle, positionRange: SDKHandle): void
Swift declaration
func getIndexes(_ indexes: UnsafeMutablePointer<Int>, range positionRange: NSRange)
method

index

TypeScript
index(position: number): number
Swift declaration
func index(atPosition position: Int) -> Int
method

adding

TypeScript
adding(index: number): IndexPath
Swift declaration
func adding(_ index: Int) -> IndexPath
method

removingLastIndex

TypeScript
removingLastIndex(): IndexPath
Swift declaration
func removingLastIndex() -> IndexPath
init

init

TypeScript
static initIndex(index: number): NSIndexPath
Swift declaration
convenience init(index: Int)
init

init

TypeScript
static initIndexesLength(indexes: (SDKHandle) | null, length: number): NSIndexPath
Swift declaration
init(indexes: UnsafePointer<Int>?, length: Int)
get

length

TypeScript
get length(): number
Swift declaration
var length: Int { get }

Skipped declarations

1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

NSIndexPath.init()

inherited init: cannot prove legal (class declares 2 custom initializers)

All Foundation types →