Post

Replies

Boosts

Views

Activity

Reply to Limitations for attributes in SwiftData models?
I wish. On a closely related topic, I put in FB15164782 asking for documentation on how SwiftData encodes/decodes struct-valued attributes, but yes, more general documentation would help. And better runtime diagnostics. Adding iCloud support to a store further limits the attribute types allowed.
Topic: UI Frameworks SubTopic: General Tags:
Sep ’24
Reply to macOS app icon not updating. Cached?
Answer by @shenlong2210 worked for me, though for zsh I needed slightly different syntax: sudo rm -rfv /Library/Caches/com.apple.iconservices.store sudo find /private/var/folders/ \( -name com.apple.dock.iconcache -or -name com.apple.iconservices \) -exec rm -rfv {} \; sleep 3 sudo touch /Applications/* touch ~/Applications/* killall Dock killall Finder (I didn't use the touch commands and it seemed to work for my situation.)
Nov ’24
Reply to Custom struct Codable for SwiftData
I put in FB15164782 asking for documentation on how SwiftData encodes/decodes struct-valued attributes.
Replies
Boosts
Views
Activity
Sep ’24
Reply to Limitations for attributes in SwiftData models?
I wish. On a closely related topic, I put in FB15164782 asking for documentation on how SwiftData encodes/decodes struct-valued attributes, but yes, more general documentation would help. And better runtime diagnostics. Adding iCloud support to a store further limits the attribute types allowed.
Topic: UI Frameworks SubTopic: General Tags:
Replies
Boosts
Views
Activity
Sep ’24
Reply to macOS app icon not updating. Cached?
Answer by @shenlong2210 worked for me, though for zsh I needed slightly different syntax: sudo rm -rfv /Library/Caches/com.apple.iconservices.store sudo find /private/var/folders/ \( -name com.apple.dock.iconcache -or -name com.apple.iconservices \) -exec rm -rfv {} \; sleep 3 sudo touch /Applications/* touch ~/Applications/* killall Dock killall Finder (I didn't use the touch commands and it seemed to work for my situation.)
Replies
Boosts
Views
Activity
Nov ’24
Reply to Cannot load iTunesLibrary on macOS Sequoia 15.1
I only needed to add "iTunes/Media Access", not "Full Disk Access". I'd done that for a prior IT app I'd written but forgot the access toggle. I'll suggest they update the docs. [Edit: suggested at FB16323701]
Topic: Media Technologies SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jan ’25
Reply to Single window keyboard shortcut
Grr. Seriously, this was not working when I posted. Even after cleans and rebuilds. But now... it works. I even made a demo app, but it works there too. So to quote Emily, "Nevermind!"
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jan ’25