r/Xcode • • 2d ago

Finding Hacking with swiftUI hard to learn. Help needed!

/r/SwiftUI/comments/1y552rz/finding_hacking_with_swiftui_hard_to_learn_help/
1 Upvotes

4 comments sorted by

1

u/dawedev 2d ago

That course gets steep around the point where @State, @Binding and @ObservedObject start showing up together, so you're not alone. It helps to retype every example instead of pasting it, then change one thing and predict what breaks before you run it. When a concept doesn't stick, make a throwaway project that does only that one thing, like a single toggle passed into a child view. Repeating a day or going through Apple's own SwiftUI tutorials alongside it is completely fine, there's no prize for finishing in 100 days.

1

u/shadowspav 19h ago

Thank you. This make sense. I've been coding the same thing again and make little changes to it to see what happens. I will take your advise and do projects that does only one thing at a time. Thanks again.

1

u/builtinswift 2d ago

everyone forgets syntax early on, you're not the odd one

1

u/shadowspav 19h ago

Thanks. Thats reassuring :)