Created
February 13, 2018 08:37
-
-
Save damijanracel/cb4e334c77167aa75f2f74371daf1549 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
struct UserReusableCellDataProvider: ReusableTableViewCellDataProvider { | |
let user: User | |
var leftTitle: String? { | |
return user.name | |
} | |
var leftSubtitle: String? { | |
return "Nick: " + user.nickname | |
} | |
var rightTitle: String? { | |
return "" | |
} | |
var rightSubtitle: String? { | |
return "" | |
} | |
var image: UIImage? { | |
return nil | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment