/tag

#tweet

Dominik Hofer
Dominik Hofer

Day 19 #100DaysOfSwiftUI

βœ… Built a simple converter app

That's it, my first iOS app I built on my own, from scratch!

The conversion was probably the hardest part. The tip with converting to a base unit helped a ton.

Also, notice how the label changes at the bottom πŸ‘€

Dominik Hofer
Dominik Hofer

Day 18 #100DaysOfSwiftUI

βœ… Added some additional features on my own

I already love building UIs with SwiftUI! It's fascinating, how fast and easy you get Apple-like results.

Looking forward to building some more complex apps πŸ€“

Dominik Hofer
Dominik Hofer

I'm starting a little weekly series called β€œUno”.

Every Sunday, I'll share one simple tool that I regularly use (and you might not know).

Stay tuned ✌️

Dominik Hofer
Dominik Hofer

Just migrated my personal notes from Apple notes/Evernote to @craftdocsapp

Main reason is the daily notes feature (not available in many other apps but I love the concept).

Also, the design is just gorgeous 😍

Dominik Hofer
Dominik Hofer

Day 17 #100DaysOfSwiftUI

βœ… Built the WeSplit project

πŸ”‘ takeaways:
πŸ‘‰ Locale is a struct with localization infos
πŸ‘‰ @State automatically watches for changes
πŸ‘‰ NavigationView is often the top-level view
πŸ‘‰ Spacer creates a flexible space

Was a fun little project to work on!

Dominik Hofer
Dominik Hofer

Day 16 #100DaysOfSwiftUI

βœ… Overview of WeSplit project

πŸ”‘ takeaways:
πŸ‘‰ Everything in SwiftUI is a view
πŸ‘‰ Shortcuts: ⌘ + βŒ₯ + P; ⌘ + R
πŸ‘‰ Views are a function of their state
πŸ‘‰ Create two-way bindings with $

Dominik Hofer
Dominik Hofer

Day 15 #100DaysOfSwiftUI

βœ… Review day

Done with the fundamentals of Swift. Now onto learning SwiftUI, I am very excited!

Dominik Hofer
Dominik Hofer

My new favorite shortcut in @framer: ⌘ + K

Creating components, publishing, and more – straight from your Keyboard.

Love seeing more and more apps adapt this UX pattern πŸ™Œ

Dominik Hofer
Dominik Hofer

Day 13 #100DaysOfSwiftUI

βœ… Protocols
βœ… Extensions
βœ… Checkpoint 8

πŸ”‘ takeaways:
πŸ‘‰ Protocols are like a blueprint for different types
πŸ‘‰ With extensions, you can extend the functionality of types
πŸ‘‰ Protocol extensions are possible

Can you spot the easter egg? 🐰

Dominik Hofer
Dominik Hofer

Writing is the best tool to understand yourself better.

Try out journaling for some time and you'll see great benefits!

Dominik Hofer
Dominik Hofer

Day 14* #100DaysOfSwiftUI

βœ… Optionals
βœ… Nil coalescing
βœ… Checkpoint 9*

πŸ”‘ takeaways:
πŸ‘‰ Optionals are for when there might data
πŸ‘‰ They have to be unwrapped: Either with if let, guard let, or nil coalescing

Today's checkpoint was a simple one-liner. Felt kinda smart πŸ€“

Show thread (2 posts)
Dominik Hofer
Dominik Hofer

Day 12 #100DaysOfSwiftUI

βœ… Classes
βœ… Inheritance
βœ… Checkpoint 7

πŸ”‘ takeaways:
πŸ‘‰ Classes don't have a memberwise initializer
πŸ‘‰ All instances point to the same data
πŸ‘‰ You can override methods
πŸ‘‰ Call super.init() inside child class

The furry checkpoint πŸˆπŸ•

Dominik Hofer
Dominik Hofer

Swift (with SwiftUI) feels like an ideal language to learn for beginners.

  1. You quickly get your first results
  2. Things look great out of the box
  3. There are many great and free resources like #100DaysofSwiftUI
  4. The playgrounds app enables everyone to learn it
Dominik Hofer
Dominik Hofer

Day 11 #100DaysOfSwiftUI

βœ… Access control
βœ… Static props & methods
βœ… Checkpoint 6

πŸ”‘ takeaways:
πŸ‘‰ Restrict property access with private keyword
πŸ‘‰ Static props/methods can be used for global data or examples

Slowly, Swift really starts to click for me πŸ™Œ
Checkpoint πŸ‘‡

Dominik Hofer
Dominik Hofer

We live in a time full of opportunities: The permissionless area.

But how should you leverage them?

@jackbutcher has created what is probably the most comprehensive guide to answer this question.

Here are my 5 key takeaways & opinions on β€œThe Permissionless Apprentice” πŸ‘‡

Show thread (11 posts)
Dominik Hofer
Dominik Hofer

My favorite @AliAbdaal quote:

β€œEverything is figureauteable.”

Perfectly sums up the mindset I try to cultivate.

Dominik Hofer
Dominik Hofer

Day 10 #100DaysOfSwiftUI

βœ… Structs
βœ… Computed properties
βœ… Property observers

πŸ”‘ takeaways:
πŸ‘‰ With structs, you can create custom types
πŸ‘‰ Computed properties work like in Vue.js
πŸ‘‰ You can create custom initializers (must provide values for all properties)

Show thread (2 posts)
Dominik Hofer
Dominik Hofer

With the launch of my personal website, I also want to start a bi-weekly newsletter. Nothing too fancy, just a way to send some updates.

What tool should I use?
⟑ @SubstackInc
⟑ @TwitterWrite (Revue)
⟑ @ConvertKit

Any tips/experiences?

Dominik Hofer
Dominik Hofer

Day 9 #100DaysOfSwiftUI

βœ… Closures
βœ… Passing functions
βœ… Checkpoint 5

πŸ”‘ takeaways:
πŸ‘‰ Closures are a special type of function
πŸ‘‰ Trailing closure syntax is handy when you pass a function to a function

Not sure if I solved today's challenge correctly, my brain hurts…

Follow

RSS Feeds