Instance Method

validateContent()

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

Declaration

func validateContent()

Discussion

By default, validateContent calls isContentValid(), performs internal content validation, and updates the state of the Post button, if necessary. You should call this method if you change any data that your implementation of isContentValid uses to test for content validity.

See Also

Validating Content

var charactersRemaining: NSNumber!

The number of characters remaining in a custom character limit.

func isContentValid() -> Bool

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

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