Xcode - Create csv/spreadsheet file

前端 未结 1 1141
忘了有多久
忘了有多久 2020-12-28 11:07

I have three arrays. The first array contains strings, same as the second, however the third one contains NSNumber\'s. Anyways, back on topic... how can I creat

1条回答
  •  长情又很酷
    2020-12-28 11:55

    
    NSArray *firstArray, *secondArray, *thirdArray;
    
    NSMutableString *csv = [NSMutableString stringWithString:@"Name,Date,Miles"];
    
    NSUInteger count = [firstArray count];
    // provided all arrays are of the same length
    for (NSUInteger i=0; i
    

    0 讨论(0)
提交回复
热议问题