Instance Property


The number of characters remaining in a custom character limit.


var charactersRemaining: NSNumber! { get set }


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

func isContentValid() -> Bool

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

func validateContent()

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

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software