riocros.blogg.se

Swift share on instagram
Swift share on instagram













swift share on instagram
  1. SWIFT SHARE ON INSTAGRAM MANUAL
  2. SWIFT SHARE ON INSTAGRAM CODE

Over time, we’ve had people come along who wanted to add stuff like video, users, and other sorts of data models. Instagram launched back in 2010, with just the images. It sucked to tell our teammates “no.” Just Slap it On (3:41) It’s a cell, somebody designed it, and a product manager worked on it, but it has an array of users, no comments, and it didn’t make any sense. When somebody comes along and says, “Hey, we want to add a new item to the feed,” but it looks like this, we have to say, “sorry, can’t do it, it’s not a feed item”: Our entire app is built around this feed item data model, and it expects this feed item to have an image, a video, comments, etc. You have a single feed item that decides how many comments there are, if we’re going to show an image, if we’re going to play a video, what the user’s name is, etc. This is driven by a data model that we call a “feed item”. You’ve got a supplementary view at the top, you’ve got a cell for the media, a cell for all the action items, and then all these text cells at the bottom. This breakdown works something like this: When we’re looking at a post on Instagram, we see a big section and we break it up into multiple smaller cells. How did it work? (2:05)įor starters, we use collection views. There were a lot of things that made it really challenging.

SWIFT SHARE ON INSTAGRAM MANUAL

There are still a couple pockets of manual memory management, and there’s a lot of mess.

SWIFT SHARE ON INSTAGRAM CODE

If you search through the git history and blame some files, you’ll find some Instagram init code commits in there. Instagram is a 6.5 year old app, but the code base is still the same. Why did we rewrite our feed? In short: technical debt. I want to share a bit about how we work at Instagram through the lens of this story of rewriting our feed. Whenever I go to conferences, I love listening to other industry experience talks because I think it’s fascinating to see how other companies and organizations work. It’s been a really fun process and we’ve learned a lot. For the past year, I’ve been working on rebuilding how our feed works on Instagram. We’ve been doing a lot of really cool work on infrastructure.

swift share on instagram

I’m Ryan Nystrom, an engineer in New York working on Instagram. In this talk from try! Swift, Ryan Nystrom shares his story of what it takes to ship a successful refactor, and introduces Instagram’s open source gift to us all: IGListKit. A video shared on social media shows Healy playing guitar to the sold-out stadium while wearing a skeleton suit.When the Instagram team rewrote their iOS feed from the ground up, they learned more than they anticipated about collection views, diffing, and the dangers of too much spaghetti code. But Healy wasn't just there to watch - he also performed with opening act Phoebe Bridgers. The English pop star was spotted - again - having the time of his life during the concert at Nissan Stadium, belting out the lyrics to some of Swift's biggest hits. The photos come after Swift performed to a packed hometown crowd for the second night, where eagle-eyed fans were quick to notice one particular guest who sent them all into a frenzy. Swift and The 1975 frontman were photographed in Nashville, Tennessee just after midnight on Sunday in the back of their chauffeured car before arriving at Swift's Nashville condo. It's just funny how people really, really buy into that." There's no relationship or anything happening. "She's the biggest pop star in the world and I'm in Australia. "We met each other, we exchanged numbers in the same way that a lot of people in this kind of world do, and we spoke occasionally," he said.















Swift share on instagram