CsvDefaultValues Class Reference
| Inherits from | NSObject |
| Declared in | CsvDefaultValues.h CsvDefaultValues.mm |
Properties
columns
Columns that have default values.
@property (nonatomic, readonly) NSOrderedSet *columnsDeclared In
CsvDefaultValues.hdefaults
Default values. The order matches wiht the order of columns .
@property (nonatomic, readonly) NSArray *defaultsDeclared In
CsvDefaultValues.hInstance Methods
addDefaultValue:forColumn:
Assigns a default value to a given column.
- (void)addDefaultValue:(NSString *)defaultValue_ forColumn:(NSString *)column_Parameters
- defaultValue_
A placeholder value to fill empty content with.
- column_
Name of the column that might contain empty content.
Discussion
Warning : no validation is made for performance reasons.
Declared In
CsvDefaultValues.hclear
Returns the structure to the initial empty state.
- (void)clearDeclared In
CsvDefaultValues.hcount
Number of columns that have default values.
- (NSUInteger)countDeclared In
CsvDefaultValues.h