Skip to content

Commit fad3000

Browse files
committed
Only make NSCollectionView extensions available on macOS 10.11 and higher
The insert/move/rename methods aren’t available until that SDK version
1 parent 9db06bb commit fad3000

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Sources/Differ/Diff+AppKit.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ extension NSTableView {
9696
}
9797
}
9898

99+
@available(macOS 10.11, *)
99100
public extension NSCollectionView {
100101
/// Animates items which changed between oldData and newData.
101102
///

0 commit comments

Comments
 (0)