initWithSize method

Class: RectangleSizePlatform: XCUILanguage: Objective-C SDK:

Construct a RectangleSize object.

Syntax

Call syntax

RectangleSize* obj = [[RectangleSize alloc] initWithSize  : size   ];

Declaration

(instancetype)initWithSize:(CGSize)size

Parameters

size
Type:CGSize
The dimensions of the rectangle.

Return value

Type: RectangleSize*