You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 23, 2021. It is now read-only.
func itemViewModel(fromModel model: ModelType) -> ItemViewModelType? {
switch model {
//Example to customize picker for particular models
//case let model as Product : return ListItemViewModel(product: model)
case let model as ModelWithTitle : return ListPickerElementItemViewModel(model: model)
default : return model as? ItemViewModelType
}
}