DebugFrame - A modifier for SwiftUI view, which is very easy to use and add to any view you want

DebugFrame

DebugFrame is a modifier for SwiftUI view, which is very easy to use and add to any view you want. This modifier adds the overlay with stroke border and CGFrame parameters on your view. The modifier is so useful during making UI on your project using SwiftUI of course.

Integration (Cocoapods)

pod 'DebugFrame'

Usage

VStack {
  title
  Spacer()
  rectangles
    .debugFrame()
  Spacer()
}
.debugFrame()

GitHub

View Github