Upgrade to Pro — share decks privately, control downloads, hide ads and more …

iOS at Tumblr

Bryan Irace
August 20, 2015

iOS at Tumblr

Slides from an overview of Tumblr’s iOS processes given at Artsy on 8/20/2015.

Bryan Irace

August 20, 2015
Tweet

More Decks by Bryan Irace

Other Decks in Technology

Transcript

  1. iOS at Tumblr
    Bryan Irace, 8/20/2015

    View full-size slide

  2. The teams: 2012 - 2015
    • One iOS team and one Android team
    • Up to ~8 developers each

    View full-size slide

  3. The teams: 2015 – ?
    • iOS and Android “Core” teams
    • ~3-4 developers each
    • iOS and Android engineers embedded on each product
    team
    • ~5 full time (per platform)
    • ~10 part-time/trainees (per platform)

    View full-size slide

  4. Internal training

    View full-size slide

  5. Horizontal camraderie
    • Public Slack channels (#ios, #ios_core)
    • Weekly variety hours (“Multipeer Connectivity”)
    • Pair programming system
    • In-person code reviews
    • Speaker series
    • Remote-friendly
    • !"

    View full-size slide

  6. Development
    • Git flow
    • Pods checked into source control

    View full-size slide

  7. Code organization
    • Development pods in our primary repo
    • Pods in separate internal (private) repos
    • Open source pods
    • TMTumblrSDK

    View full-size slide

  8. Languages
    • Lots of Objective-C
    • Most new code in Swift

    View full-size slide

  9. Pull requests
    • PRs need milestones to be reviewed
    • Each release has a “driver”
    • Assigns PRs in a round-robin
    order (responsible for merging)
    • Responsible for sending out beta
    builds,

    View full-size slide

  10. You are not your code

    View full-size slide

  11. Releases
    • Submit to the App Store every two weeks
    • Development completion “lockdown” dates
    • Feature flagging
    • Phased roll-outs
    • Flag off code that isn’t finished yet

    View full-size slide

  12. Automation
    • Slack bot for distributing beta builds
    • Nightly alpha builds
    • Builds and runs tests for each PR
    • Fastlane for App Store submissions
    • Ideally would happen automatically

    View full-size slide

  13. Core tenets
    • Offline support
    • Being good platform citizens

    View full-size slide

  14. Biggest challenges
    • Heterogenous content
    • Media-heavy
    • Scroll performance
    • Memory footprint
    • Rich text rendering

    View full-size slide