我有这个传统的 for 循环,我想将其转换为快速枚举。我怎样才能做到这一点?谢谢!
for (int i = 0; i < [_objects count]; i++)
{
schedule = [[JSSchedule alloc] initWithDictionary:_objects[i]];
}
我有这个传统的 for 循环,我想将其转换为快速枚举。我怎样才能做到这一点?谢谢!
for (int i = 0; i < [_objects count]; i++)
{
schedule = [[JSSchedule alloc] initWithDictionary:_objects[i]];
}