Rename Extensions to UIKit Extensions

This commit is contained in:
Maurice Parker
2019-09-11 16:58:55 -05:00
parent be84fc5a6b
commit 4e83b37c0b
12 changed files with 3 additions and 3 deletions

View File

@@ -0,0 +1,20 @@
//
// Array-Extensions.swift
// NetNewsWire-iOS
//
// Created by Maurice Parker on 4/28/19.
// Copyright © 2019 Ranchero Software. All rights reserved.
//
import UIKit
extension Array where Element == CGRect {
func maxY() -> CGFloat {
var y: CGFloat = 0.0
self.forEach { y = Swift.max(y, $0.maxY) }
return y
}
}