Classes
The following classes are available globally.
-
Inherit custom subview from this class instead of UIView, mark it as @IBDesignable, set the file’s owner and do not set the View’s class, => It renders in the IB!
See moreDeclaration
Swift
open class InnerDesignableView : UIView -
Class for UITextField with some extra features, it uses inside custom textFields in the project
See moreDeclaration
-
Class for UITextView with some extra features, it uses inside custom textViews in the project
See moreDeclaration
Swift
public final class InnerTextView : UITextView -
Custom input view for text fields with UIDatePicker. Have date picker and top view with custom “return” button. You have to provide linked textField in init method, then string with date will set in textField automatically.
See moreDeclaration
Swift
public final class DatePickerView : UIView -
Custom input view for text fields with UIPickerView. Have picker view and top view with custom “return” button. You have to provide ‘data’ in init method for configure dataSource of pickerView. You have to provide linked textField in init method, then string with selected value will set in textField automatically.
See moreDeclaration
Swift
public final class PlainPickerView : UIViewextension PlainPickerView: UIPickerViewDataSourceextension PlainPickerView: UIPickerViewDelegate -
Undocumented
See moreDeclaration
Swift
public final class PickerTopView : InnerDesignableView, ToolBarInterface -
Configuration class with parameters for topView into the custom input views with pickers
See moreDeclaration
Swift
public final class PickerTopViewConfiguration -
Configuration class with parameters for topView return and navigations button
See moreDeclaration
Swift
public final class PickerTopViewButtonConfiguration -
Special formatter for input field with mask (work only with text field)
See moreDeclaration
Swift
public final class MaskTextFieldFormatter : NSObjectextension MaskTextFieldFormatter: MaskedTextFieldDelegateListener -
Class for text field validation, includes logic for validation and error text selection. Contains predefined texts for errors. You can add you own error text! In this case you must set text for error in public properties. Or you can set global message for all errors (use ‘globalErrorMessage’ in constructor)
See moreDeclaration
-
Configuration class with parameters for line in UnderlinedTextField
See moreDeclaration
Swift
public final class LineConfiguration -
Configuration class with parameters for floating placeholder
See moreDeclaration
Swift
public final class FloatingPlaceholderConfiguration -
Configuration class with parameters for static placeholders
See moreDeclaration
Swift
public class StaticPlaceholderConfiguration -
Configuration class for native placeholder. Inherited from StaticPlaceholderConfiguration, so you also can use object of this class in init method. Carefully study the description and purpose of the calss fields in the documentation, because some cases do not make sense (eg. behavior == .hideOnFocus && useAsMainPlaceholder == false)
See moreDeclaration
Swift
public final class NativePlaceholderConfiguration : StaticPlaceholderConfiguration -
Configuration class with parameters for inner text field inside custom text fields
See moreDeclaration
Swift
public final class TextFieldConfiguration -
Configuration class with parameters for hint label
See moreDeclaration
Swift
public final class HintConfiguration -
Configuration class with parameters for tuning action button inside custom text fields
See moreDeclaration
Swift
public final class PasswordModeConfiguration -
Undocumented
See moreDeclaration
Swift
public final class ActionButtonConfiguration -
Configuration class with parameters for tuning background color
See moreDeclaration
Swift
public final class BackgroundConfiguration -
Configuration class with parameters for tuning color in various text feild states
See moreDeclaration
Swift
public final class ColorConfiguration -
Undocumented
See moreDeclaration
Swift
public class BaseFieldConfiguration -
Undocumented
See moreDeclaration
Swift
public final class UnderlinedTextFieldConfiguration : BaseFieldConfiguration -
Undocumented
See moreDeclaration
Swift
public final class UnderlinedTextViewConfiguration : BaseFieldConfiguration -
Default service for hint messages presentation in textField/textView. You can find documentation for it’s methods in
See moreAbstractHintServiceprotocol documentation.Declaration
Swift
public class HintService : AbstractHintService -
Default variant of placeholder service which implements logic of
floating-placeholder.Placeholder-container in this service is a CATextLayer, which changes his color, font and position when field changed his state.
See moreAttention
- For more information - see also info about
FloatingPlaceholderConfigurationin documentation.
Declaration
Swift
public final class FloatingPlaceholderService : AbstractPlaceholderService - For more information - see also info about
-
Default variant of placeholder service which implements logic of
native-placeholder.This service allows you to imitate behavior of default native placeholder.
See moreAttention
- For more information - see also info about
NativePlaceholderConfigurationin documentation.
Declaration
Swift
public final class NativePlaceholderService : AbstractPlaceholderService - For more information - see also info about
-
Default variant of placeholder service which implements logic of
static-placeholder.Placeholder-container in this service is UILabel which have static textColor, font and position, which wouldn’t be change on field state change.
See moreDeclaration
Swift
public final class StaticPlaceholderService : AbstractPlaceholderService -
Class for custom textField. Contains UITextFiled, top floating placeholder, underline line under textField and bottom label with some info. Standart height equals 77.
See moreDeclaration
Swift
open class UnderlinedTextField : InnerDesignableView, ResetableField, RespondableFieldextension UnderlinedTextField: UITextFieldDelegateextension UnderlinedTextField: MaskedTextFieldDelegateListenerextension UnderlinedTextField: GuidedTextFieldextension UnderlinedTextField: DateTextFieldextension UnderlinedTextField: PickerTextField -
Class for custom textView. Contains UITextView, top floating placeholder, underline line under textView and bottom label with some info. Also have button for text clear, but you can hide it. Standart height equals 77.
See moreDeclaration
Swift
open class UnderlinedTextView : InnerDesignableView, ResetableField, RespondableFieldextension UnderlinedTextView: GuidedTextFieldextension UnderlinedTextView: UITextViewDelegate
Classes Reference