以下の内容はhttps://tokizuoh.hatenablog.com/entry/2025/04/21/135915より取得しました。


SwiftUI未使用API100本ノック: 13. listRowSeparatorTint(_:edges:)

API

developer.apple.com

iOS 15+。Listの子要素につけて線の色を指定できる。

スクリーンショット

コード

gist.github.com

メモ

ちょっとクセある。クセのありどころは上にも適用されるところ。...とこれを書いている時に2つ目のパラメータでedgesが指定できることに気がついた。下のスクショは .listRowSeparatorTint(.blue, edges: .bottom) とした様子。

用途があまり思いつかない。GitHubapple org配下で使われている形跡は無さそう。

https://github.com/search?q=org%3Aapple+%22.listRowSeparatorTint%22+language%3ASwift&type=code




以上の内容はhttps://tokizuoh.hatenablog.com/entry/2025/04/21/135915より取得しました。
このページはhttp://font.textar.tv/のウェブフォントを使用してます

不具合報告/要望等はこちらへお願いします。
モバイルやる夫Viewer Ver0.14