{"repo":"1998code/SwiftGlass","free":true,"listed":false,"github":"https://github.com/1998code/SwiftGlass","clone":"git clone https://github.com/1998code/SwiftGlass.git","description":"Glassy Everything, even Old Devices. [ AI Assistant available below ]","language":"Swift","stars":383,"topics":["glass","ios","ipados","macos","swift","swiftui","tvos","visionos","swiftglass","apple"],"license":"MIT","category":"mobile-apps","readme_excerpt":"SwiftGlass Features 🔄 Cross-platform : Works on iOS, macOS, watchOS, tvOS, and visionOS ✨ Native visionOS support : Uses native glass effect on visionOS 🎨 Highly customizable : Adjust colors, materials, shadows, and more 🔷 Multiple shapes : Support for rounded rectangle, circle, and capsule shapes 🧩 SwiftUI integration : Simple ViewModifier implementation Gallery -- -- -- iOS watchOS I watchOS II -- -- macOS (Dark) I macOS (Dark) II -- -- tvOS I tvOS II -- -- visionOS iPadOS Tested Platforms and Environment Platform iOS macOS watchOS tvOS visionOS -- -- -- -- -- -- Version 15.0+ 14.0+ 10.0+ 15.0+ 1.0+ Xcode Latest Minimum SVT -- -- -- 16.3 15.0 5.9 Project Demo (Quick Starter) ⚠️ To prevent resolving failed, please rename the root folder from SwiftGlass-xxx to SwiftGlass Installation (on your project) Swift Package Manager Add SwiftGlass to your project through Swift Package Manager PROJECT Package Dependencies + Or you may add it manually as follows Usage Basic Usage (View / Button / Anywhere) Custom Glass Effect Different Shapes SwiftGlass supports multiple shapes for the glass effect: Customization SwiftGlass offers extensive customization options: Parameter Type Default Description --- --- --- --- displayMode .always or .automatic .always Controls when the effect is displayed radius CGFloat 32 Corner radius of the glass effect (for rounded rectangle) shape .roundedRectangle(radius:) , .circle , or .capsule .roundedRectangle(radius: radius) Shape of the glass effect co","default_branch":null,"files":null,"tree":[],"storefront":"/r/1998code","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/1998code/SwiftGlass/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."}