I have been following VIPER design pattern for my current iOS (Swift) project and i am new on using design pattern on code. I am having trouble to take decision about customizing or configuring a subclass of UITableViewCell
. Do i change the cell's on ViewController
's -> func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell
this delegate method or on my derived UITableViewCell
's class instance method's ?? Actually the work is changing cell's IBOutlets
like Label, ImageView from Model data
mercredi 9 mai 2018
iOS - Configuring Custom UITableViewCell on VIPER pattern
Inscription à :
Publier les commentaires (Atom)
Aucun commentaire:
Enregistrer un commentaire