SDLWindowTypeCapabilities Class Reference

Section Contents

Overview

Used to inform an app how many window instances per type that can be created.

@since SDL 6.0

-initWithType:maximumNumberOfWindows:

Init with required parameters

Objective-C

- (nonnull instancetype)initWithType:(nonnull SDLWindowType)type
              maximumNumberOfWindows:(UInt32)maximumNumberOfWindows;

Swift

init(type: SDLWindowType, maximumNumberOfWindows: UInt32)

Parameters

type

Type of windows available, to create.

maximumNumberOfWindows

Number of windows available, to create.

type

Type of windows available, to create.

Required

Objective-C

@property (nonatomic, strong) SDLWindowType _Nonnull type;

Swift

var type: SDLWindowType { get set }

maximumNumberOfWindows

Number of windows available, to create.

Required

Objective-C

@property (nonatomic, strong) NSNumber<SDLInt> *_Nonnull maximumNumberOfWindows;

Swift

var maximumNumberOfWindows: NSNumber & SDLInt { get set }