Instance Property

charactersRemaining

The number of characters remaining in a custom character limit.

Declaration

iOS, Mac Catalyst
@property(strong, nonatomic) NSNumber *charactersRemaining;
macOS
@property(strong, atomic) NSNumber *charactersRemaining;

Discussion

Set this property to a non-nil value when you want to make the character count view appear in the compose view (changing the value redraws the character count view). The default value of this property is nil.

See Also

Validating Content

- isContentValid

A Boolean value that indicates whether the current content and attachments are valid.

- validateContent

Performs validation of the current content and updates the state of the Post button, if appropriate.