SFItem Class Reference

Inherits from NSObject
Declared in SFLayout.h

Overview

Represents a record layout item.

  editableForNew

@property (nonatomic, readonly, assign) BOOL editableForNew

  editableForUpdate

@property (nonatomic, readonly, assign) BOOL editableForUpdate

  label

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

  layoutComponents

@property (nonatomic, strong, readonly, nullable) NSArray<NSDictionary*> *layoutComponents

  lookupIdApiName

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

  required

@property (nonatomic, readonly, assign) BOOL required

  sortable

@property (nonatomic, readonly, assign) BOOL sortable

+ 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