@amyworrall Two examples I can think of that are trying to do similar things:
- StackOverflow when you’re asking a question
- eBay when you’re posting an item
I’m not sure that either of them is a good model to follow, but maybe they might spark some ideas?
SwiftUI Tip: I see this in PRs and production code all the time (even AI gets it wrong!) 👀
Instead of nesting Image in a Button's label, just use .labelStyle(.iconOnly)
✅ More accessible
✅ More readable
✅ Fewer lines
✅ Better SwiftUI
Stop fighting the framework!
#SwiftUI #iOSDev #FlineDevSnippets
TIL you can link directly to text content in a web page without using an ID attribute
https://alfy.blog/2024/10/19/linking-directly-to-web-page-content.html
Discover how text fragments revolutionize web navigation. Learn to link directly to specific text on any web page, surpassing traditional 'Ctrl+F' searches. Explore this powerful, user-friendly feature for precise content sharing and improved web experiences.