Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save raonivaladares/6926502840bd5782df0128250455a5c6 to your computer and use it in GitHub Desktop.
Save raonivaladares/6926502840bd5782df0128250455a5c6 to your computer and use it in GitHub Desktop.
private let topicLabel = UILabelFactory(text: "Topic 1")
.fontSize(of: 36)
.build()
private let subTopicLabel = UILabelFactory(text: "subTopic")
.build()
private let profileImageView = UIImageViewFactory(image: UIImage(named: "UserProfilePlaceHolder"))
.build()
private let miniDescriptionLabel = UILabelFactory(text: "Lore lore lore ip ip ip Lore lore lore ip ip...")
.numberOf(lines: 3)
.textColor(with: .blue)
.build()
private let nextButton = UIButtonFactory(title: "Next")
.addTarget(self, action: #selector(nextButtonActionHandler(_:)), for: .touchUpInside)
.build()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment