SCArrayOfObjectsAttributes
@interface SCArrayOfObjectsAttributes : SCPropertyAttributes {
SCDataDefinition *defaultObjectsDefinition;
SCDataFetchOptions *objectsFetchOptions;
BOOL allowAddingItems;
BOOL allowDeletingItems;
BOOL allowMovingItems;
BOOL allowEditingItems;
NSObject *placeholderuiElement;
NSObject *addNewObjectuiElement;
BOOL addNewObjectuiElementExistsInNormalMode;
BOOL addNewObjectuiElementExistsInEdtingMode;
SCSectionActions *_sectionActions;
}
This class is used to extend the definition of an ‘SCPropertyAttributes’ instance of type SCPropertyTypeArrayOfObjects, thus allowing further customization of the generated control by the user.
-
Undocumented
Declaration
Objective-C
SCDataDefinition *defaultObjectsDefinition
-
Undocumented
Declaration
Objective-C
SCDataFetchOptions *objectsFetchOptions
-
Undocumented
Declaration
Objective-C
BOOL allowAddingItems
-
Undocumented
Declaration
Objective-C
BOOL allowDeletingItems
-
Undocumented
Declaration
Objective-C
BOOL allowMovingItems
-
Undocumented
Declaration
Objective-C
BOOL allowEditingItems
-
Undocumented
Declaration
Objective-C
NSObject *placeholderuiElement
-
Undocumented
Declaration
Objective-C
NSObject *addNewObjectuiElement
-
Undocumented
Declaration
Objective-C
BOOL addNewObjectuiElementExistsInNormalMode
-
Undocumented
Declaration
Objective-C
BOOL addNewObjectuiElementExistsInEdtingMode
-
Undocumented
Declaration
Objective-C
SCSectionActions *_sectionActions
-
Allocates and returns an initialized ‘SCArrayOfObjectsAttributes’. *
- - parameter: definition The definition for the generated object control. Set to nil to ignore.
- - parameter: allowAdding Determines if the generated control allows adding new objects.
- - parameter: allowDeleting Determines if the generated control allows deleting objects.
- - parameter: allowMoving Determines if the generated control allows moving objects.
Declaration
Objective-C
+ (instancetype)attributesWithObjectDefinition:(SCDataDefinition *)definition allowAddingItems:(BOOL)allowAdding allowDeletingItems:(BOOL)allowDeleting allowMovingItems:(BOOL)allowMoving;
-
+attributesWithObjectDefinition:
allowAddingItems: allowDeletingItems: allowMovingItems: expandContentInCurrentView: placeholderuiElement: addNewObjectuiElement: addNewObjectuiElementExistsInNormalMode: addNewObjectuiElementExistsInEditingMode: Allocates and returns an initialized ‘SCArrayOfObjectsAttributes’. *
- - parameter: definition The class definition for the generated object control. Set to nil to ignore.
- - parameter: allowAdding Determines if the generated control allows adding new objects.
- - parameter: allowDeleting Determines if the generated control allows deleting objects.
- - parameter: allowMoving Determines if the generated control allows moving objects.
- - parameter: expandContent When TRUE, the generated user interface element will expand its content in the current view, instead of generating its own detail view.
- - parameter: placeholderUI The uiElement that is displayed when no items are available. This object is typically of type SCTableViewCell.
- - parameter: newObjectUI The uiElement that is used to add new objects when tapped. This object is typically of type SCTableViewCell.
- - parameter: existsInNormalMode Determines if uiElement is displayed in ‘Normal Mode’.
- - parameter: existsInEditingMode Determines if uiElement is displayed in ‘Editing Mode’.
Declaration
Objective-C
+ (instancetype)attributesWithObjectDefinition:(SCDataDefinition *)definition allowAddingItems:(BOOL)allowAdding allowDeletingItems:(BOOL)allowDeleting allowMovingItems:(BOOL)allowMoving expandContentInCurrentView:(BOOL)expandContent placeholderuiElement:(NSObject *)placeholderUI addNewObjectuiElement:(NSObject *)newObjectUI addNewObjectuiElementExistsInNormalMode:(BOOL)existsInNormalMode addNewObjectuiElementExistsInEditingMode:(BOOL)existsInEditingMode;
-
Returns an initialized ‘SCArrayOfObjectsAttributes’. *
- - parameter: definition The definition for the generated object control. Set to nil to ignore.
- - parameter: allowAdding Determines if the generated control allows adding new objects.
- - parameter: allowDeleting Determines if the generated control allows deleting objects.
- - parameter: allowMoving Determines if the generated control allows moving objects.
Declaration
Objective-C
- (instancetype)initWithObjectDefinition:(SCDataDefinition *)definition allowAddingItems:(BOOL)allowAdding allowDeletingItems:(BOOL)allowDeleting allowMovingItems:(BOOL)allowMoving;
-
-initWithObjectDefinition:
allowAddingItems: allowDeletingItems: allowMovingItems: expandContentInCurrentView: placeholderuiElement: addNewObjectuiElement: addNewObjectuiElementExistsInNormalMode: addNewObjectuiElementExistsInEditingMode: Returns an initialized ‘SCArrayOfObjectsAttributes’. *
- - parameter: definition The definition for the generated object control. Set to nil to ignore.
- - parameter: allowAdding Determines if the generated control allows adding new objects.
- - parameter: allowDeleting Determines if the generated control allows deleting objects.
- - parameter: allowMoving Determines if the generated control allows moving objects.
- - parameter: expandContent When TRUE, the generated user interface element will expand its content in the current view, instead of generating its own detail view.
- - parameter: placeholderUI The uiElement that is displayed when no items are available to display. This object is typically of type SCTableViewCell.
- - parameter: newObjectUI The uiElement that is used to add new objects when tapped. This object is typically of type SCTableViewCell.
- - parameter: existsInNormalMode Determines if uiElement is displayed in ‘Normal Mode’.
- - parameter: existsInEditingMode Determines if uiElement is displayed in ‘Editing Mode’.
Declaration
Objective-C
- (instancetype)initWithObjectDefinition:(SCDataDefinition *)definition allowAddingItems:(BOOL)allowAdding allowDeletingItems:(BOOL)allowDeleting allowMovingItems:(BOOL)allowMoving expandContentInCurrentView:(BOOL)expandContent placeholderuiElement:(NSObject *)placeholderUI addNewObjectuiElement:(NSObject *)newObjectUI addNewObjectuiElementExistsInNormalMode:(BOOL)existsInNormalMode addNewObjectuiElementExistsInEditingMode:(BOOL)existsInEditingMode;
-
The default data definition for the objects.
Declaration
Objective-C
@property (nonatomic, strong) SCDataDefinition *defaultObjectsDefinition;
-
The fetch options for the objects.
Declaration
Objective-C
@property (nonatomic, strong) SCDataFetchOptions *objectsFetchOptions;
-
Determines if the generated control allows adding new objects. Default: TRUE.
Declaration
Objective-C
@property (nonatomic) BOOL allowAddingItems;
-
Determines if the generated control allows deleting objects. Default: TRUE.
Declaration
Objective-C
@property (nonatomic) BOOL allowDeletingItems;
-
Determines if the generated control allows moving objects. Default: TRUE.
Declaration
Objective-C
@property (nonatomic) BOOL allowMovingItems;
-
Determines if the generated control allows editing objects. Default: TRUE.
Declaration
Objective-C
@property (nonatomic) BOOL allowEditingItems;
-
The uiElement that is displayed when no items are available to display. This object is typically of type SCTableViewCell. Set to nil to ignore. Default:nil.
Declaration
Objective-C
@property (nonatomic, strong) NSObject *addNewObjectuiElement;
-
The user interface element that is used to add new objects when selected. This object is typically of type SCTableViewCell. Set to nil to ignore. Default:nil.
Declaration
Objective-C
@property (nonatomic, strong) NSObject *placeholderuiElement;
-
Determines if uiElement is displayed in ‘Normal Mode’. Default: TRUE.
Declaration
Objective-C
@property (nonatomic) BOOL addNewObjectuiElementExistsInNormalMode;
-
Determines if uiElement is displayed in ‘Editing Mode’. Default: TRUE.
Declaration
Objective-C
@property (nonatomic) BOOL addNewObjectuiElementExistsInEditingMode;
-
The actions of the generated SCArrayOfObjectsSection.
Declaration
Objective-C
@property (nonatomic, readonly) SCSectionActions *sectionActions;
-
/////////////////////////////////////////////////////////////////////////////////////// Internal framework properties ///////////////////////////////////////////////////////////////////////////////////////
Declaration
Objective-C
@property (nonatomic, strong) NSString *defaultObjectsDefinitionibUniqueId;
-
Undocumented
Declaration
Objective-C
@property (nonatomic, strong) NSString *ibPredicateString
-
Undocumented
Declaration
Objective-C
@property (nonatomic, strong) NSString *ibPlaceholderText
-
Undocumented
Declaration
Objective-C
@property (nonatomic) NSTextAlignment ibPlaceholderTextAlignment
-
Undocumented
Declaration
Objective-C
@property (nonatomic, strong) NSString *ibAddNewObjectText