Protocols
The following protocols are available globally.
-
Delegate of
See moreEmbeddableViewController
to communicate with theAlertViewController
where it’s embedded into.Declaration
Swift
public protocol AlertEmbeddableViewControllerDelegate
-
A
See moreNibViewController
that can be embedded into anAlertViewController
Declaration
Swift
public protocol AlertEmbeddableViewController : NibViewController
-
This represents a class that manages analytics logs.
Objects conforming this protocol must call
observeAnalyticsLogs
. By default, theobserveAnalyticsLogs
sets up the conforming object to observe notifications with names ofNotification.Name.logEvent
andNotification.Name.logScreen
. The selector for theNotification.Name.logEvent
notification is thelogEvent(from:)
method, while the selector for theNotification.Name.logScreen
islogScreen(from:)
method.This protocol is best to be conformed by the
See moreAppDelegate
of an app. And then implementing thelogEvent(from:)
andlogScreen(from:)
methods with calls to the designated analytics service.Declaration
Swift
public protocol AnalyticsManager : AnyObject
-
Represents a type that is presentable through a
See moreCarouselItemCell
.Declaration
Swift
public protocol CarouselItemCellPresentable
-
Respresents a type for providing data and handling actions for a
See moreCollectionViewController
.Declaration
Swift
public protocol CollectionController: UICollectionViewDataSource, UICollectionViewDelegate, UISearchBarDelegate, ContentController
-
Represents a type that is presentable through a
See moreListItemCell
.Declaration
Swift
public protocol ListItemCellPresentable
-
Represents a type that is presentable through a
See moreDetailViewController
.Declaration
Swift
public protocol DetailPresentable
-
Represents a type for providing data and handling actions for a
See moreDetailViewController
.Declaration
Swift
public protocol DetailController : ContentController
-
Represents a type that loads an image for an image view with a url.
See moreDeclaration
Swift
public protocol ImageLoader
-
Represents a type that receives selection and cancel events from a
See moreImagePickerPresenter
.Declaration
Swift
public protocol ImagePickerPresenterDelegate : AnyObject
-
Represents a type that is presentable through a
See moreMenuItemCell
.Declaration
Swift
public protocol MenuItemCellPresentable
-
Represents a type which can navigate to a view controller.
See moreDeclaration
Swift
public protocol Navigator : AnyObject
-
Represents a type which provides data and handling for actions for a
See moreSegmentedViewController
.Declaration
Swift
public protocol SegmentedController
-
Undocumented
See moreDeclaration
Swift
public protocol SelectionButtonDelegate
-
Represents a type that can show or hide a loading component with a message.
See moreDeclaration
Swift
public protocol Loadable
-
Represents a type that can be reloaded using a closure with a message.
See moreDeclaration
Swift
public protocol Reloadable
-
Represents a
UIViewController
type conforming to theReloadable
protocol.Declaration
Swift
public protocol ReloadableViewController : UIViewController, Reloadable
-
Represents a class that loads and refreshes content.
See moreDeclaration
Swift
public protocol ContentController : AnyObject
-
Undocumented
See moreDeclaration
Swift
public protocol FloatingTextFieldWithIconDelegate
-
Undocumented
See moreDeclaration
Swift
public protocol GrowingTextViewDelegate
-
Create a new ColorTheme by creating a struct that conforms to this protocol. By default variant of the primary and text color is automatically computed based on the primary color. If a color of a view does not goes well, just override the paint function that correspond to its view (Use the apperance method for thet view or just leave the overriden method blank)
See moreDeclaration
Swift
public protocol ColorTheme
-
Undocumented
See moreDeclaration
Swift
public protocol ColorThemePainter
-
Represents a type of the design of a text.
See moreDeclaration
Swift
public protocol TextAppearance
-
Represents a type that use for holding TextAppearance protocol.
See moreDeclaration
Swift
public protocol TextTheme