Sha256: eda28ad2864d652dc9ce1be21605e8d2baa8f923801b19d91c7f3fa278f54c14
Contents?: true
Size: 675 Bytes
Versions: 9
Compression:
Stored size: 675 Bytes
Contents
#import "GHLocation.h" @interface GHLocation () @property (nonatomic, assign) NSUInteger line; @property (nonatomic, assign) NSUInteger column; @end @implementation GHLocation @synthesize line; @synthesize column; - (id)init { return [self initWithLine: 0 column: 0]; } - (id)initWithLine:(NSUInteger)theLine { return [self initWithLine: theLine column: 0]; } - (id)initWithColumn:(NSUInteger)theColumn { return [self initWithLine: 0 column: theColumn]; } - (id)initWithLine:(NSUInteger)theLine column:(NSUInteger)theColumn { if (self = [super init]) { line = theLine; column = theColumn; } return self; } @end
Version data entries
9 entries across 9 versions & 1 rubygems