Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import UIKit
- class ViewCodeViewController: UIViewController {
- let content: UIView
- let imageView: UIImageView
- let labelTitle: UILabel
- let labelDescription: UILabel
- init(content: UIView, imageView: UIImageView, labelTitle: UILabel, labelDescription: UILabel) {
- self.content = content
- self.labelTitle = labelTitle
- self.imageView = imageView
- self.labelDescription = labelDescription
- super.init(nibName: nil, bundle: nil)
- }
- required init?(coder aDecoder: NSCoder) {
- fatalError("init(coder:) has not been implemented")
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement