Swiftpack.co - PutkovDimi/UIKitPreviewWrapper as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by PutkovDimi.
PutkovDimi/UIKitPreviewWrapper 1.1.0
There is a way to demonstrate a preview of view or viewControllers no matter if it was written in-code or by using xib files
⭐️ 0
🕓 1 year ago
.package(url: "https://github.com/PutkovDimi/UIKitPreviewWrapper.git", from: "1.1.0")

UIKitPreviewWrapper

There is a way to demonstrate a preview of view or viewControllers no matter if it was written in-code or by using xib files

How to:

Go to scripts and run command ./updateUIPreviewSnippets.bash

Now there are templates of files to create and code snippets to add previews for already existed views and viewcontrollers.

To find new templates:

  1. File -> New -> File
  2. scroll down to UI Preview Supported Templates
  3. Choose your own template depending on what's your way for ui crafting

To add existed previews for already existed elements:

⚠️ Warning: if your xcode is open, close it by command + Q shortcut and then reopen

  1. Use Shift + command + L shortcut to open snippets screen
  2. Choose your own template depending on what's your way for ui crafting

GitHub

link
Stars: 0
Last commit: 1 year ago
Advertisement: IndiePitcher.com - Cold Email Software for Startups

Release Notes

Сonvenient keyword for snippets
3 years ago

Hi there!

There are convenient keywords for snippets. Now it possible to see all available snippets just with start typing preview keyword!

Hope you find it useful for your goals!

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics