I want to implement MVVM in swift 4. when I call api from viewcontroller, after getting response from api then I update model class and data on UITableView class(which having all the DataSource and Delegate Methods) also I want to implement Pagination using willDisplay methods. When i get a index in willDisplay then I call api calling methods implemented in ViewController class then at that time all the UIComponent on StoryBoard was nil(UILable and UIButton on controller on storyboard). Also how to handle push from DidSelect
Comments
Post a Comment