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
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
}
}