mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2024-12-22 23:58:36 +01:00
Remove unused function.
This commit is contained in:
parent
0cf78a3bad
commit
ff1caf4a8f
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user