Classes
- DSButton
-
An Anatomy-styled push button element. Includes properties for adding and positioning Anatomy icons as well as all normal UIButton functionality.
- DSIconButton
-
An Anatomy-styled, icon-only push button element that displays a standard Anatomy icon (DSIconRenderingType) as well as all normal UIButton functionality. No title text is allowed.
- DSTokenCatalog
-
A Token database for getting all styles, dimensions, colors, etc. from the Anatomy tokening system. The theme for an app can be changed by assigning catalogs to various properties.
- DSDivider
-
An Anatomy-styled content horizontal divider for use outside of UITableView contexts.
- DSIcon
-
An Anatomy-styled drop-in replacement for a UIImageView that displays a standard Anatomy icon (DSIconRenderingType).
- DSIllustration
-
An Anatomy-styled drop-in replacement for a UIImageView that displays a standard Anatomy illustration (DSIllustrationRenderingType).
- DSCreditCardInputMask
-
An input mask, when assigned to a DSTextField, will enforce use of a number pad for text entry and format credit card numbers if it recognizes the brand of the card being entered. (e.g., Visa, Mastercard, etc.)
- DSCurrencyInputMask
-
An input mask, when assigned to a DSTextField, will enforce use of a decimal pad for text entry and only allows digits and a decimal point (no more than one) to be entered.
- DSEmailAddressInputMask
-
An input mask, when assigned to a DSTextField, will enforce use of an email keyboard for text entry and prevents invalid typing of email addresses where possible.
- DSNumberInputMask
-
An input mask, when assigned to a DSTextField, will enforce use of an number pad for numeric entry where only digits are allowed.
- DSPhoneNumberInputMask
-
An input mask, when assigned to a DSTextField, will enforce use of an number pad for text entry and allows only digits to be entered and formatted. Only 10-digit phone numbers are allowed.
- DSTextField
-
An Anatomy-styled text entry element. Provides placeholder text, helper text that informs the user on what text to enter, an input mask for controlling how text is entered into the input field and an error display when provided validations fail.
Structures
- DSAetnaColorCatalog
-
A catalog of colors for this particular brand.
- DSCVSColorCatalog
-
A catalog of colors for this particular brand.
- DSCreditCard
-
A credit card that identifies properties of various brand types, performs validation, and can perform formatting of their numbers.
- DSAdHocValidationRule
-
A validation rule that allows for an error message to be expressly set. When the message is non-empty, the validation fails. Useful for showing backend errors.
- DSCreditCardValidationRule
-
A validation rule for requiring that a credit card number matches a legal format as much as possible.
- DSCurrencyValidationRule
-
A validation rule for requiring a valid currency is entered.
- DSEmailAddressValidationRule
-
A validation rule for email addresses. Returns an error when a proper email address has not been formed. Does not verify that an email address exists, only that it's legal.
- DSMaxTextLengthValidationRule
-
A validation rule for capping the length of the text to a maximum amount.
- DSMinMaxValidationRule
-
A validation rule for requiring that text is a number and is between a min and max value. (Inclusive.)
- DSNumberValidationRule
-
A validation rule for requiring that only digits are entered.
- DSPhoneNumberValidationRule
-
A validation rule for requiring text to be a phone number of format XXX-XXX-XXXX.
- DSRequiredTextValidationRule
-
A validation rule for requiring that text exists and is not an empty string.
Enumerations
- DSButtonImageLocationType
-
Type that defines the rendering font that a DSButton control should use.
- DSButtonRenderingType
-
Type that defines the rendering font that a DSButton control should use.
- DSCreditCardType
-
The various brands of credit card.
- DSFontRenderingType
-
Type that defines the rendering font that a generic Anatomy control should use.
- DSIconRenderingSize
-
Type that defines the rendering size of a DSIcon.
- DSIconRenderingType
-
Type that defines the rendering image that defined the appearance of DSIcon.
- DSIllustrationRenderingSize
-
Type that defines the rendering size of an DSIllustration.
- DSIllustrationRenderingType
-
Type that defines the rendering image that defined the appearance of DSIllustration.
- DSTextField.EventType
-
Type of Combine events from DSTextField.
- DSTextFieldValidationState
-
Type that defines a validation status. If the validation is invalid, one offending DSValidationRule is included as part of the value.
Protocols
- DSColorCatalog
-
A catalog of colors to be provided by all implementing brands.
- DSInputMask
-
A masking object that controls what can be legally typed into a DSTextField and handles type formatting while that typing takes place. They do not validate but often "partner" up with validation rules.
- DSTextFieldDelegate
-
A delegate that is notified of various events that occur from DSTextField. Extends UITextViewDelegate so all of those methods can be defined as well.
- DSValidationRule
-
A validation framework for defining how text entered into a DSTextField can be validated and an appropriate error message provided if that validation fails. Multiple DSValidationRule objects can stack to perform multiple validations including the special DSRequiredTextValidationRule which is the only built-in rule validates empty fields.