Hiding and Unhiding lines of code in Xcode is the best feature that Xcode has, in my opinion aside from Code Comparison.
In the images, you can see, that I have hidden my ZStack and then I have opened it!
I have hidden so many lines of code, to work on my ZStack View as I see fit, for example changing the Color of it!
Also, one way to remember what is a View, is that all Views starts with a capital letter like ZStack or Color, Text, or Button, and so on!
Pro Tip: When you are doing #iOSCodeCrush or #BCSwift, While taking notes, link the video to the chapter that you taking notes on!
In the image attached for example, I'm taking notes for Ch. 1.5 and there is a line under it, because that line is a link to the lecture directly, so I do not have to go back and forth or search for it when I need to reference it again!
You are welcome! 😀 👍
#IOS #iOSDev #Swift #SwiftUI
#BuildWithProfG
#ioscodecrush #bcswift #iOS #iosdev #swift #swiftui #buildwithprofg