I think you want  [TFLineString lineStringWithXYs:@[@[@(10), @(10)], @[@(0), @(0)]]];
Tho begs the question, should it be format a or format b or two methods, one that does each!