Strings95
Localized library-owned labels and accessibility text.
Strings95 lets an app replace Swift95’s built-in window, scrolling, and state descriptions for a subtree.
Use it
import Swift95
import SwiftUI
struct Strings95Example: View {
private var customStrings: Strings95 {
var strings = Strings95.localized
strings.close = "Dismiss"
return strings
}
var body: some View {
Text95("Localized workspace")
.strings95(customStrings)
}
}Essential behavior
ScopeThe modifier installs strings through the SwiftUI environment.
DefaultsStrings95.localized uses the library’s resource bundle.
CoverageIncludes window controls, scrolling actions, and expanded or active state text.