SCObjectAttributes

@interface SCObjectAttributes : SCPropertyAttributes {
  SCDataDefinition *objectDefinition;
}

This class is used to extend the definition of an ‘SCPropertyAttributes’ instance of type SCPropertyTypeObject, thus allowing further customization of the generated control by the user.

Creation and Initialization

  • Allocates and returns an initialized ‘SCObjectAttributes’. *

    • - parameter: definition The definition for the generated object control. Set to nil to ignore.

    Declaration

    Objective-C

    + (instancetype)attributesWithObjectDefinition:(SCDataDefinition *)definition;
  • Allocates and returns an initialized ‘SCObjectAttributes’. *

    • - parameter: definition The definition for the generated object control. Set to nil to ignore.
    • - parameter: expandContent When TRUE, the generated user interface element will expand its content in the current view, instead of generating its own detail view.

    Declaration

    Objective-C

    + (instancetype)attributesWithObjectDefinition:(SCDataDefinition *)definition
                        expandContentInCurrentView:(BOOL)expandContent;
  • Returns an initialized ‘SCObjectAttributes’. *

    • - parameter: definition The definition for the generated object control. Set to nil to ignore.

    Declaration

    Objective-C

    - (instancetype)initWithObjectDefinition:(SCDataDefinition *)definition;
  • Returns an initialized ‘SCObjectAttributes’. *

    • - parameter: definition The definition for the generated object control. Set to nil to ignore.
    • - parameter: expandContent When TRUE, the generated user interface element will expand its content in the current view, instead of generating its own detail view.

    Declaration

    Objective-C

    - (instancetype)initWithObjectDefinition:(SCDataDefinition *)definition
                  expandContentInCurrentView:(BOOL)expandContent;

Configuration

  • The definition for the generated object control. Set to nil to ignore.

    Declaration

    Objective-C

    @property (nonatomic, strong) SCDataDefinition *objectDefinition;
  • /////////////////////////////////////////////////////////////////////////////////////// Internal framework properties ///////////////////////////////////////////////////////////////////////////////////////

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *objectDefinitionibUniqueId;