Remove unused function.

This commit is contained in:
Brent Simmons 2024-05-18 11:29:50 -07:00
parent 0cf78a3bad
commit ff1caf4a8f

View File

@ -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 {