Skip to main content

OrderedMap

Type Alias OrderedMap 

Source
pub type OrderedMap<K, V> = IndexMap<K, V>;
Expand description

Map type for xcstrings string keys and localizations. Uses IndexMap to preserve Xcode’s insertion order (Finder-like sort in Xcode 16+). Xcode uses localizedStandardCompare which is locale-dependent and cannot be reproduced in pure Rust. IndexMap preserves whatever order Xcode wrote.

Aliased Type§

pub struct OrderedMap<K, V> { /* private fields */ }