• 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.
rpy's profile
the result respecter
the result respecter
the result respecter
@rpy

the result respecter

@rpy

Developer of web, iOS and real-time public transport things like @NextThere and @triptasticapp. Making cities better one dataset at a time.

Joined April 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
    the result respecter ‏@rpy May 8

    My discovery for the day is iOS has an O(n^2) cost to add a subview so never have too many subviews on a view or performance goes to shit

    • Retweets 70
    • Likes 106
    • Autumn Mansfield Sophie Morrison Kay thee Jesse Bounds Rajath shetty K Michael Hood Gianni Gianino Kostas Karayannis Dennis
    10:56 PM - 8 May 2016
    0 replies 70 retweets 106 likes
      1. Wooji Juice ‏@wooji May 9

        @rpy @olebegemann I've found that setting tintColor on the view manually before adding it to the hierarchy helps a lot.

        0 replies 10 retweets 21 likes
      2. View other replies
      3. the result respecter ‏@rpy May 9

        @wooji @olebegemann great call, just tested out setting tintColor on the subviews before adding and found CPU time went from 980ms to 110ms

        0 replies 19 retweets 28 likes
      4. View other replies
      5. Mike Rundle ‏@flyosity May 9

        @rpy @olebegemann @wooji That's incredible. Maybe a UIView category that sets tintColor on init to some app-wide standard?

        0 replies 0 retweets 2 likes
      1. Benjamin Encz ‏@benjaminencz May 9 Telegraph Hill, San Francisco

        @rpy @nicklockwood the UITintColorVisitor has an extremely inefficient implementation that searches for subview via “contains:”

        0 replies 2 retweets 2 likes
      2. View other replies
      3. the result respecter ‏@rpy May 9

        @benjaminencz yup that’s exactly where i ended up. can’t find the exact conditions it gets invoked in but setting tintColor avoids it

        0 replies 0 retweets 0 likes
      4. Benjamin Encz ‏@benjaminencz May 9 San Francisco, CA

        @rpy I've started a short blog post investigating this. Seems like I should finish & publish 😉

        0 replies 0 retweets 0 likes
      5. the result respecter ‏@rpy May 9

        @benjaminencz if you don’t i’m inclined to, seems folks are interested and i took a lot of notes analysing it today

        0 replies 0 retweets 0 likes
      6. Benjamin Encz ‏@benjaminencz May 9 San Francisco, CA

        @rpy I'll try to wrap it up tonight. But don't want to stop you from blogging! could compare notes though.

        0 replies 0 retweets 1 like
      1. karlBowden.async() ‏@karlbowden May 9 Birmingham Gardens, Newcastle

        @rpy oh ……………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………… How many is too many?

        0 replies 0 retweets 0 likes
      2. the result respecter ‏@rpy May 9

        @karlbowden depends, i hit trouble at about 300. the more you add, the more you risk running into this blokepic.twitter.com/7VlcBfZW71

        0 replies 0 retweets 8 likes
      3. karlBowden.async() ‏@karlbowden May 9 Birmingham Gardens, Newcastle

        @rpy ooooooooo. Oh. Time I rethought displaying a year’s worth of days as UIViews maybe…. #JankAllTheThings

        0 replies 0 retweets 0 likes
      4. the result respecter ‏@rpy May 9

        @karlbowden stuff them into some sort of hierarchy rather than all being descendents of a single view and you are 😎

        0 replies 0 retweets 1 like
      5. karlBowden.async() ‏@karlbowden May 9

        @rpy haha. Month grouping it is then. 👌

        0 replies 0 retweets 0 likes
      1. Friedrich Markgraf ‏@fzwob May 9

        @rpy @olebegemann Sounds like The Magic of AutoLayout to me.

        0 replies 0 retweets 1 like
      2. the result respecter ‏@rpy May 9

        the result respecter Retweeted the result respecter

        @fzwob @willemkokke wasn’t using autolayout in this case, it’s to do with the mechanism that propagates tint changeshttps://twitter.com/rpy/status/729573811348066305 …

        the result respecter added,

        the result respecter @rpy
        @karlbowden depends, i hit trouble at about 300. the more you add, the more you risk running into this bloke pic.twitter.com/7VlcBfZW71
        0 replies 8 retweets 7 likes
      3. View other replies
      4. Martin Pilkington ‏@pilky May 9

        @rpy @olebegemann @fzwob @willemkokke Yeah, auto layout is pretty fast as long as you don't add all your views & constraints at once

        0 replies 0 retweets 1 like
      1.  💀spooky email sender ‏@taybenlor May 8

        @rpy oh wow, that is super strange but explains things

        0 replies 0 retweets 0 likes
      2. the result respecter ‏@rpy May 8

        @taybenlor me debugging the workings of-[UITintColorVisitor visitView:]: view has 244 subviews and it runs containsObject: 244 times, hmmmm

        0 replies 2 retweets 5 likes
      1. Jamie Forrest ‏@jamieforrest May 9

        @rpy Have you filed a radar?

        0 replies 0 retweets 0 likes
      2. the result respecter ‏@rpy May 9

        @jamieforrest haven't had time to create a sample project and file one yet but will do

        0 replies 0 retweets 1 like

    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