Sixten Otto

@sfko
9 Followers
25 Following
64 Posts

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

How in the world I did not know about this until today 😅 #SwiftUI

TIL you can link directly to text content in a web page without using an ID attribute

#WebDevelopment

https://alfy.blog/2024/10/19/linking-directly-to-web-page-content.html

Smarter than 'Ctrl+F': Linking Directly to Web Page Content

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.

Ahmad Alfy's Blog

Did your iOS 17 Simulators get deleted recently?

The macOS anti-malware system XProtect got an update a couple of days ago, XProtectPayload 132, it found a false positive in the simulator runtime disk image and so would try and eliminate it. An updated 133 is out, check for updates and it should download the security update.

I'm quoted in this news article about Vernor Vinge's passing. He was a lovely person, and will be missed.

https://www.popsci.com/science/vernor-vinge-obit/

Vernor Vinge, influential sci-fi author who warned of AI ‘Singularity,’ has died

Vinge’s visions of the future enthralled and influenced generations of writers and tech industry leaders. He was 79.

Popular Science

Did you know you can easily search and insert SFSymbols within #Xcode without leaving it once?
Just select the place where you want to insert it, press cmd + shift + L, search for your icon, select it, and that's it.

#iosdev #SwiftUI

Hello, world! We're live. This is The SwiftUI Field Guide, an interactive, visual explanation of the SwiftUI layout system. https://www.swiftuifieldguide.com
SwiftUI Field Guide

A visual guide to help explore SwiftUI

SwiftUI Field Guide
Happy Exploding Whale Day to those who celebrate https://www.youtube.com/watch?v=V6CLumsir34
The Exploding Whale: An infamous moment in Oregon history creates a strangely beloved icon

The infamous KATU Exploding Whale video has remastered! To celebrate the 50th anniversary of the infamous beached whale incident that took place in Florence,...

YouTube

Has anyone managed to successfully use NSStagedMigrationManager to migrate a Core Data store on iOS 17? I’ve tried, but so far haven’t managed to get it to work. Maybe you can help?

https://developer.apple.com/forums/thread/734693

#CoreData #iOSDev #iOS17

Has anyone successfully used NSSta… | Apple Developer Forums

Overall, the most prolific change from iOS 17 b3 to b4 (according to the release notes) appears to be changing “may” to “might” in a bunch of the known issues.
#iOSDev