0
[myArray enumerateObjectsUsingBlock:^(id obj, NSUInteger idx, BOOL *stop) {
[[myTreeNode mutableChildNodes] addObject:[NSTreeNode treeNodeWithRepresentedObject:obj]];
//myTreeNode is an NSTreeNode
}];
可以從塊內創建對象嗎?在塊內創建對象