Skip to content

Commit 3e3530d

Browse files
committed
Remove contains() and contains(where:) as they are not part of NSData.
1 parent 093578e commit 3e3530d

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

Foundation/NSData.swift

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -935,17 +935,6 @@ open class NSData : NSObject, NSCopying, NSMutableCopying, NSSecureCoding {
935935
}
936936
return result
937937
}
938-
939-
// MARK: Other methods
940-
/// Returns a Boolean value indicating whether the sequence contains the given element.
941-
func contains(_ element: UInt8) -> Bool {
942-
NSUnimplemented()
943-
}
944-
945-
/// Returns a Boolean value indicating whether the sequence contains an element that satisfies the given predicate.
946-
func contains(where predicate: (UInt8) throws -> Bool) rethrows -> Bool {
947-
NSUnimplemented()
948-
}
949938
}
950939

951940
// MARK: -

0 commit comments

Comments
 (0)