ArcGIS Runtime SDK for iOS
100.15
|
A separator character in a label, where a line break may be inserted in long text.
A single separator consists of:
Instance Methods | |
(instancetype) | - init |
(nullable id) | - toJSON: |
Class Methods | |
(nullable id< AGSJSONSerializable >) | + fromJSON:error: |
(instancetype) | + labelStackSeparator |
Properties | |
AGSLabelStackSeparatorBreakPosition | breakPosition |
BOOL | forced |
NSString * | separator |
NSDictionary< NSString *, id > * | unknownJSON |
NSDictionary< NSString *, id > * | unsupportedJSON |
BOOL | visible |
|
staticrequiredinherited |
Initializes and returns an object from its JSON representation.
JSONObject | NSDictionary or NSArray containing the JSON. |
error | encountered during the operation, if any. |
- (instancetype) init |
Creates a label stack separator with default values. The default separator has an empty AGSLabelStackSeparator::separator
and will be ignored.
+ (instancetype) labelStackSeparator |
Creates a label stack separator with default values. The default separator has an empty AGSLabelStackSeparator::separator
and will be ignored.
|
requiredinherited |
Returns JSON representation for this object.
error | encountered during the operation, if any. |
NSDictionary
or NSArray
containing the JSON. Reimplemented in AGSPortalItem.
|
readwritenonatomicassign |
The position where the separator will be written, if used and remaining visible. Whether the separator code point should appear at the end of one row, or the beginning of the next, if chosen as a line break position. This does not matter if the separator is not to be visible when used.
The default value is AGSLabelStackSeparatorBreakPositionAutomatic
, which will give the same behavior as AGSLabelStackSeparatorBreakPositionAfter
.
|
readwritenonatomicassign |
Whether a line break must be inserted when the AGSLabelStackSeparator::separator
is encountered. The default value is NO
.
|
readwritenonatomiccopy |
An NSString
object intended to describe one code point. Each AGSLabelStackSeparator
object specifies a code point to be looked for in the text. A code point is often thought of as a single character in the text, but may need several chars in an NSString
object to describe it.
For example:
AGSLabelStackSeparator::separator
string would be just "," AGSLabelStackSeparator::separator
property would need to encode the code point with utf16 value "\u05c0" if your SDK uses utf16 strings (e.g. Java, c#) or with the utf8 string "\x30\x35\x63\x30" if your SDK uses utf8 strings AGSLabelStackSeparator::separator
property would need to encode the code point with utf16 value "\ud800\udd01" if your SDK uses utf16 strings (e.g. Java, c#) or with the utf8 string "\xf0\x90\x84\x81" if your SDK uses utf8 strings The default value is an empty string, meaning that the AGSLabelStackSeparator
object will be ignored.
|
readrequirednonatomiccopyinherited |
A dictionary of values that was in the source JSON but was unparsed by API.
NSDictionary
containing the unknown JSON.
|
readnonatomiccopyinherited |
A dictionary of values that are supported by the REST API, but not exposed through the SDK API.
NSDictionary
containing the unsupported JSON.
|
readwritenonatomicassign |
Whether the separator should still be visible, if chosen as a line break position. For example, a user may wish to keep a hyphenation mark at the end of a row of text, but hide a comma. The default value is NO
.