Releases: erickjung/SwiftGUI
Releases · erickjung/SwiftGUI
Release list
2.0
🚀 SwiftGUI 2.0 - Complete Rewrite
SwiftGUI 2.0 is here! This is a complete rewrite bringing modern Swift features, true SwiftUI-like syntax, and a robust foundation for building immediate
mode UIs.
✨ What's New
Modern Swift Architecture
- ✅ Struct-based views with value semantics - goodbye reference type complexity!
- ✅ State and Binding for reactive state management
- ✅ resultBuilder for type-safe DSL (replacing deprecated @_functionBuilder)
- ✅ Protocol-based modifiers with copy-on-modify pattern
- ✅ Swift 5.9+ with improved type inference and performance
Developer Experience
- ✅ Swift Package Manager support - modern dependency management
- ✅ Comprehensive documentation - 3,000+ lines covering every API
- Step-by-step tutorials
- Complete API reference
- Architecture guides
- Best practices
- ✅ 238 automated tests using Swift Testing framework
- ✅ Example projects demonstrating real-world usage
Rich Component Library
40+ production-ready components including:
- Layout & Containers: Window, SubWindow, Group, HStack, Column, TabBar, Tree, Popup
- Controls: Button, CheckBox, Slider, TextField, ComboBox, ColorEdit, MenuBar
- Display: Text, Image, Plot, Tooltip, Divider
- Utilities: ForEach, Spacing, SameLine, Empty
🎯 Why Upgrade?
SwiftGUI 2.0 brings the elegance of SwiftUI to Dear ImGui with:
- Cleaner syntax - Write less boilerplate, focus on your UI
- Type safety - Catch errors at compile time with Swift's type system
- Better performance - Optimized rendering pipeline and memory usage
- Easier state management - State and Binding just work™