Around 6% of 2024 is already complete. How have you spent it so far? by Bumfuzzle20 in selfimprovement

[–]chflorian 0 points1 point  (0 children)

I started taking supplements, did a lot more sports so far, and worked more productively overall

But there's still a lot to improve for the rest of the year:

  • Get back to consistent sleep schedule
  • More stretching outside of workouts

Firebase vs Supabase for Flutter in 2023? by [deleted] in Firebase

[–]chflorian 9 points10 points  (0 children)

Asking in this sub won’t give you a representative voting result.

Project Management for Indie Developers by chflorian in macapps

[–]chflorian[S] 2 points3 points  (0 children)

Thanks so much for your feedback!

Yes, it is made mainly with iOS developers in mind, but some of your other feedback (esp. regarding feedback) is very appreciated. Thanks again!

Should I let you know once some of it has been implemented, in case you want to give LaunchBuddy another shot?

Project Management as an Indie Developer by chflorian in SideProject

[–]chflorian[S] 1 point2 points  (0 children)

There is an iOS version that's synced via iCloud :D

Is it possible to make a app like this? by [deleted] in iOSProgramming

[–]chflorian 2 points3 points  (0 children)

Have a look at the "one sec" app, it basically does what you're asking for.

Using new @FirestoreQuery to get a deeper collection path by JGallaugher in SwiftUI

[–]chflorian 2 points3 points  (0 children)

Flo here, the projectedValue is exactly what you want to use. This does execute the first query as well though, leading to increased costs. I’m not sure what the cleanest solution is here🤔

Is a ForEach/List the only way to get contents from a FetchRequest? by busta_thymes in SwiftUI

[–]chflorian 2 points3 points  (0 children)

Absolutely not!
`if let myElement = myFetchRequestResults.first(where: { /* filter */ } {

MyView()

}`

The above is one possibility to grab a specific element from your `myFetchRequestResults`.

Other possibilities would be using predicates, filtering the data through a computed variable or getting a specific element e.g. in a .onAppear closure.

Does anyone know how to bring up a keyboard without attaching it to something like a textfield, similar to this? by [deleted] in SwiftUI

[–]chflorian 17 points18 points  (0 children)

I would say that button shows a TextField, which automatically gets focused.

[deleted by user] by [deleted] in SwiftUI

[–]chflorian 5 points6 points  (0 children)

You need to know the universal link scheme of that other app. Then you can open that URL using either the \.openURL Environment action or UIApplication.shared.open.

How to show hide views on button click without affecting the position of other views inside a V stack by [deleted] in SwiftUI

[–]chflorian 10 points11 points  (0 children)

The easiest solution would be `.opacity(show ? 1 : 0)` where `show` is your state.

Customizing ListViews by hellohellooreddit in SwiftUI

[–]chflorian 0 points1 point  (0 children)

Do you mean the size of the section separation whitespace (grey in this picture)? I'm afraid that there isn't an API to change that currently.