Product Management

Learn SwiftUI with ME. Week 2.

This is the second edition of my series on Learning SwiftUI with me. I'll share two resources I found extremely helpful for learning this past week.

By

Parker Rex

on

Aug 7, 2020

Hey everyone today I'm talking about what I learned so far in the last couple weeks of programming using SwiftUI. I'm going to share the resources that I have used to get going.

Disclaimer: there is a TON of content out there that talks about learning to code... but that doesn't mean all of it is good. In fact theres a ton of content that is downright awful.

Hey everyone I'm Parker and I'm a product manager working tech who has always wanted to learn how to code. Now if you're like me, you always get intimidated when it comes to programming.

Maybe you took time in your past to try to do it and you failed. Maybe you get into a rhtym and then find out that youre not having fun. I've tried to learn to program three times over the last few years.

Each time I tried before, I started with TreeHouse.

Tree house was an okay solution, but putting a brown bear on the screen isnt that exciting.

The second time I tried, I tried to learn Swift using the london app brewery course.

The voice of the instructor really bnothered me and I found myself forcing the habit too much. Instead of saying that I was going to have funlearning, I forced it.

The third time I tried, I got a course curriculum from Stanford, MIT, and Brown and watched.

^^Every time I failed because I didn't have an objective.^^

This time I'm doing two things differently.

1) I'm not forcing a certain amount of hours each day. In order to make this work for me, It needs to be fun.

  • 2) I have something I want to build. In this case I want to build a marketplace that shows products from a Shopify app.

I had a friend build a Shopify app that ports products over to a mobile app.

I think this is a good project because it'l allow me to do front end visuals, and also work with getting data from another source.

So if you watched this in the previous episode, I kicked off that I'd be documenting my journey and sharing my resources.

Over the last week, I built 3 separate apps. That's incredible progress.

They are simple apps, but very helpful for learning the building blocks.

The first resources is called Primitive School.

https://youtu.be/Q5cMUS9-zK8

Primitive school is a video series put out by a designer at Cash App (https://twitter.com/elirousso) It is marketed as SwiftUI for designers. This is perfect content for someone who is totally new to programming. The creator assumes you know close to nothing, and takes the appropriate amount of time to explain each step.

Primitive is the first video series I suggest you check out because it is easier to understand that any content I've found across the internet.

I learned the basics of SWIFTUI when it comes to layout, stacks, text, colors, modifiiers, text, and more.

Grab B Roll of me showing off the app. Use black background and crop the video so it looks clean.

The second resource is the first lesson of the SwiftUI documentation that Apple puts together.

https://developer.apple.com/tutorials/swiftui/creating-and-combining-views

When it comes to Apple, they usually do a great job of explaining things visually. The only issue with the way that the courses are structured, is that they expect you to have previous knowledge about programming. I'm a total newb. This doesn't help me. It's like putting me in the middle of Italy and expecting me to be able to speak the language. It's not helpful.

It's important that you actually start with Primitive school because Cash app guy will give you the building blocks of how Xcode works, and how to get elements on the screen.

Once you get that first course done, you can advance to the apple tutorials.

So far I've completed the first two courses on Apple. I just got to the module that covers user interactions and I've hit a wall. Now I need to go and find an area on the internet that will give the confidence to keep going.

There's a useful resource I found by searching YouTube for tutorials that guy named Chris put out. Here's the link https://youtu.be/IIDiqgdn2yo

Chris goes through the start projects, which I find nice.

Once thing to remember when doing these tutorials that I found helpful, is you should try to go ahead and try things without being spoonfed the content.

Thats the hardest part. Whenever I find myself having to copy and paste the code... I know I need to slow down and go backwards. You're trying to learn a new language for yourself, not complete a task!

Active recall is the best way to learn something which requires testing yourself.

I hope you enjoyed this video. I'm going to continue on my journey of becoming a SwiftUI master over the next few months. If you found this helpful please LIKE the video and subscribe as it helps me know if I should continue making videos like this one.

Thanks for reading!

...