@s19h058 s19h058
s19h058
@s19h058 s19h058 / 73baf8c00be4013ec45d531e0a1f4005 Created at Thu Oct 13 19:29:38 JST 2022
画面遷移案
// 案1. info.viewにnavigationLinkCellをif文で並べる。最終手段

if (text_info == "Experiment1") {
NavigationLinkCell(title:text_info,destination: Experiment1())
} elseif (...

// 案2. @ViewBuilderを使ってViewを返すメソッドを作る。swich case使うから案1とあんまり変わらないけどすっきりする(動作未検証)
// 参考サイト https://qiita.com/snoozelag/items/2187b94bf9e20343e02c