MBParserGroupProcessor


@interface MBParserGroupProcessor : MBProcessor <NSCopying>

A processor for a group

  • Undocumented

    Declaration

    Objective-C

    MB_INIT_UNAVAILABLE
  • Undocumented

    Declaration

    Objective-C

    - (instancetype)initWithParsers:(NSArray<MBParser *> *)parsers NS_DESIGNATED_INITIALIZER;

    Swift

    init(parsers: [MBParser])
  • Getting array of readonly parsers

    Declaration

    Objective-C

    @property (readonly, strong, nonatomic) NSArray<MBParser *> *_Nonnull parsers;

    Swift

    var parsers: [MBParser] { get }
  • MBParserGroupProcessor processor result

    Declaration

    Objective-C

    @property (readonly, strong, nonatomic)
        MBParserGroupProcessorResult *_Nonnull result;

    Swift

    var result: MBParserGroupProcessorResult { get }
  • Set if one optional element should be valid

    DEFAULT: NO

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic)
        BOOL oneOptionalElementInGroupShouldBeValid;

    Swift

    var oneOptionalElementInGroupShouldBeValid: Bool { get set }