Protocols

The following protocols are available globally.

  • Minimum information required to display cell in table view

    See more

    Declaration

    Swift

    public protocol TableViewCellInformation
  • Minimum information required to display cell in table view

    See more

    Declaration

    Swift

    public protocol TableViewConfigurableCellInformation
  • Allows to get class name string

    See more

    Declaration

    Swift

    public protocol ClassName
  • Usually views might conform to this protocol so it’s possible to pass view model without typecasting.

    See more

    Declaration

    Swift

    public protocol Configurable
  • Helps to print all object fields and values

    See more

    Declaration

    Swift

    public protocol Describable : CustomStringConvertible

InstantiatableFromXib

InstantiatableFromStoryboard

InstantiatableContentView

  • Helps to instantiate content view from storyboard file.

    See more

    Declaration

    Swift

    public protocol InstantiatableContentView
  • Simplifies Managers start and reset routine. All managers could be then started/reseted on apropriate point in app, e.g. on user login/logout.

    To get all Managers in some place (e.g. ApplicationManager) you could use following construction:

     private var managers: [Manager.Type] = {
         return g_getClassesConformToProtocol(Manager.self)
     }()
    
    See more

    Declaration

    Swift

    public protocol Manager : AnyObject, ClassName

Declarations

InitializeableOccupiable