- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
int CurrentPos;
NSInteger cnt = [ListOfFtpFiles count];
CurrentPos = [[[NSUserDefaults standardUserDefaults] objectForKey:@"DownLoadIndex" ] intValue];
if (CurrentPos==nil) CurrentPos=0;
if (CurrentPos == 0)
{
//...
for (int i = 0; i < (int)cnt; i=i+1)
//...
}