enumerateObjectsUsingBlock 在swift中已不再能使用 我们能通过更好的方式来实现 enumerated() 1 2 for (idx, num) in [1,2,3,4,5].enumerated() { } Previous swift Log Next Lock FEATURED TAGS swift5 swift swift5.3 xcode AppCenter cocoapods FRIENDS OLIVER HU CMD Matthew Cheok OneSwift EF Tours Blog Swift org Swift Doc Swifter Gsl's Library Chuck Lab Hangge Thoughtbot