This is a sample code to create and paste a custom button class that extends UIButton.
By separating the look and feel of the ViewController into separate files, you can make the ViewController look neat.
Implementing a custom button class
- Edit TableView to delete a Cell
- Edit TableView and delete a Cell (side-slide).
- Separate numbers into commas for each three digits (in Japanese yen)
- Get the current date and day of the week and the current time
- Customize the layout of TableVIew using CustumTableViewCell and accessoryView.
- Adding a TextField to UIAlertController
- Implementing NavigationController