Slint 1.12 已发布

  • Release Date and Developer: June 16, 2025 by Slint Developers.
  • Main Features:

    • WGPU Support: Embed WGPU based rendering libraries like Bevy into Slint apps with new WGPU integration, enabling 3D UIs and integrating other graphical crates in the Rust ecosystem. Bevy can be seamlessly integrated with Slint's declarative UI language, as shown in the demo.
    • iOS Port: Initial iOS support for cross-compiling Slint apps for iPhone and iPad. Xcode support provides convenience in certificate management, deployment to hardware and simulators, sharing via TestFlight, and publishing to the App Store. Native font rendering with Skia and Python language support are also in the pipeline. Try it out today.
    • Figma Variables Integration: Import Figma variable collections directly into Slint apps with new Figma Variables integration, closing the gap between design and implementation and maintaining consistent UIs.
    • UX Improvements:

      • Smarter Color Picker with support for colors in globals, named colors from the Colors. namespace, and remembering recently used colors.
      • Live-Preview gets a debug-console that displays messages from debug(...) calls, compiler warnings/errors, previews recent messages in the toolbar, and links to relevant lines in the .slint file. It even works in SlintPad.
    • Other Fixes and Improvements: Use the new slint::winit_030 module, add Platform.style-name and Platform.os for style- or OS-specific code, new in-out transition block in states, mouse-drag-pan-enabled property for ScrollView, and VS code extension offers direct links to Slint element documentation on hover.
  • Getting Started: New to Slint? Start at Get Started. Upgrading? Follow the steps on the GitHub release page. Browse the latest docs at https://docs.slint.dev. Don't forget to star on GitHub, join Mattermost chat, and share projects.
  • Thanks: Acknowledges contributors and thanks NGI Zero Core and NLNet for supporting the Slint on iOS project.
  • Slint Overview: A Rust-based toolkit for creating reactive and fluent UIs across various targets, supporting multiple operating systems and featuring an easy-to-learn DSL that compiles to native code and facilitates collaboration between designers and developers.
阅读 25
0 条评论