Skip to content

Debug tool to visualize safe areas and make them resizable at runtime.

Notifications You must be signed in to change notification settings

adam-zethraeus/PreviewSafeArea

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PreviewSafeArea

PreviewSafeArea visualizes safe areas and makes them resizable at runtime. Place your view in it and drag the circular handles in the corners to test your layout.

animated preview

Usage:

Import the library:

.package(url: "https://github.com/adam-zethraeus/previewsafearea", version: "1.0.0")

Place your view in the helper:

  PreviewSafeArea {
    MyView()
  }

Screenshots

iOS macOS watchOS
iOS Screenshot macOS Screenshot watchOs Screenshot

About

Debug tool to visualize safe areas and make them resizable at runtime.

Resources

Stars

Watchers

Forks

Languages