Custom View Modifiers in SwiftUI

  Рет қаралды 2,949

Stewart Lynch

Stewart Lynch

Күн бұрын

Пікірлер: 25
@cloftis130
@cloftis130 Жыл бұрын
Thanks for some great examples on ViewModifiers. This helped clear up some of my understanding and will definitely be using these going forward for reusable components.
@hcri
@hcri 3 жыл бұрын
Stewart, you are an incredible Instructor. I wish you great success with your Channel and most differently. You have added great value the SwiftUI Community. GREAT SUCCESS.... And I am extremely lucky to have found you. Robert
@StewartLynch
@StewartLynch 3 жыл бұрын
Thanks for your support Robert
@jeffreywilkinson1471
@jeffreywilkinson1471 3 жыл бұрын
Awesome overview of view modifiers. Your teaching style is very approachable, yet advanced. Thank you!
@StewartLynch
@StewartLynch 3 жыл бұрын
Thanks. I appreciate that comment. That is what I am trying to achieve.
@jeastwood
@jeastwood 3 жыл бұрын
A really useful video that I've started to put into use in my current project (my first app to go on to the App Store) and it really helps with clearing up the onscreen 'clutter'. The defining hint was removing the modifiers into separate extensions and accessing them through functions. I really enjoy Stewart's presentation style in his videos, really useful, clear and understandable.
@StewartLynch
@StewartLynch 3 жыл бұрын
Thanks, Glad you find the videos helpful
@jasurrajabov
@jasurrajabov 3 жыл бұрын
Very useful tutorial, you are superb as always Steward! Thanks a lot. 👍🏼
@abdulwahabkhan4316
@abdulwahabkhan4316 3 жыл бұрын
I always give a thump up to add your video to my like list... & if you talk about a previous video then Make a popup appear on the right corner of the video that refers to that video (It's a youtube feature). That definitely gonna help everyone. And I want you to make a video on Apple certificates and add them to Xcode. what there purpose and what if multiple users create different certificates for the same app ...I ask some seniors but their statements are different from each other ... Because I can't experiment on my company account that's a dark side for me and junior developers like me. Thanks a lot for your rich content. :)
@TomWGiles
@TomWGiles Жыл бұрын
Thanks - just what I needed 😊
@StewartLynch
@StewartLynch Жыл бұрын
Thank you so much
@krakatoor
@krakatoor 3 жыл бұрын
Very useful, as usual
@Александра-ш8ж1б
@Александра-ш8ж1б 3 жыл бұрын
It’s very cool! Thank you!
@hung-chuntsai4063
@hung-chuntsai4063 3 жыл бұрын
Thank you for your tutorial. I love when the time you coding you also explain the thought & reason why you write in that way. It really helpful for learning coding the beautiful SwiftUI code. Hello Stewart, I have a small question is about coding preference. In this video, you demonstrated that you will write for the bigger part of the "Code" or "View", then you divided it into a small piece. Recently, when I was writing the code I was a little confused because sometimes I was overthinking of I need to break those "big components or View" into small pieces first then I will start writing my code. Or generally, people will start from their thought then refactor the code just like the way you have done? Looking forward to your reply. I really happy that I found your channel today because this video is the exact thing that I searching for the whole day :-).
@StewartLynch
@StewartLynch 3 жыл бұрын
I generally start coding until I get what I want and then refactor into reusable components. I have a complete 15 part series being released this Sunday on building an app using MVVM and I follow this pattern but starting big and then refactoring code to make it more manageable. Subscribe to my channel and start watching that new series on January 31.
@hung-chuntsai4063
@hung-chuntsai4063 3 жыл бұрын
@@StewartLynch Already smashed the ring bell button on KZbin. I feel blessed today. MVVM pattern also the thing that I was struggling with these days. Wish more people can discover your channel. Once again, thank you for your kindness of sharing these valuable thoughts. I will watch your premiere on January 31. Have a wonderful night
@StewartLynch
@StewartLynch 3 жыл бұрын
@@hung-chuntsai4063 Thanks. People hear about my channel through word of mouth, so spread the word :)
@Duser26
@Duser26 3 жыл бұрын
Awesome!!!
@denisk3852
@denisk3852 3 жыл бұрын
Great!
@gakkieNL
@gakkieNL Жыл бұрын
In the view extensions; Why do we have to use modifier(...) in the first example and self.modifier(...) in the second??
@StewartLynch
@StewartLynch Жыл бұрын
I always use self.modifier in the extensions. If you are referring to where I apply the modifier directly to the textView then it is not necessary there as I am not using an extension
@peterplass9458
@peterplass9458 3 жыл бұрын
Thanks a lot. Great tutorial. Completed Project -> Link currently not working? Greetings Peter
@StewartLynch
@StewartLynch 3 жыл бұрын
Try now. I forgot to make it public
@peterplass9458
@peterplass9458 3 жыл бұрын
@@StewartLynch Thank you! Now it runs.
@mhfs61
@mhfs61 3 жыл бұрын
👍🏼👍🏼👍🏼
How to create custom ViewModifiers in SwiftUI | Advanced Learning #1
18:59
SwiftUI Login Screen Workflow
21:08
Stewart Lynch
Рет қаралды 22 М.
Don't look down on anyone#devil  #lilith  #funny  #shorts
00:12
Devil Lilith
Рет қаралды 47 МЛН
What's in the clown's bag? #clown #angel #bunnypolice
00:19
超人夫妇
Рет қаралды 20 МЛН
iOS 18 SwiftUI ScrollView DeepDive
28:11
Stewart Lynch
Рет қаралды 2,5 М.
SwiftUI TextRenderer
28:04
Stewart Lynch
Рет қаралды 1,8 М.
Custom Operators in Swift
22:50
Stewart Lynch
Рет қаралды 1,1 М.
Custom containers - Views and Modifiers SwiftUI Tutorial 10/10
6:06
Should you use View Modifiers OR View Extensions in SwiftUI?
7:22
Malware Development: Processes, Threads, and Handles
31:29
How to Extract Subviews in SwiftUI | Bootcamp #21
11:19
Swiftful Thinking
Рет қаралды 28 М.
Download Remote Images in SwiftUI: A Robust Approach
19:56
Kilo Loco
Рет қаралды 1,7 М.