@Catfish_Man thanks for this guide, David!
Q: when I use NSUD as a message passing medium, my app perf drops. Can you make dispatch faster?
-
-
- View other replies
-
@steve_holt I suggest switching to IDS - View other replies
-
@Catfish_Man 2nd Q: can NSUD be used as a replacement for associated objects in scenarios where the objc runtime doesn’t support them? -
@steve_holt yes, this is what -setVolatileDomain:forName: is for -
@Catfish_Man fantastic. Can that be persisted in the global domain? -
@steve_holt if you delete your home directory, the global domain will go volatile (…not actually joking
) - View other replies
-
-
@steve_holt at least one project in the OS relies on this - View other replies
- Show more
-
-
-
@Catfish_Man I wrote a subclass of NSIncrementalStore backed by NSUserDefaults. Should I throw myself into a volcano? - View other replies
- View other replies
-
@Catfish_Man@bwebster I think that SO OFTEN about code. Imagine that Dr. Who "you're so beautiful" grin, followed by running for my life. -
@uliwitness@bwebster <MFW when I saw how nanomalloc worked> :D
-
-
-
(Feedback welcome! Let me know if there's anything I can make clearer, or anything I forgot to cover)
- View other replies
-
@catfish_man great writeup! It implies that persistentDomainForName: is safe for getting a snapshot of (say) the Dock’s preferences, right? -
@rbrockerhoff sure. It should be the same as [[[NSUserDefaults alloc] initWithSuiteName:@"com.apple.dock"] dictionaryRepresentation] -
@catfish_man thanks, good to hear I’m doing my unsupported stuff correctly ;-)
-
-
-
@Catfish_Man this is amazing, cheers
-
@hbkirb thanks :D -
@Catfish_Man curious if you’d know: why are they “defaults”? why not “preferences” like the CF functions? -
@hbkirb y'know, I don't think I ever asked. I should. At least one person on the team was around back then.
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
David Smith
steve holt
Brian Webster
Ghoulie Ghost Terror
Rainer Brockerhoff
Adam Demasi