DEV Community

Nathan Mattes
Nathan Mattes

Posted on • Originally published at zeitschlag.net on

1 1

100 Days of SwiftUI — Day 14

I skipped yesterday's part of 100 Days of SwiftUI, as I had a very stressful day at work and afterwards, it was pretty late and there wasn't much energy left.

So, today was my 14th day. It was the second review day of the basics. Again, I didn't learn very much, but I really like how Paul explained the main differences between structs and classes:

  • No automatically generated memberwise initializers, but DIY ones are required instead
  • inheritance
  • reference type instead of value type.

Oh, and then there was this @objcMembers-attributes. I didn't hear of it before, but it might come in handy, when it comes to Objective C-y legacy code. At least, in some cases, sometimes.

One important thing's still missing in the review-part: Closures. I guess, that'll be part of Day 15, then.

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

Top comments (0)

AWS Security LIVE!

Join us for AWS Security LIVE!

Discover the future of cloud security. Tune in live for trends, tips, and solutions from AWS and AWS Partners.

Learn More

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay