Replace uses of forEach with for-in loops.

This commit is contained in:
Brent Simmons
2023-07-09 22:14:09 -07:00
parent 090e63b017
commit abb11afe3d
6 changed files with 43 additions and 35 deletions

View File

@@ -62,7 +62,7 @@ import Account
private static func addFolderItemsToMenuWithNodes(menu: NSMenu, nodes: [Node], indentationLevel: Int) {
nodes.forEach { (oneNode) in
for oneNode in nodes {
if let nameProvider = oneNode.representedObject as? DisplayNameProvider {