HUBBlockContentOperationFactory

@interface HUBBlockContentOperationFactory
    : NSObject <HUBContentOperationFactory>

A concrete content opereation factory implementation that uses a block

You can use this content operation factory in case you want to implement a simple factory that doesn’t need any injected dependencies or complex logic. For more advanced use cases, see the HUBContentOperationFactory protocol, that you can implement in a custom object.

  • Initialize an instance of this class with a block that creates content operations

    Declaration

    Objective-C

    - (nonnull instancetype)initWithBlock:
        (nonnull HUBContentOperationFactoryBlock)block;

    Parameters

    block

    The block used to create content operations. The input parameter of the block will be the view URI that content operations should be created for. This block will be copied and called every time this factory is asked to create content operations.

  • Undocumented

    Declaration

    Objective-C

    @interface HUBBlockContentOperationFactory
        : NSObject <HUBContentOperationFactory>
  • Undocumented

    Declaration

    Objective-C

    @interface HUBBlockContentOperationFactory
        : NSObject <HUBContentOperationFactory>
  • Undocumented

    Declaration

    Objective-C

    @interface HUBBlockContentOperationFactory
        : NSObject <HUBContentOperationFactory>