• 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.
kyleve's profile
Kyle❤️😇🌤🍻🌈
Kyle❤️😇🌤🍻🌈
Kyle ❤️ 😇 🌤 🍻 🌈
@kyleve

Kyle ❤️ 😇 🌤 🍻 🌈

@kyleve

Register iOS Engineering Manager at @Square. Great software defers to the customer.

Joined May 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
    Kyle ❤️ 😇 🌤 🍻 🌈 ‏@kyleve 19 May 2015

    Protip: One of my new favorite patterns for scoping mutable variables, so they don’t clutter up a method:pic.twitter.com/u3FTUSpU3y

    • Retweets 6
    • Likes 28
    • raj Alec Holmes Antonio Jon Friskics Abraham Vegh Manuel Maly Joseph McLaughlin Dan Bostonweeks Christian Roman
    8:21 AM - 19 May 2015
    0 replies 6 retweets 28 likes
      1. Scott ‏@numist 19 May 2015

        @kyleve: I love that pattern. I used to do `id foo; { …; foo = …; }`, but blocks make it way easier to understand and encapsulate the work.

        0 replies 0 retweets 1 like
      2. Kyle ❤️ 😇 🌤 🍻 🌈 ‏@kyleve 19 May 2015

        @numist Yeah; that’s one reason I prefer the blocks. Causes less “what does this do” from others.

        0 replies 0 retweets 1 like
      1. Javi ‏@Javi 19 May 2015

        @kyleve there's a syntax to do this in C that doesn't greater a block, but I never remember it and #prematureoptimizations anyway

        0 replies 0 retweets 1 like
      2. Nick Lockwood ‏@nicklockwood 19 May 2015

        @Javi @kyleve this works: NSArray *foo; { NSMutableArray *mutableFoo = … [mutableFoo addObject:…]; foo = [foo copy]; }

        0 replies 0 retweets 4 likes
      3. View other replies
      4. Nick Lockwood ‏@nicklockwood 19 May 2015

        @Javi @kyleve I vaguely recall there's an even cleaner way, but I don't know how to google for it ¯\_(ツ)_/¯

        0 replies 0 retweets 0 likes
      5. View other replies
      6. Nick Lockwood ‏@nicklockwood 19 May 2015

        @Javi @kyleve (that last line should have been foo = [mutableFoo copy]; but you knew that)

        0 replies 0 retweets 0 likes
      7. Kyle ❤️ 😇 🌤 🍻 🌈 ‏@kyleve 19 May 2015

        @nicklockwood @Javi Didn’t even notice that :-)

        0 replies 0 retweets 0 likes
      8. Nick Lockwood ‏@nicklockwood 19 May 2015

        @kyleve @Javi I think this is supposed to work, but doesn't. Maybe its a compiler setting? self.frame = { CGRect r; r.origin = … r; }

        0 replies 0 retweets 1 like
      9. View other replies
      10. Decorative Jord ‏@_Jordan 19 May 2015

        @nicklockwood @kyleve @Javi You need parens.

        0 replies 0 retweets 0 likes
      11. Nick Lockwood ‏@nicklockwood 19 May 2015

        @_Jordan @kyleve @Javi like this? self.frame = ({ ... });

        0 replies 0 retweets 0 likes
      12. Show more
      1. Zac West ‏@zacwest 19 May 2015

        @kyleve You can also do ({…; retVal}) but maybe this is more clear.

        0 replies 0 retweets 0 likes
      2. View other replies
      3. Kyle ❤️ 😇 🌤 🍻 🌈 ‏@kyleve 19 May 2015

        @zacwest That’s one reason I do it this way; much more clear.

        0 replies 0 retweets 0 likes
      1. Roman Efimov ‏@romaonthego 19 May 2015

        @kyleve var = ({ NSObject *obj = http://NSObject.new ; ... obj; }); is more optimized

        0 replies 0 retweets 0 likes
      2. Kyle ❤️ 😇 🌤 🍻 🌈 ‏@kyleve 19 May 2015

        @romaonthego Lots of things are more optimized than other things; understandability for coworkers is more top of mind for me.

        0 replies 0 retweets 0 likes
      3. Show more
    1. Michael Tsai ‏@mjtsai 19 May 2015

      @kyleve Interesting. And I guess you could "return" early if there's an error or to get out of a loop.

      0 replies 0 retweets 0 likes
    2. Mark Adams ‏@hyperspacemark 19 May 2015 Mission Bay, San Francisco

      @kyleve You could also omit the ^, explicit return, and () and wind up with the same result.

      0 replies 0 retweets 1 like
    3. Heath Borders ‏@heathborders 19 May 2015

      @kyleve I only use blocks if I need it to be an expression `id foo; { id bar; foo = bar.baz }`

      0 replies 0 retweets 0 likes
    4. Dan Bostonweeks ‏@danimal 19 May 2015

      @kyleve beautiful really.

      0 replies 0 retweets 0 likes
    5. Michael Gorbach ‏@mgorbach 19 May 2015

      @kyleve cute. I’ll be using that one!

      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