Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私はこの簡単な行にこだわっていますが、Swift 2 から Swift 3 に変換できませんでした。
for(index = indexes.lastIndex; index != NSNotFound; index = indexes.indexLessThanIndex(index)) { }
whileこれはループに置き換えることができます
while
var index = indexes.lastIndex while index != NSNotFound { // do something with index index = indexes.indexLessThanIndex(index) }