Dominik Hofer
Dominik Hofer

Quick question for all @weglot pros:

Is there any way to get the current language of a page in a Webflow project?

I want to show/hide certain elements on the page based on the language.

Appreciate any help/RTs 🤓

Dominik Hofer
Dominik Hofer

Anyone else having great @framer testimonials all over the timeline?

(And doubting once again whether one should go down this or the Webflow rabbit hole…)

Help pls.

Dominik Hofer
Dominik Hofer

Day 100 #100DaysOfSwiftUI

Last day, challenge finished. Scored 89% on the final exam which is great, but I definitely didn't recognize all questions anymore haha 🙈 Shows, how far I've come since the start in summer.

Thanks to @twostraws for kicking off my iOS dev journey!

Dominik Hofer
Dominik Hofer

Day 99 #100DaysOfSwiftUI

✅ Added some additional features on my own

Last official day and last challenge. And fortunately, I could solve it without a problem.

The collection of snippets I've built over the course of the challenge proves itself useful again 🙌

Show thread (2 posts)
Dominik Hofer
Dominik Hofer

Day 98 #100DaysOfSwiftUI

✅ Building the SnowSeeker project (II)

🔑 takeaways:
👉 Use groups as top-level views in subviews to make them “dynamic”
👉 .dynamicTypeSize()
👉 Debug view hierarchy

Last official day, tomorrow is the last challenge and then we're already at day 100!

Dominik Hofer
Dominik Hofer

Day 97 #100DaysOfSwiftUI

✅ Building the SnowSeeker project (I)

🔑 takeaways:
👉 Primary & secondary screens (just add a 2nd view to NavigationView)
👉 .joined() or format: to format an array of strings

Great to see how easy you can make an app usable on different screens 🤩

Dominik Hofer
Dominik Hofer

Day 96 #100DaysOfSwiftUI

✅ Overview of the last project (SnowSeeker)

🔑 takeaways:
👉 Adaptive layout
👉 Can use sheets & alerts with optionals
👉 Groups are like divs
👉 Use .horizontalSizeClass to adjust view based on screen
👉 .searchable()

Show thread (2 posts)
Dominik Hofer
Dominik Hofer

Which platforms to use if you like to create:

Shortform videos → Instagram, Tiktok
Longform videos → Youtube, Instagram
Photos → Instagram, Pinterest, Unsplash
Design → Instagram, Twitter, Dribbble
Coding/Building in public → Twitter
Writing → Twitter, Blog, Newsletter

Dominik Hofer
Dominik Hofer

Day 95 #100DaysOfSwiftUI

✅ Made a lil random number generator (dice roller)

Nothing too fancy, but I got to reuse some of the code from yesterday for the color interpolation :)

Dominik Hofer
Dominik Hofer

Day 91 #100DaysOfSwiftUI

✅ Some more GeometryReader action

Rows now fade up when they get to the top, get smaller, and the hue changes based on the vertical position.

Was very fun to work on (and visually pleasing 🤓)

Helix pt. II (interesting code in next Tweet) 👇

Show thread (2 posts)
Dominik Hofer
Dominik Hofer

Day 93 #100DaysOfSwiftUI

✅ GeometryReader time

🔑 takeaways:
👉 Absolute & relative positioning (.position & .offset)
👉 GeometryReader reads the available space (expands)
👉 Global and local (relative) coordinates
👉 Sometimes, multiple GRs are required

Fancy helix alert:

Dominik Hofer
Dominik Hofer

Day 92 #100DaysOfSwiftUI

✅ Learned how SwiftUI layouts work

🔑 takeaways:
👉 There are layout-neutral views/modifiers that ask their children for their size
👉 .alignmentGuide()
👉 Create custom alignment guides as enums

I can already feel that we're approaching day 100 fast!

Dominik Hofer
Dominik Hofer

Day 91 #100DaysOfSwiftUI

✅ Added some additional features on my own

There were some slight improvements plus wrong-answered cards get added to the back of the queue. The last part is rather messy though, might have to revisit this part with a fresh mind…

Dominik Hofer
Dominik Hofer

From the @Codecademy data science path:

“In the end, your human oversight and critical consideration of the data will have the biggest impact on data quality.”

Dominik Hofer
Dominik Hofer

Really not a fan of the whole Figma/Adobe bashing, BUT…

Why is @Adobe charging me 12.– if I choose to cancel my monthly subscription? This doesn't make sense to me at all and is bad CX practice (ironically, they create products that are supposed to help you design great CX)…

Show thread (2 posts)
Dominik Hofer
Dominik Hofer

That's great UX:

@pixelmator Photo allows you to set a reminder before you get charged after the free trial.

Kudos, that makes me want to support you even more 👏

Dominik Hofer
Dominik Hofer

Day 89 #100DaysOfSwiftUI

✅ Building the Flashzilla project (II)

🔑 takeaways:
👉 .background modifier

  • Used some fancy ternary operators to change the background color of the cards. There is even an alternate UI for people who choose a specific color a11y setting.
Dominik Hofer
Dominik Hofer

Day 88 #100DaysOfSwiftUI

✅ Building the Flashzilla project (I)

🔑 takeaways:
👉 RoundedRectangle with style .continuous creates a squircle
👉 You can init an array with repetition
👉 abs() for absolute number
👉 Pass closure to view to “access” parent view

Dominik Hofer
Dominik Hofer

Day 87 #100DaysOfSwiftUI

✅ Overview of the Flashzilla project (II)

🔑 takeaways:
👉 Use .onReceive for publishers (like timers)
👉 scenePhase tracks the state of the app (active, inactive, background)
👉 You can access the a11y settings of the user via the environment

Dominik Hofer
Dominik Hofer

If #Xcode doesn't seem to recognize your connected iPhone, try this command in your terminal after disconnecting the device and quitting the program 👇

Follow

RSS Feeds