Skip to content

NoticeUI v1.7.0

Choose a tag to compare

@SameerNadaf SameerNadaf released this 21 Feb 16:28
· 3 commits to main since this release
34d7cee

🌍 Native Localization Support

NoticeUI now supports LocalizedStringKey natively — matching SwiftUI’s Text behavior for seamless internationalization.

✨ What’s New

  • Toast messages now resolve localized keys automatically

  • Full support for LocalizedStringKey and string literals

  • Dynamic strings remain raw (no unintended lookups)

  • Localization support added for:

    • Toast titles
    • Toast messages
    • Action button labels

🧠 How It Works

Passing a string literal or LocalizedStringKey now automatically looks up values from your app’s localization files (Localizable.strings or .xcstrings), just like SwiftUI.

Dynamic/interpolated strings continue to render exactly as provided.

🎯 Why This Matters

This makes NoticeUI production-ready for multi-language apps while preserving SwiftUI-native behavior and API simplicity.

♻️ Backward Compatible

No existing code breaks — previous usage continues to work as before.


What's Changed

Full Changelog: 1.6.0...1.7.0