-(NSString*)imageFromindex:(NSInteger)index{ NSArray *imageList = @[@"AA041",@"AA077",@"AA172",@"AA192",@"AA195",@"AB005",@"AB009",@"AB010",@"AB018",@"AB025",@"AB026",@"AB034",@"AB041",@"AB057",@"AB073",@"AB100",@"BA006",@"CA033",@"CA058",@"CA060",@"CA062",@"CA105",@"CA168",@"CA222",@"CA223"]; NSString*imageName = [imageList objectAtIndex:arc4random()%[imageList count]]; return [NSString stringWithFormat:@"%@.png",imageName]; }
前面使用 http://hilite.me/
下面是 pastebin
沒有留言:
張貼留言