{"repo":"erickjung/SwiftGUI","free":true,"listed":false,"github":"https://github.com/erickjung/SwiftGUI","clone":"git clone https://github.com/erickjung/SwiftGUI.git","description":"Declarative UI framework bringing SwiftUI syntax to Dear ImGui - build beautiful cross-platform tools and editors with Swift 5.9+","language":"C++","stars":138,"topics":["swift","swiftui","gui","imgui","declarative-ui"],"license":null,"category":"mobile-apps","readme_excerpt":"SwiftGUI 2.0 - A declarative UI framework bringing SwiftUI-like syntax to Dear ImGui Build beautiful, cross-platform GUIs with the elegance of SwiftUI and the performance of immediate mode rendering --- ✨ What is SwiftGUI? SwiftGUI combines the best of two worlds: - SwiftUI's elegance - Declarative syntax, @State , Binding , and result builders - ImGui's power - Immediate mode rendering, cross-platform, perfect for tools and editors Write your UI once in clean, modern Swift and get instant visual feedback with Dear ImGui's proven rendering engine. 🚀 What's New in 2.0 SwiftGUI 2.0 is a complete rewrite with modern Swift features: - ✅ Struct-based views with value semantics (goodbye classes!) - ✅ @State and Binding for reactive state management - ✅ @resultBuilder for type-safe DSL - ✅ Protocol-based modifiers with copy-on-modify pattern - ✅ Swift 5.9+ with improved type inference - ✅ Swift Package Manager support - ✅ Comprehensive documentation - 3,000+ lines covering every API 🎯 Why SwiftGUI? Feature SwiftGUI SwiftUI Dear ImGui --------- ---------- --------- ------------ Syntax ✅ Declarative, SwiftUI-like ✅ Declarative ❌ Imperative C++ Platforms ✅ macOS, iOS, Linux , Windows ❌ Apple only ✅ Cross-platform Use Case ✅ Tools, editors, debug UIs ✅ Apps ✅ Tools, games Immediate Mode ✅ Yes (ImGui) ❌ No (retained) ✅ Yes State Management ✅ @State, Binding ✅ @State, Binding ❌ Manual Type Safety ✅ Swift type system ✅ Swift type system ⚠️ C++ templates Platform support depends on ImGui ","default_branch":null,"files":null,"tree":[],"storefront":"/r/erickjung","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/erickjung/SwiftGUI/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."}