Swift ソートの覚書「英字の小文字と英字の大文字」
単純な比較でソートすると、英字の小文字が、英字の大文字が終わった後に並ぶ。
Aa
Z
ab
下記のようにしたい。
Aa
ab
Z
コード
$0.localizedCaseInsensitiveCompare($1) == .orderedAscending
知識は力なり、知識は宝なり。

UIDeviceOrientationとUIInterfaceOrientati ...

Swift MusicKitプログラミング その12 MusicCatalogR ...

Circular Small Image Document 3種類 CLKCom ...

Study Network.framework Study:「Bonjour B ...

角丸ラインのみボタンを作成する。 ViewModifierでやっていたのを、Bu ...