Swift Tutorial: Create a Custom UIButton Class

Learn how to build a reusable custom UIButton subclass in Swift to simplify your view controllers. πŸš€

Swift Tutorial: Create a Custom UIButton Class
Sean Allen
44.9K views β€’ Feb 3, 2019
Swift Tutorial: Create a Custom UIButton Class

About this video

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/f5anznf4wcq9o2t/AAC_3WBdNpygJ5NxPcrCrJD3a?dl=0

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/?video=scTO8N6wc8A


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/ios-dev-discussions-sean-allen/id1426167395?mt=2


Book and learning recommendations that help out the channel if you decide to purchase (Affiliate Links):

Ray Wenderlich Books:
https://store.raywenderlich.com/a/20866/link/1

Ray Wenderlich Videos:
https://store.raywenderlich.com/a/20866/link/24

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:
https://twitter.com/seanallen_dev

Instagram:
@seanallen_dev

Website:
https://seanallen.co

Tags and Topics

Browse our collection to discover more content in these categories.

Video Information

Views

44.9K

Likes

830

Duration

13:48

Published

Feb 3, 2019

User Reviews

4.7
(8)
Rate:

Related Trending Topics

LIVE TRENDS

Related trending topics. Click any trend to explore more videos.