• Home
  • About

Saved searches

  • Remove
  • Verified account @
Suggested users
  • Verified account @
  • Verified account @
  • Language: English
    • Bahasa Indonesia
    • Bahasa Melayu
    • Català
    • Čeština
    • Dansk
    • Deutsch
    • English UK
    • Español
    • Filipino
    • Français
    • Hrvatski
    • Italiano
    • Magyar
    • Nederlands
    • Norsk
    • Polski
    • Português
    • Română
    • Slovenčina
    • Suomi
    • Svenska
    • Tiếng Việt
    • Türkçe
    • Ελληνικά
    • Български език
    • Русский
    • Српски
    • Українська мова
    • עִבְרִית
    • العربية
    • فارسی
    • मराठी
    • हिन्दी
    • বাংলা
    • ગુજરાતી
    • தமிழ்
    • ಕನ್ನಡ
    • ภาษาไทย
    • 한국어
    • 日本語
    • 简体中文
    • 繁體中文
  • Have an account? Log in
    Have an account?
    · Forgot password?

    New to Twitter?
    Sign up
By using Twitter’s services you agree to our Cookie Use and Data Transfer outside the EU. We and our partners operate globally and use cookies, including for analytics, personalisation, and ads.
Catfish_Man's profile
David Smith
David Smith
David Smith
@Catfish_Man

David Smith

@Catfish_Man

http://2.bp.blogspot.com/_D_Z-D2tzi14/S_Yg4ZfcRSI/AAAAAAAAC70/-AkY__Wqt9A/s1600/rage30.png … http://pronoun.is/he/him?or=they 

Joined July 2008
  • © 2016 Twitter
  • About
  • Help
  • Terms
  • Privacy
  • Cookies
  • Ads info
Dismiss
Previous
Next

Go to a person's profile

Saved searches

  • Remove
  • Verified account @
Suggested users
  • Verified account @
  • Verified account @

Retweet this to your followers?

Optional comment for Retweet
 
 

Saved searches

  • Remove
  • Verified account @
Suggested users
  • Verified account @
  • Verified account @
140

Are you sure you want to delete this Tweet?

Promote this Tweet

Block

  • Add a location to your Tweets

    When you tweet with a location, Twitter stores that location. You can switch location on/off before each Tweet and always have the option to delete your location history. Learn more

    Profile summary

    Your lists

    Create a new list


    Under 100 characters, optional

    Privacy

    Copy link to Tweet

    Embed this Tweet

    Embed this Video

    Add this Tweet to your website by copying the code below. Learn more

    Add this video to your website by copying the code below. Learn more

    Hmm, there was a problem reaching the server.

    Preview

    Log in to Twitter

    · Forgot password?
    Don't have an account? Sign up »

    Sign up for Twitter

    Not on Twitter? Sign up, tune into the things you care about, and get updates as they happen.

    Sign up
    Have an account? Log in »

    Two-way (sending and receiving) short codes:

    Country Code For customers of
    United States 40404 (any)
    Canada 21212 (any)
    United Kingdom 86444 Vodafone, Orange, 3, O2
    Brazil 40404 Nextel, TIM
    Haiti 40404 Digicel, Voila
    Ireland 51210 Vodafone, O2
    India 53000 Bharti Airtel, Videocon, Reliance
    Indonesia 89887 AXIS, 3, Telkomsel, Indosat, XL Axiata
    Italy 4880804 Wind
    3424486444 Vodafone
    » See SMS short codes for other countries

    Confirmation

     

    Buy Now

    Hmm... Something went wrong. Please try again.

    Welcome home!

    This timeline is where you’ll spend most of your time, getting instant updates about what matters to you.

    Tweets not working for you?

    Hover over the profile pic and click the Following button to unfollow any account.

    Say a lot with a little

    When you see a Tweet you love, tap the heart — it lets the person who wrote it know you shared the love.

    Spread the word

    The fastest way to share someone else’s Tweet with your followers is with a Retweet. Tap the icon to send it instantly.

    Join the conversation

    Add your thoughts about any Tweet with a Reply. Find a topic you’re passionate about, and jump right in.

    Learn the latest

    Get instant insight into what people are talking about now.

    Get more of what you love

    Follow more accounts to get instant updates about topics you care about.

    Find what's happening

    See the latest conversations about any topic instantly.

    Never miss a Moment

    Catch up instantly on the best stories happening as they unfold.

    Previous Tweet
    David Smith ‏@Catfish_Man Feb 17

    I spend a lot of time whining about misuse of NSUserDefaults, but very little on how to use it. So, I wrote a thing! http://dscoder.com/defaults.html 

    • Retweets 151
    • Likes 311
    • Paul Goracke frytaz1 Andreas Linde Alpaslan Firat Geoff MacDonald astrocat Javi brett walker Genady Okrain
    10:19 PM - 17 Feb 2016
    Haight Ashbury, San Francisco
    0 replies 151 retweets 311 likes
      1. steve holt ‏@steve_holt Feb 17

        @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?

        0 replies 0 retweets 5 likes
      2. View other replies
      3. David Smith ‏@Catfish_Man Feb 17 Haight Ashbury, San Francisco

        @steve_holt I suggest switching to IDS

        0 replies 0 retweets 2 likes
      4. View other replies
      5. steve holt ‏@steve_holt Feb 17

        @Catfish_Man 2nd Q: can NSUD be used as a replacement for associated objects in scenarios where the objc runtime doesn’t support them?

        0 replies 0 retweets 2 likes
      6. David Smith ‏@Catfish_Man Feb 17 Haight Ashbury, San Francisco

        @steve_holt yes, this is what -setVolatileDomain:forName: is for

        0 replies 0 retweets 2 likes
      7. steve holt ‏@steve_holt Feb 17

        @Catfish_Man fantastic. Can that be persisted in the global domain?

        0 replies 0 retweets 1 like
      8. David Smith ‏@Catfish_Man Feb 17 Haight Ashbury, San Francisco

        @steve_holt if you delete your home directory, the global domain will go volatile (…not actually joking 😭)

        0 replies 0 retweets 2 likes
      9. View other replies
      10. steve holt ‏@steve_holt Feb 17

        @Catfish_Man this… this is beautiful, David.pic.twitter.com/lc3b1dOMoV

        0 replies 0 retweets 2 likes
      11. David Smith ‏@Catfish_Man Feb 17 Haight Ashbury, San Francisco

        @steve_holt at least one project in the OS relies on this

        0 replies 0 retweets 0 likes
      12. View other replies
      13. Show more
      1. Brian Webster ‏@bwebster Feb 17

        @Catfish_Man I wrote a subclass of NSIncrementalStore backed by NSUserDefaults. Should I throw myself into a volcano?

        0 replies 2 retweets 27 likes
      2. View other replies
      3. David Smith ‏@Catfish_Man Feb 17 Haight Ashbury, San Francisco

        @bwebster http://i.lvme.me/l2fdwg1.jpg 

        0 replies 1 retweet 10 likes
      4. View other replies
      5. Ghoulie Ghost Terror ‏@uliwitness Feb 17

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

        0 replies 0 retweets 1 like
      6. David Smith ‏@Catfish_Man Feb 17 Haight Ashbury, San Francisco

        @uliwitness @bwebster <MFW when I saw how nanomalloc worked> :D

        0 replies 0 retweets 0 likes
      1. David Smith ‏@Catfish_Man Feb 17 Haight Ashbury, San Francisco

        (Feedback welcome! Let me know if there's anything I can make clearer, or anything I forgot to cover)

        0 replies 0 retweets 1 like
      2. View other replies
      3. Rainer Brockerhoff ‏@rbrockerhoff Feb 18

        @catfish_man great writeup! It implies that persistentDomainForName: is safe for getting a snapshot of (say) the Dock’s preferences, right?

        0 replies 0 retweets 0 likes
      4. David Smith ‏@Catfish_Man Feb 18 Cupertino, CA

        @rbrockerhoff sure. It should be the same as [[[NSUserDefaults alloc] initWithSuiteName:@"com.apple.dock"] dictionaryRepresentation]

        0 replies 0 retweets 1 like
      5. Rainer Brockerhoff ‏@rbrockerhoff Feb 18

        @catfish_man thanks, good to hear I’m doing my unsupported stuff correctly ;-)

        0 replies 0 retweets 2 likes
      1. Adam Demasi  👾 ‏@hbkirb Feb 17

        @Catfish_Man this is amazing, cheers 👍

        0 replies 0 retweets 1 like
      2. David Smith ‏@Catfish_Man Feb 17

        @hbkirb thanks :D

        0 replies 0 retweets 0 likes
      3. Adam Demasi  👾 ‏@hbkirb Feb 17

        @Catfish_Man curious if you’d know: why are they “defaults”? why not “preferences” like the CF functions?

        0 replies 0 retweets 0 likes
      4. David Smith ‏@Catfish_Man Feb 17 Haight Ashbury, San Francisco

        @hbkirb y'know, I don't think I ever asked. I should. At least one person on the team was around back then.

        0 replies 0 retweets 0 likes

    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.

      Promoted Tweet

      false

      • © 2016 Twitter
      • About
      • Help
      • Terms
      • Privacy
      • Cookies
      • Ads info