来源:https://stackoverflow.com/questions/62635914/initialize-stateobject-with-a-parameter-in-swiftui 标签 swift swiftui xcode12