Skip to content

Instantly share code, notes, and snippets.

@TungVuDuc2805
Created June 7, 2020 06:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save TungVuDuc2805/7a213218278bcb865dd5833118cfb9ab to your computer and use it in GitHub Desktop.
Save TungVuDuc2805/7a213218278bcb865dd5833118cfb9ab to your computer and use it in GitHub Desktop.
class ProfileViewModelNamePictureItem {
var name: String
var pictureUrl: String
init(name: String, pictureUrl: String) {
self.name = name
self.pictureUrl = pictureUrl
}
}
class ProfileViewModelAboutItem {
var about: String
init(about: String) {
self.about = about
}
}
class ProfileViewModelEmailItem {
var email: String
init(email: String) {
self.email = email
}
}
class ProfileViewModeAttributeItem {
var attribute: Attribute
init(attribute: Attribute) {
self.attribute = attribute
}
}
class ProfileViewModeFriendsItem {
var friend: Friend
init(friend: Friend) {
self.friend = friend
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment