mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2026-12-06 04:07:54 +00:00
Remove unused function.
This commit is contained in:
1 parent
0cf78a3bad
commit
ff1caf4a8f
1 file changed
+1
-9
@@ -1,5 +1,5 @@
|
||||
//
|
||||
// Array+RSCore.swift
|
||||
// Array+Extensions.swift
|
||||
// RSCore
|
||||
//
|
||||
// Created by Brent Simmons on 2/17/18.
|
||||
@@ -18,14 +18,6 @@ public extension Array {
|
||||
}
|
||||
}
|
||||
|
||||
public extension Array where Element: Equatable {
|
||||
|
||||
mutating func removeFirst(object: Element) {
|
||||
guard let index = firstIndex(of: object) else {return}
|
||||
remove(at: index)
|
||||
}
|
||||
}
|
||||
|
||||
public extension Array where Element == CGRect {
|
||||
|
||||
func maxY() -> CGFloat {
|
||||
|
||||
Reference in new issue
Block a user