{"repo":"mikelikesdesign/dialkit-ios","free":true,"listed":false,"github":"https://github.com/mikelikesdesign/dialkit-ios","clone":"git clone https://github.com/mikelikesdesign/dialkit-ios.git","description":"DialKit is a SwiftUI package for editing and previewing interface updates live","language":"Swift","stars":123,"topics":["ios","swift","swiftui","developer-tools","swift-package-manager"],"license":"MIT","category":"mobile-apps","readme_excerpt":"DialKit DialKit is a SwiftUI package for editing and previewing interface updates live. Credit This Swift package is based on the original DialKit repository by Josh Puckett. Requirements - iOS 17 and later - macOS 14 and later for local package builds and swift test - SwiftUI - A model type that conforms to Codable and Equatable Installation Add this repository as a Swift Package dependency in Xcode, then import DialKit in your app. Using DialKit from UIKit DialKit's UI is built with SwiftUI, but UIKit apps can still use it by embedding DialRoot in a small UIHostingController bridge. A UIKit integration detail: If you pin a full-screen UIHostingController over an interaction-heavy UIKit screen, the overlay can intercept touches even when the drawer is visually closed. For UIKit, there are two recommended patterns depending on the kind of screen you are building. Option 1: Host-Controlled Drawer (Recommended for interaction-heavy screens) Use the binding-driven initializer, disable the built-in FAB, and open the drawer from your own UIKit button or gesture. This is the safest option for drawing, scrubbing, camera gestures, games, or any custom touch surface. Option 2: Built-in FAB (Use a passthrough container) If you want DialKit's built-in FAB in a UIKit app, keep DialRoot mounted but place the hosting view inside a passthrough container. When the drawer is closed, the container should let non-interactive overlay space fall through to UIKit. When the drawer is open, the cont","default_branch":null,"files":null,"tree":[],"storefront":"/r/mikelikesdesign","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/mikelikesdesign/dialkit-ios/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}