#userdefaults

2024-12-09

šŸ‘‹šŸ¾ I’m seeking recommendations for other libraries similar to Zephyr (github.com/ArtSabintsev/Zephyr) that simplify syncing UserDefaults across iCloud.

#SwiftUI #UserDefaults #SwiftLang #iOSDev

Thibault Le Cornectibimac
2024-09-22

on in vs iOS 18 on device... Some keys seems device-specific and are not filtered .... šŸ˜•
And I have to get rid of this new key `shouldShowRSVPDataDetectors` (new in iOS 18).

Adam Overholtzeradam@iosdev.space
2024-03-14

There are a few folks talking about the same issue:

An older Apple dev forum thread about prewarming (is this still relevant?)
forums.developer.apple.com/for

StackOverflow post where folks blame a missing privacy manifest, but that doesn’t make sense does it?
stackoverflow.com/questions/77

#iosdev #userdefaults

Adam Overholtzeradam@iosdev.space
2024-03-14

Has anyone else been getting reports of their iOS app’s data just… vanishing? Specifically, it sounds like UserDefaults is being reset. This doesn’t seem to be hitting a lot of my users, but the ones it hits are seeing it over and over.
#iosdev #userdefaults

2024-02-12

The problem with lots of progress over the weekend.. is lots of write up too! So many typos... but Lines now has a button that acts just like the paste button but uses an AppGroup and UserDefaults behind the scenes instead of the Pasteboard.

whynotestflight.com/excuses/ok

, , , , ,

combined screenshot of both the macOS and iOS Lines app with a focus on the new "load latest" link
omboidevboi
2023-11-26

Do you use ? I recently have been preferring any thoughts?

Recent #iOS development journal on data #persistency

1. Implemented everything with #UserDefaults and raw file system
2. Feeling in need of a higher level abstraction
3. #SQLite is too much for now, and I don't want to bother with schema migration on a client device
4. Core Data looks what I need, but friends warned me to avoid it
5. #GRDB seems to hold a good reputation comparing to Core Data
6. Let me try Core Data, it seems to improved a lot recently

#Apple #iOS #swift #CoreData #devjournal

Oliveromich
2023-08-11

on and weā€˜re raving about getting one basic (but sluggish) button tap for ā€žinteractiveā€œ widgets while the age-old key-value-store needs permission description - phew

Uli Kusterer (Not a kitteh)uliwitness@chaos.social
2023-07-18

Mac/iOS devs! PLEASE prefix your user defaults keys!

User defaults are combined in layers. So system settings like your app's accent color are inserted into your user defaults, even if you don't see them in the .plist file.

While Apple has recently switched to prefixes like ā€˜NS’ and ā€˜com.apple.’ for their defaults keys, I've seen keys in the past there that were very simple and un-prefixed. The expectation was your app would use the same prefix it used in ObjC.

#swift #userDefaults #swiftlang

rico beckerricobeck
2022-12-04

TIL
Currently there is no limit for local user defaults except on tvOS, where a warning notification will be posted at 512kB, and the process terminated at 1MB

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst