SwiftextensionUIUnderstanding

extension CGRect

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

extends{}

structCGRect

Members 2

  1. funciou(other: CGRect) -> Float
  2. initinit(xCoord: CoreGraphics.CGFloat, yCoord: CoreGraphics.CGFloat, width: CoreGraphics.CGFloat, height: CoreGraphics.CGFloat) -> CGRect
extension __C.CGRect {
    init(xCoord: CoreGraphics.CGFloat, yCoord: CoreGraphics.CGFloat, width: CoreGraphics.CGFloat, height: CoreGraphics.CGFloat)

    func iou(other: __C.CGRect) -> Swift.Float
}