【发布时间】:2011-10-27 15:14:02
【问题描述】:
我收到编译器错误:在这行代码中未声明“NSTableViewAnimationSlideLeft”(在此函数中首次使用):
[searchTableView removeRowsAtIndexes:[[searchTableView selectedRowIndexes] withAnimation:NSTableViewAnimationSlideLeft]];
但最奇怪的是,我在互联网上找不到任何示例。 (谷歌只有 5 个结果)。这种方法有什么问题?
谢谢
【问题讨论】:
-
不应该是UITableViewAnimation而不是NSTableViewAnimation吗?
-
@Aberrant 我在 mac developer.apple.com/library/mac/#documentation/Cocoa/Reference/…
标签: objective-c cocoa