Skip to content

🚀 SnapKit playground is a helper project where you can write and quickly test your UIKit/SnapKit code changes using live preview mode. The goal of this project is to speed up the process of creating, modifying and testing UI changes.

Notifications You must be signed in to change notification settings

josiprezic/snapkit-playground-ios

Repository files navigation

SnapKit playground 🚀

SnapKit playground is a helper project where you can write and quickly test your UIKit/SnapKit code changes using live preview mode. The goal of this project is to speed up the process of creating, modifying and testing UI changes.

Contents

Usage

Clone the project and open ContentContainerPreview.swift file. There you'll find ContentView class where you can create, modify and test your UI changes.

Troubleshooting

⚠️ Cannot see live preview

If you're not able to see live preview after opening the ContentContainerPreview.swift file, you can enable it by going to Editor -> Canvas option.

⚠️ Live preview is not working

Automatic preview updating pauses when the previewed file is edited in a way that causes the containing module to be rebuilt. To resume it again you can press the Resume button above your live preview window or by going to Editor->Previews->Refresh.

SnapKit project

  • SnapKit is a DSL to make Auto Layout easy on both iOS and OS X.

About

🚀 SnapKit playground is a helper project where you can write and quickly test your UIKit/SnapKit code changes using live preview mode. The goal of this project is to speed up the process of creating, modifying and testing UI changes.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published