home.social

#userdefaults — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #userdefaults, aggregated by home.social.

  1. 👋🏾 I’m seeking recommendations for other libraries similar to Zephyr (github.com/ArtSabintsev/Zephyr) that simplify syncing UserDefaults across iCloud.

    #SwiftUI #UserDefaults #SwiftLang #iOSDev

  2. 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

  3. 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

  4. 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

    #SwiftLang, #WebExtension, #SafariWebExtension, #NativeApp, #JavaScript, #AppGroup #UserDefaults

  5. 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

    #SwiftLang, #WebExtension, #SafariWebExtension, #NativeApp, #JavaScript, #AppGroup #UserDefaults

  6. 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

    #SwiftLang, #WebExtension, #SafariWebExtension, #NativeApp, #JavaScript, #AppGroup #UserDefaults

  7. 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

    #SwiftLang, #WebExtension, #SafariWebExtension, #NativeApp, #JavaScript, #AppGroup #UserDefaults

  8. 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

    #SwiftLang, #WebExtension, #SafariWebExtension, #NativeApp, #JavaScript, #AppGroup #UserDefaults

  9. 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

  10. #wwdc2023 on #ios and we‘re raving about getting one basic (but sluggish) button tap for „interactive“ widgets while the age-old #userdefaults key-value-store needs permission description - phew #innovation #scurve

  11. #wwdc2023 on #ios and we‘re raving about getting one basic (but sluggish) button tap for „interactive“ widgets while the age-old #userdefaults key-value-store needs permission description - phew #innovation #scurve

  12. #wwdc2023 on #ios and we‘re raving about getting one basic (but sluggish) button tap for „interactive“ widgets while the age-old #userdefaults key-value-store needs permission description - phew #innovation #scurve

  13. #wwdc2023 on #ios and we‘re raving about getting one basic (but sluggish) button tap for „interactive“ widgets while the age-old #userdefaults key-value-store needs permission description - phew #innovation #scurve

  14. 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

  15. 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

    #tvOS #swift #userdefaults