One Logo Pool Ball
TabularData · IOS API REFERENCE

AnyColumnSlice

struct · iOS 15.0+ · SDK 27.1

struct AnyColumnSlice

A type-erased column slice.

Members (16)

get · iOS 15.0+

startIndex

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

The index of the initial element in the column slice.

get · iOS 15.0+

description

TypeScript
get description(): string
Swift declaration
var description: String { get }

A text representation of the column slice.

get · iOS 15.0+

customMirror

TypeScript
get customMirror(): SDKHandle
Swift declaration
var customMirror: Mirror { get }

A mirror that reflects the column slice.

get · iOS 15.0+

missingCount

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

The number of missing elements in the column slice.

get · iOS 15.0+

debugDescription

TypeScript
get debugDescription(): string
Swift declaration
var debugDescription: String { get }

A text representation of the column slice suitable for debugging.

get · iOS 15.0+

name

TypeScript
get name(): string
Swift declaration
var name: String { get set }

The name of the slice's parent column.

set · iOS 15.0+

name

TypeScript
set name(value: string)
Swift declaration
var name: String { get set }

The name of the slice's parent column.

get · iOS 15.0+

count

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

The number of elements in the column slice.

method · iOS 15.0+

index

TypeScript
indexAfter(i: number): number
Swift declaration
func index(after i: Int) -> Int

Returns the index immediately after an element index. - Parameter i: A valid index to an element in the column slice.

method · iOS 15.0+

index

TypeScript
indexBefore(i: number): number
Swift declaration
func index(before i: Int) -> Int

Returns the index immediately before an element index. - Parameter i: A valid index to an element in the column slice.

method · iOS 15.0+

isNil

TypeScript
isNil(index: number): boolean
Swift declaration
func isNil(at index: Int) -> Bool

Returns a Boolean that indicates whether the element at the index is missing. - Parameter index: An index.

method · iOS 15.0+

summary

TypeScript
summary(): AnyCategoricalSummary
Swift declaration
func summary() -> AnyCategoricalSummary

Generates a categorical summary of the column slice's elements. The method tries to cast the the untyped column slice to a typed column slice before summarizing. Generating a summary for a typed column is faster and more efficient than for an untyped column.

method · iOS 15.0+

distinct

TypeScript
distinct(): AnyColumnSlice
Swift declaration
func distinct() -> AnyColumnSlice

Generates a column slice that contains unique elements. The method only adds the first of multiple elements with the same value --- the element with the smallest index --- to the slice. - Returns: A type-erased column slice.

get · iOS 15.0+

endIndex

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

The index of the final element in the column slice.

subscript · iOS 15.0+

subscript

TypeScript
subscript(range: SDKHandle): AnyColumnSlice
Swift declaration
subscript(range: Range<Int>) -> AnyColumnSlice { get set }

Accesses a contiguous range of elements. - Parameter range: A range of valid indices in the column slice.

subscript · iOS 15.0+

subscript

TypeScript
subscript88042(position: number): (unknown) | null
Swift declaration
subscript(position: Int) -> Any? { get set }

Accesses an element at an index. - Parameter position: A valid index to an element in the column slice.

Skipped declarations

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

AnyColumnSlice.wrappedElementType

Passing a Swift type itself is not supported.

AnyColumnSlice.assumingType(_:)

Passing a Swift type itself is not supported.

All TabularData types →