Sha256: 9bba073569f7c903a8a49a7c30cfb9b8387e3451adecd1b9ed6014f43527a92e

Contents?: true

Size: 591 Bytes

Versions: 9

Compression:

Stored size: 591 Bytes

Contents

#import "GHDataTable.h"

#import "GHTableRow.h"

@interface GHDataTable ()

@property (nonatomic, strong) GHLocation            * location;
@property (nonatomic, strong) NSArray<GHTableRow *> * rows;

@end

@implementation GHDataTable

@synthesize location;
@synthesize rows;

- (id)initWithTableRows:(NSArray<GHTableRow *> *)theRows
{
    NSAssert([theRows count], @"Rows argument cannot not be nil or empty");
    
    if (self = [super init])
    {
        rows = theRows;
        location = [[rows firstObject] location];
    }

    return self;
}

@end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
xcfit-2.0.6 XCFit/Classes/Cucumberish/Dependencies/Gherkin/GHDataTable.m
xcfit-0.9.0 XCFitDemo/XCFitDemoCucumberishTests/Cucumberish/Dependencies/Gherkin/GHDataTable.m
xcfit-0.8.0 XCFitDemo/XCFitDemoCucumberishTests/Cucumberish/Dependencies/Gherkin/GHDataTable.m
xcfit-0.7.0 XCFitDemo/XCFitDemoCucumberishTests/Cucumberish/Dependencies/Gherkin/GHDataTable.m
xcfit-0.6.0 XCFitDemo/XCFitDemoCucumberishTests/Cucumberish/Dependencies/Gherkin/GHDataTable.m
xcfit-0.5.0 XCFitDemo/XCFitDemoCucumberishTests/Cucumberish/Dependencies/Gherkin/GHDataTable.m
xcfit-0.4.0 XCFitDemo/XCFitDemoCucumberishTests/Cucumberish/Dependencies/Gherkin/GHDataTable.m
xcfit-0.3.0 XCFitDemo/XCFitDemoCucumberishTests/Cucumberish/Dependencies/Gherkin/GHDataTable.m
xcfit-0.2.0 XCFitDemo/XCFitDemoCucumberishTests/Cucumberish/Dependencies/Gherkin/GHDataTable.m