How to use inits and enums in SwiftUI Bootcamp #13

Channel Avatar
Comment
X
Share
How to use inits and enums in SwiftUI Bootcamp #13
How to use inits and enums in SwiftUI Bootcamp #13
In this video we will discuss the basics of inits and enums in SwiftUI views. Inits, formerly ‘initializers’, are functions that run when a view is created and are used to customize the view. We will first walk through the default inits that come standard in SwiftUI and then we will learn how to make our own custom init functions. After, we will briefly look at making custom enums (or enumerations) to make our Swift code organized and efficient.

We will cover:
(1) What is an init() in SwiftUI?
(2) How to customize init() in SwiftUI
(3) How to use enum in SwiftUI

Next video: https://www.youtube.com/watch?vCKmsqRN-VM0
Last video: https://youtu.be/cL23Wx-zbJU

Take the opportunity to connect and share this video with your friends and family if you find it useful.

Keywords: swiftui bootcamp, learn swiftui, how to use init in swiftui, what is init swiftui, swiftui what is init, swiftui how to use init, swiftui custom init, custom init in swiftui, swiftui enum, what is an enum in swiftui, how to use enum in swiftui, swiftui how to use enum, how to make a custom init in swiftui, how to use custom init in swiftui, how to use custom initializer in swiftui, swiftui initializer, swiftui enumerations, swiftui what is an enum, enum swiftui, init swiftui

Read Also

Leave a Reply

Your email address will not be published. Required fields are marked *