UIKit · IOS API REFERENCE
UICollectionViewCell
class · iOS 6.0+ · SDK 27.1
@MainActor class UICollectionViewCell
Members (25)
method · iOS 14.0+updateConfiguration
TypeScriptupdateConfiguration(state: UICellConfigurationState): Promise<void>
Swift declaration@MainActor @objc(_bridgedUpdateConfigurationUsingState:) @preconcurrency dynamic func updateConfiguration(using state: UICellConfigurationState)
get · iOS 14.0+configurationState
TypeScriptget configurationState(): Promise<UICellConfigurationState>
Swift declaration@MainActor @objc(_bridgedConfigurationState) @preconcurrency dynamic var configurationState: UICellConfigurationState { get }
method · iOS 11.0+dragStateDidChange
TypeScriptdragStateDidChange(dragState: UICollectionViewCell_DragState): Promise<void>
Swift declarationfunc dragStateDidChange(_ dragState: UICollectionViewCell.DragState)
initinit
TypeScriptstatic init(): Promise<UICollectionViewCell>
Swift declarationinit()
method · iOS 14.0+setNeedsUpdateConfiguration
TypeScriptsetNeedsUpdateConfiguration(): Promise<void>
Swift declarationfunc setNeedsUpdateConfiguration()
get · iOS 14.0+automaticallyUpdatesBackgroundConfiguration
TypeScriptget automaticallyUpdatesBackgroundConfiguration(): Promise<boolean>
Swift declarationvar automaticallyUpdatesBackgroundConfiguration: Bool { get set }
set · iOS 14.0+automaticallyUpdatesBackgroundConfiguration
TypeScriptsetAutomaticallyUpdatesBackgroundConfiguration(value: boolean): Promise<void>
Swift declarationvar automaticallyUpdatesBackgroundConfiguration: Bool { get set }
get · iOS 14.0+automaticallyUpdatesContentConfiguration
TypeScriptget automaticallyUpdatesContentConfiguration(): Promise<boolean>
Swift declarationvar automaticallyUpdatesContentConfiguration: Bool { get set }
set · iOS 14.0+automaticallyUpdatesContentConfiguration
TypeScriptsetAutomaticallyUpdatesContentConfiguration(value: boolean): Promise<void>
Swift declarationvar automaticallyUpdatesContentConfiguration: Bool { get set }
get · iOS 6.0+backgroundView
TypeScriptget backgroundView(): Promise<(UIView) | null>
Swift declarationvar backgroundView: UIView? { get set }
set · iOS 6.0+backgroundView
TypeScriptsetBackgroundView(value?: (UIView) | null): Promise<void>
Swift declarationvar backgroundView: UIView? { get set }
get · iOS 6.0+contentView
TypeScriptget contentView(): Promise<UIView>
Swift declarationvar contentView: UIView { get }
get · iOS 6.0+isHighlighted
TypeScriptget isHighlighted(): Promise<boolean>
Swift declarationvar isHighlighted: Bool { get set }
set · iOS 6.0+isHighlighted
TypeScriptsetIsHighlighted(value: boolean): Promise<void>
Swift declarationvar isHighlighted: Bool { get set }
get · iOS 6.0+isSelected
TypeScriptget isSelected(): Promise<boolean>
Swift declarationvar isSelected: Bool { get set }
set · iOS 6.0+isSelected
TypeScriptsetIsSelected(value: boolean): Promise<void>
Swift declarationvar isSelected: Bool { get set }
get · iOS 6.0+selectedBackgroundView
TypeScriptget selectedBackgroundView(): Promise<(UIView) | null>
Swift declarationvar selectedBackgroundView: UIView? { get set }
set · iOS 6.0+selectedBackgroundView
TypeScriptsetSelectedBackgroundView(value?: (UIView) | null): Promise<void>
Swift declarationvar selectedBackgroundView: UIView? { get set }
get · iOS 14.0+contentConfiguration
TypeScriptget contentConfiguration(): Promise<(SDKHandle) | null>
Swift declaration@MainActor @preconcurrency var contentConfiguration: (any UIContentConfiguration)? { get set }
set · iOS 14.0+contentConfiguration
TypeScriptsetContentConfiguration(value?: (SDKHandle) | null): Promise<void>
Swift declaration@MainActor @preconcurrency var contentConfiguration: (any UIContentConfiguration)? { get set }
get · iOS 14.0+backgroundConfiguration
TypeScriptget backgroundConfiguration(): Promise<(UIBackgroundConfiguration) | null>
Swift declaration@MainActor @preconcurrency var backgroundConfiguration: UIBackgroundConfiguration? { get set }
set · iOS 14.0+backgroundConfiguration
TypeScriptsetBackgroundConfiguration(value?: (UIBackgroundConfiguration) | null): Promise<void>
Swift declaration@MainActor @preconcurrency var backgroundConfiguration: UIBackgroundConfiguration? { get set }
get · iOS 15.0+configurationUpdateHandler
TypeScriptget configurationUpdateHandler(): Promise<(((arg0: UICollectionViewCell, arg1: UICellConfigurationState) => Promise<void>)) | null>
Swift declaration@MainActor @preconcurrency var configurationUpdateHandler: UICollectionViewCell.ConfigurationUpdateHandler? { get set }
set · iOS 15.0+configurationUpdateHandler
TypeScriptsetConfigurationUpdateHandler(value?: (((arg0: UICollectionViewCell, arg1: UICellConfigurationState) => void)) | null): Promise<void>
Swift declaration@MainActor @preconcurrency var configurationUpdateHandler: UICollectionViewCell.ConfigurationUpdateHandler? { get set }
method · iOS 16.0+defaultBackgroundConfiguration
TypeScriptdefaultBackgroundConfiguration(): Promise<UIBackgroundConfiguration>
Swift declaration@MainActor @preconcurrency func defaultBackgroundConfiguration() -> UIBackgroundConfiguration
Skipped declarations
No declarations were skipped in this snapshot.
All UIKit types →