Classes
- DSButton
-
An Enterprise-styled push button element. It includes properties for adding and positioning Enterprise icons as well as all normal UIButton functionality.
- DSIconButton
-
An Anatomy-styled, icon-only push button element that displays a standard icon (DSIconRenderingType) as well as all normal UIButton functionality. No title text is allowed.
- DSCheckbox
-
An Enterprise-styled push button element in the style of a checkbox. It includes properties for providing a label.
- DSCheckboxTableViewCell
-
A UITableViewCell that implements a DSCheckbox for easy usage.
- DSSelectionControl
-
An abstract base component for selection controls. It should not be used externally.
- DSTokenCatalog
-
An internal Token database, from the Enterprise tokening system, for getting all typography, colors, etc. The theme for an app can be changed by assigning a new theme.
- DSDatePicker
-
An Enterprise-styled date & time picker. This should be used when a user needs to select a date, time, or both a date and time.
- DSDivider
-
An Enterprise-styled content horizontal divider for use outside of UITableView contexts.
- DSIcon
-
An Enterprise-styled drop-in replacement for a UIImageView that displays a standard Enterprise icon (DSIconRenderingType).
- DSIllustration
-
An Enterprise-styled drop-in replacement for a UIImageView that displays a standard Enterprise illustration (DSIllustrationRenderingType).
- DSRadio
-
An Enterprise-styled push button element in the style of a radio button. It includes properties for providing a label.
- DSRadioTableViewCell
-
A UITableViewCell that implements a DSRadio for easy usage.
- DSSelectOption
-
Represents a valid option to be selected in a DSSelectTableViewCell.
- DSSelectTableViewCell
-
An Enterprise-styled option selection cell. This should be used when a user needs to select a value from a set of options. Only for use as a cell in UITableView.
- DSSelect
-
An Enterprise-styled option selection. This should be used when a user needs to select a value from a set of options.
- DSSwitchTableViewCell
-
A UITableViewCell that implements a UISwitch and label.
- 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.
- DSMaxTextLengthInputMask
-
An input mask, when assigned to a DSTextField, will enforce use of a maximum number of characters allowed.
- DSNumberInputMask
-
An input mask, when assigned to a DSTextField, will enforce use of a number pad for numeric entry where only digits are allowed.
- DSPhoneNumberInputMask
-
An input mask, when assigned to a DSTextField, will enforce use of a number pad for text entry and allows only digits to be entered and formatted. Only 10-digit phone numbers are allowed.
- DSTextField
-
An Enterprise-styled text entry element. It includes properties for providing a placeholder label, helper text that sits below it that educates the user on what text to enter, and DSInputMask and DSValidationRule rules which will determine user input format and display errors when validations failed.
Structures
- DSAdHocValidationRule
-
A validation rule that allows for an error message to be expressly set. When the message is non-empty, the validation fails. This validation rule is 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. This is the only validation rule that enforces it and you should add it to your other validations to check for empty states. Other validations will only fire if data exists.
- DSDatePickerControlOptions
-
Captures a set of options for DSDatePicker that are wanted on the internal UIDatePicker instance. Each property, if provided, will be set internally.
- DSCreditCard
-
A credit card that identifies properties of various brand types, performs validation, and can perform formatting of their numbers.
- DSUIButton
-
An Enterprise-styled push button element for use in SwiftUI. Enterprise icons as well as all normal SwiftUI Button functionality.
- DSUICheckbox
-
An Enterprise-styled push button element in the style of a checkbox for use in SwiftUI views.
- DSUIDatePicker
-
An Enterprise-styled date & time picker. This should be used when a user needs to select a date, time, or both a date and time.
- DSUIDivider
-
An Enterprise-styled content horizontal divider for use in SwiftUI views.
- DSUIIcon
-
An Enterprise-styled drop-in replacement for a SwiftUI Image that displays a standard Enterprise icon (DSIconRenderingType).
- DSUIRadio
-
An Enterprise-styled push button element in the style of a radio button for use in SwiftUI views.
- DSUIRadioGroup
-
A component for creating a group of DSUIRadio components.
- DSUISelectCell
-
An Enterprise-styled option selection element for use in SwiftUI views.
- DSUISwitchCell
-
An Enterprise-styled option selection element for use in SwiftUI views.
- DSUITextField
-
An Enterprise-styled text entry element for use in SwiftUI views. It provides a placeholder label, helper text that sits below it that educates the user on what text to enter, and DSInputMask and DSValidationRule rules which will determine user input format and display errors when validations failed.
- DSUIFontRenderingTypeStyle
-
An Enterprise-based view modifier for a SwiftUI Text.
Enumerations
- DSButtonImageLocationType
-
A type that defines the rendering font that a DSButton control should use.
- DSButtonRenderingType
-
A type that defines the rendering font that a DSButton control should use.
- DSDatePickerDateType
- DSTextFieldRenderingType
-
A type that defines the rendering font that a DSTextField control should use.
- DSTokenCatalogTheme
-
A theme style for the internal DSTokenCatalog.
- DSValueValidationState
-
A type that defines a validation status. If the validation is invalid, one offending DSValidationRule is included as part of the value.
- DSCreditCardType
-
The various brands of credit card.
- DSFontRenderingType
-
A type that defines the rendering font that a generic Enterprise control should use.
- DSIconRenderingSize
-
A type that defines the rendering size of a DSIcon.
- DSIconRenderingType
-
A type that defines the rendering image that defined the appearance of DSIcon.
- DSIllustrationRenderingSize
-
A type that defines the rendering size of an DSIllustration.
- DSIllustrationRenderingType
-
A type that defines the rendering image that defined the appearance of DSIllustration.
Protocols
- DSCheckboxDelegate
-
A delegate that is notified of various events that occur from DSCheckbox.
- 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.
- DSDatePickerDelegate
-
A delegate that is notified of various events that occur from DSDatePicker.
- DSRadioDelegate
-
A delegate that is notified of various events that occur from DSRadio.
- DSSelectControl
-
A protocol extension for select controls.
- DSSelectTableViewCellDelegate
-
A delegate that is notified of various events that occur from DSSelectTableViewCell.
- DSSelectDelegate
-
A delegate that is notified of various events that occur from DSSelect.
- DSSwitchTableViewCellDelegate
-
A delegate that is notified of various events that occur from DSSwitchTableViewCell.
- 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 and UITextFieldDelegate so all of those methods can be defined as well.
Typealiases
- DSUISelectionGroupItem
-
A type used with DSUIRadioGroup component.
Extensions
- Color
- Font
- UIColor
- UIFont
- UIImage
- View