Swift Tutorial - Custom UIButton Class (Reusable)
829Likes
44,831Views
2019Feb 3
In today's beginner Swift tutorial I'll be explaining how to create a custom UIButton subclass so we can clean up those view controllers and make the custom UIButton reusable. I show you how to use this both programmatically and via Interface Builder (storyboard). This tutorial is in Swift 4.2 and Xcode 10. Source Code: https://www.dropbox.com/sh/f5anznf4wc... If you like my teaching style, I've released my first iOS dev course which is all about the take-home project job interview for iOS developers. Course Info - https://seanallen.teachable.com/ My Book: How I Became an iOS Developer: https://gumroad.com/l/sean-allen-origin Check out my podcast, iOS Dev Discussions: https://itunes.apple.com/us/podcast/i... Book and learning recommendations that help out the channel if you decide to purchase (Affiliate Links): Ray Wenderlich Books: https://store.raywenderlich.com/a/208... Ray Wenderlich Videos: https://store.raywenderlich.com/a/208... Paul Hudson's Hacking With Swift: https://gumroad.com/a/762098803 Learn Advanced Swift Here: https://gumroad.com/a/656585843 Links to my Developer & YouTube Setup https://www.amazon.com/shop/seanallen Personal Links: Twitter:   / seanallen_dev   Instagram: @seanallen_dev Website: https://seanallen.co

Follow along using the transcript.

Sean Allen

168K subscribers