LCSurfaceRegistration

@interface LCSurfaceRegistration : NSObject

An LCSurface must register itself with LiquidCore to become available to micro services.

  • Registers an LCSurface class with LiquidCore.

    Declaration

    Objective-C

    + (void)registerSurface:(Class<LCSurface>)surfaceClass;

    Swift

    class func register(_ surfaceClass: LCSurface.Type!)

    Parameters

    surfaceClass

    Must be an instantiable UIView subclass that implements the LCSurface protocol.