Protocols

The following protocols are available globally.

  • Base DI protocol.

    Sample Usage:
    
    ```
    extension SampleImagesDataSourceDelegate: DependencyInjectable {
         // MARK: - 🔌Dependencies injection
         func inject(imagesDataSource: ImagesDataSource) {
         }
    }
    ``` 
    

    *

    See more

    Declaration

    Swift

    protocol DependencyInjectable
  • Provides structured description of Sample Images data

    See more

    Declaration

    Swift

    protocol ImageInfoLoadable
  • Enhancements to base ErrorType, to provide base compatibility with NSError

    See more

    Declaration

    Swift

    protocol CustomErrorConvertible: ErrorType, CustomStringConvertible