One Logo Pool Ball
UIKit · IOS API REFERENCE

NSCollectionLayoutGroupCustomItem

class · iOS 13.0+ · SDK 27.1

@MainActor class NSCollectionLayoutGroupCustomItem

Members (4)

init · iOS 13.0+

init

TypeScript
static initFrame(frame: { x: number; y: number; width: number; height: number }): Promise<NSCollectionLayoutGroupCustomItem>
Swift declaration
convenience init(frame: CGRect)
init · iOS 13.0+

init

TypeScript
static initFrameZIndex(frame: { x: number; y: number; width: number; height: number }, zIndex: number): Promise<NSCollectionLayoutGroupCustomItem>
Swift declaration
convenience init(frame: CGRect, zIndex: Int)
get · iOS 13.0+

frame

TypeScript
get frame(): Promise<{ x: number; y: number; width: number; height: number }>
Swift declaration
var frame: CGRect { get }
get · iOS 13.0+

zIndex

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

Skipped declarations

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

NSCollectionLayoutGroupCustomItem.init()

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

All UIKit types →