One Logo Pool Ball
UIKit · IOS API REFERENCE

NSCollectionLayoutDecorationItem

class · iOS 13.0+ · SDK 27.1

@MainActor class NSCollectionLayoutDecorationItem

Members (4)

static · iOS 13.0+

background

TypeScript
static background(elementKind: string): Promise<NSCollectionLayoutDecorationItem>
Swift declaration
class func background(elementKind: String) -> Self
get · iOS 13.0+

elementKind

TypeScript
get elementKind(): Promise<string>
Swift declaration
var elementKind: String { get }
get · iOS 13.0+

zIndex

TypeScript
get zIndex(): Promise<number>
Swift declaration
var zIndex: Int { get set }
set · iOS 13.0+

zIndex

TypeScript
setZIndex(value: number): Promise<void>
Swift declaration
var zIndex: Int { get set }

Skipped declarations

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

NSCollectionLayoutDecorationItem.init()

inherited init: clang: 'init' is unavailable

All UIKit types →