Created
August 28, 2019 07:13
-
-
Save HassanElDesouky/f38c051f1c5d67116d44bb5b4e51f57d 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
class CreateListController: UITableViewController { | |
@IBOutlet weak var doneBarButton: UIBarButtonItem! | |
@IBOutlet weak var nameTextField: UITextField! | |
lazy var iconImage: UIImageView = { | |
let imgView = UIImageView() | |
return imgView | |
}() | |
@IBOutlet weak var iconCellView: UIImageView! | |
weak var delegate: CreateListControllerDelegate? | |
// .. | |
// .. | |
override func viewDidLoad() { | |
super.viewDidLoad() | |
//.. | |
} | |
override func viewWillAppear(_ animated: Bool) { | |
super.viewWillAppear(animated) | |
//.. | |
} | |
@IBAction func handleSave(_ sender: Any) { | |
// Create List | |
} | |
@IBAction func handleCancel(_ sender: Any) { | |
// Dismiss | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment