SFLayout Class Reference

Inherits from NSObject
Declared in SFLayout.h

Overview

Represents the layout of a Salesforce object.

  id

@property (nonatomic, strong, readonly, nullable) NSString *id

  layoutType

@property (nonatomic, strong, readonly, nonnull) NSString *layoutType

  mode

@property (nonatomic, strong, readonly, nullable) NSString *mode

  sections

@property (nonatomic, strong, readonly, nullable) NSArray<SFLayoutSection*> *sections

  rawData

@property (nonatomic, strong, readonly, nullable) NSDictionary *rawData

+ fromJSON:

Creates an instance of this class from its JSON representation.

+ (nonnull instancetype)fromJSON:(nonnull NSDictionary *)data

Parameters

data

JSON data.

Return Value

Instance of this class.

Declared In

SFLayout.h