-(void)writeToPlist:(NSArray *)uploadingfiles  Name:(NSString *)name
{
        
        NSMutableArray *sList = [[NSMutableArray alloc ]initWithCapacity:[uploadingfiles count] * 2];
        
        for(uploadfile* tmp in uploadingfiles)  
        {
            if(tmp.filename)
                [sList addObject :tmp.filename];
            else {
                [sList addObject :@""];
            }
            if(tmp.filesize)
                [sList addObject :tmp.filesize];
            else {
                [sList addObject :@""];
            }       
        }
        
        [sList writeToFile:getFullPath(name) atomically:YES];
        
}

相关文章:

  • 2021-08-03
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-18
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-01-08
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-10-22
相关资源
相似解决方案