FMIceLinkSize Class Reference

Inherits from NSObject
Declared in FMIceLinkSize.h
FMIceLinkSize.m

Overview

A size ([width](#//api/name/width) and [height](#//api/name/height)).

+ fromJsonWithSizeJson:

Deserializes an instance from JSON.
+ (FMIceLinkSize *)fromJsonWithSizeJson:(NSString *)sizeJson

Parameters

sizeJson

The JSON to deserialize.

Return Value

The deserialized size.

Discussion

Deserializes an instance from JSON.

Declared In

FMIceLinkSize.h

– height

Gets the height.
- (int)height

Discussion

Gets the height.

Declared In

FMIceLinkSize.h

– initWithWidth:height:

Initializes a new instance of the FMIceLinkSize class.
- (instancetype)initWithWidth:(int)width height:(int)height

Parameters

width

The width.

height

The height.

Discussion

Initializes a new instance of the FMIceLinkSize class.

Declared In

FMIceLinkSize.h

+ sizeWithWidth:height:

Initializes a new instance of the FMIceLinkSize class.
+ (FMIceLinkSize *)sizeWithWidth:(int)width height:(int)height

Parameters

width

The width.

height

The height.

Discussion

Initializes a new instance of the FMIceLinkSize class.

Declared In

FMIceLinkSize.h

– toJson

Serializes this instance to JSON.

@return The serialized JSON.

- (NSString *)toJson

Discussion

Serializes this instance to JSON.

@return The serialized JSON.

Declared In

FMIceLinkSize.h

+ toJsonWithSize:

Serializes an instance to JSON.
+ (NSString *)toJsonWithSize:(FMIceLinkSize *)size

Parameters

size

The size. @return The serialized JSON.

Discussion

Serializes an instance to JSON.

Declared In

FMIceLinkSize.h

– width

Gets the width.
- (int)width

Discussion

Gets the width.

Declared In

FMIceLinkSize.h