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 15, 2020. It is now read-only.
Is it expected behaviour, that index should be greater than 0?
publicfunc set(model:ModelProtocol, at index:Int)->ModelProtocol?{guard index >0, index <self.models.count else{returnnil}letoldModel=self.models[index]self.models[index]= model
return oldModel
}
Is it expected behaviour, that index should be greater than 0?