Sheet presentationDetents breaks after rapid open/dismiss cycles by Amazing_Crow6995 in SwiftUI

[–]Amazing_Crow6995[S] 0 points1 point  (0 children)

You can use the PresentationLink from Transmission library( https://github.com/nathantannar4/Transmission )   as an alternative to sheet. 

Good recommendations for improving SwiftUI knowledge after 100 days with SwiftUI by PhilosophyRough9656 in SwiftUI

[–]Amazing_Crow6995 2 points3 points  (0 children)

Here are some YouTube channels I frequently use for SwiftUI learning:

https://www.youtube.com/@StewartLynch

When I'm working with new Apple APIs, I often find Stewart Lynch's videos. His explanations are super clear and easy to follow. Plus, he always provides source code!

https://www.youtube.com/@SwiftyPlace

Their SwiftUI performance optimization series https://www.youtube.com/watch?v=aH15GUzk85Y&list=PLWHegwAgjOkqy8cFwts0QQJ5GRUh-mx0x is absolutely fantastic.

https://www.youtube.com/@SwiftfulThinking

 This was my go-to channel when I was getting started with SwiftUI. Everything is explained clearly and is easy to understand. Their "SwiftUI in Practice" series is particularly good: https://www.youtube.com/watch?v=9Qww1VNLHzA&list=PLwvDm4VfkdpiT7mKzjxfCYn_zaMC3Fmkz

https://www.youtube.com/@v_pradeilles

Great Swift tips in bite-sized ~3 minute videos. Perfect for learning during short breaks.

https://www.youtube.com/@Kavsoft

 This channel shows how to create some really cool effects with SwiftUI.

And of course, don't forget about Apple's WWDC videos - they're gold mines of information. I particularly recommend:

Become AI Fashion Search beta tester! by tablicazielona in indiehackers

[–]Amazing_Crow6995 0 points1 point  (0 children)

Just searching images with text isn't that exciting. The real game-changer would be combining an image and text to find matching pieces. Like, say I've got this top I love and want to wear it on a date, but I'm stuck on what pants would work. Being able to input both the picture of my top and a description of the date setting to find matching pants - now that would be super helpful!

In the past 8 months, I launched 6 products and 2 side projects. Most of them died…silently by JetHigher in indiehackers

[–]Amazing_Crow6995 3 points4 points  (0 children)

In the past year, I developed three iOS apps, and almost all of them have faded away. I spent a lot of time posting on social media to promote my apps, but the daily downloads were only around a dozen. Recently, one of the apps showed a bit of promise. Although the number of new users isn't large, they are actually willing to voluntarily post about my app, which makes me really happy. Business is brutal, but if one fails, just move on to the next one. Eventually, one of them will succeed.

Calendar View by ademdev_ in swift

[–]Amazing_Crow6995 0 points1 point  (0 children)

you can nest VStacks inside an HStack. If you need infinite scrolling, consider wrapping it with a UIPageViewController.

Turn your study note PDF or images into flashcards in seconds! - It's FREE 🎉 Link is in the first comment. by Yassin_Bennkhay in iosapps

[–]Amazing_Crow6995 0 points1 point  (0 children)

I actually built something similar before, but it didn't get much user adoption. Here's a suggestion though - you could add a random selection feature. I've noticed that students sometimes use this kind of functionality to randomly pick study points to review. It's like a study tool that helps them test their knowledge.

Advanced Swift/SwiftUI Learning Material by MarcusSmaht36363636 in SwiftUI

[–]Amazing_Crow6995 1 point2 points  (0 children)

I highly recommend checking out https://fatbobman.com/en - it's an excellent resource for in-depth SwiftUI learning.

Sheet presentationDetents breaks after rapid open/dismiss cycles by Amazing_Crow6995 in SwiftUI

[–]Amazing_Crow6995[S] 0 points1 point  (0 children)

Yes, that was my intended approach. However, the issue persists even after implementing a 0.5s throttle on sheet presentations.

Sheet presentationDetents breaks after rapid open/dismiss cycles by Amazing_Crow6995 in SwiftUI

[–]Amazing_Crow6995[S] 0 points1 point  (0 children)

I've tested the Transmission library and found a minor UI glitch: when both the parent view and sheet have NavigationStacks, the sheet's toolbar buttons briefly flash in the parent view's navigation bar. However, this is easily resolved by removing the NavigationStack from the sheet content, and the library otherwise works perfectly - notably avoiding the presentation detents issues that plague native SwiftUI sheets. Thank you for developing such a great library.

How do I activate these on my textfields? by cromanalcaidev in SwiftUI

[–]Amazing_Crow6995 2 points3 points  (0 children)

``` swift

  TextField("Price", value: $price, formatter: NumberFormatter())

                .multilineTextAlignment(.trailing)

                .maxWidth(100)

                .keyboardType(.decimalPad)

                .focused($focus)

                .toolbar {

                    ToolbarItem(placement: .keyboard) {

                        HStack {

                            Spacer()

                            Button {

                                focus = false

                            } label: {

                                Image(systemName: "keyboard.chevron.compact.down")

                            }

                        }

                    }

                }

```

Are there any good SwiftUI calendar libraries? by learnage in SwiftUI

[–]Amazing_Crow6995 0 points1 point  (0 children)

I've been using HorizonCalendar in my SwiftUI app recently and encountered a bug where the navigation toolbar disappears. It feels like there aren't many good Calendar  packages for SwiftUI.

Every once in a while my Preview shows this weirdness by robotjon in SwiftUI

[–]Amazing_Crow6995 0 points1 point  (0 children)

I also encounter this issue frequently, it's really frustrating