mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2025-01-10 17:02:54 +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
|
// RSCore
|
||||||
//
|
//
|
||||||
// Created by Brent Simmons on 2/17/18.
|
// 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 {
|
public extension Array where Element == CGRect {
|
||||||
|
|
||||||
func maxY() -> CGFloat {
|
func maxY() -> CGFloat {
|
||||||
|
Loading…
Reference in New Issue
Block a user