我有这样一个数组:
array: (
(
"http://aaa/product/8_1371121323.png",
"http://aaa/product/14_1371123271.png"
),
(
"http://aaa/product/9_1371121377.png"
)
)
Run Code Online (Sandbox Code Playgroud)
我必须像这样从那个创建另一个数组
array: (
"http://aaa/product/8_1371121323.png",
"http://aaa/product/14_1371123271.png",
"http://aaa/product/9_1371121377.png"
)
Run Code Online (Sandbox Code Playgroud)
我怎样才能做到这一点?是否可以组合所有对象并使用一些字符串将它们分开?

如何隐藏显示/隐藏按钮(在此处编辑为展开).即使我将其设置为空字符串,数据单元格的边框也会缩小,如图所示.以前我用过这个方法- (BOOL)outlineView:(NSOutlineView *)outlineView shouldShowOutlineCellForItem:(id)item,它隐藏了显示/隐藏字符串并完美地工作.但问题是outlineview只允许展开而不是折叠.我想通过单击相应的父节点一次只展开一个父节点.