Skip to Content

Facebook for iPhone's new 'pull to refresh' looked a little familiar

While the new "Places" GPS check-in feature got most of the attention in Facebook for iPhone's latest update, a more subtle feature made its way into the app's interface: pull to refresh. Users of the official Twitter for iPhone app, previously known as Tweetie, will recognize this UI feature right away, because Tweetie creator Loren Brichter pioneered it and even filed a patent application for it.

If you haven't had the chance to "pull to refresh," it takes advantage of the iPhone's "spring-loaded" page dragging behavior by refreshing content when you navigate to the top of a list and drag down. It's a neat UI trick, and once you use it a few times, you'll wonder why Apple didn't think of it.

Facebook thought pull to refresh was a neat trick, too ... so neat that Facebook allegedly "appropriated" some open source code in order to intro the feature on its iPhone app. Shaun Harrison of enormego writes that after digging through the Facebook app's source code, he found some very familiar entries:

"I finally found the class: TTTableHeaderDragRefreshView. I started looking over to code to see how they accomplished it, and that's when I realized it: this was our class [...] Facebook prefixed some variables, slapped their Three20 branding on it, restructured some code, but it was the same code we wrote. The same code we wrote, with zero mention of us."

The story has a happy ending, though: once the Facebook for iPhone team became aware of the misattributed code, they uploaded a new version with the correct authorship information. Awfully sporting of them; both the engineer who incorporated the code and Facebook's manager of open source efforts took the time to comment on the enormego devs' blog and apologize.

Down the road, Facebook may face an even greater hurdle with the pull to refresh UI element; if Loren Brichter is awarded a patent for pull to refresh, Facebook (and other apps) may have to pay licensing fees to incorporate it.

Categories

iPhone

While the new "Places" GPS check-in feature got most of the attention in Facebook for iPhone's latest update, a more subtle feature made...
 

Add a Comment

*0 / 3000 Character Maximum

36 Comments

Filter by:
danw

I'm not a big fan of this. Essentially, it's interpreting a command to sroll as a command to download more data. You have no idea whether it'll scroll up or do another download because it's not obvious whether or not you're at the top of the list. It's generally not a good idea to make a UI element this way. This one is fairly harmless in that the unintentioned result scrolling doesn't cause any damage (unless you have the 200MB plan and 1,000 Facebook friends who upload photos all day), but imagine if it could.

August 24 2010 at 5:00 PM Report abuse rate up rate down Reply
Tyler

Gowalla has been doing this for as long as I can remember.

August 22 2010 at 11:37 PM Report abuse rate up rate down Reply
umijin

Code, Schmode. If they can keep this app from crashing on my iPad I'll be a lot happier.

August 21 2010 at 1:38 AM Report abuse rate up rate down Reply
dave.rich

Oh, heavens! Someone used my free code in their free app! Release the hounds!

August 20 2010 at 3:09 PM Report abuse rate up rate down Reply
2 replies to dave.rich's comment
Todd

Dave, it's not that the code was used, it's that it was used without attribution.

August 21 2010 at 11:11 AM Report abuse rate up rate down Reply
dave.rich

@Todd: and because of the lack of attribution... wait, what happens, exactly? Loss of warm fuzzies?

I know that my life is complete now that I know where the code came from.

Less flippantly: I get that people have a strong desire to see people's contributions properly attributed. What I don't get is why. In a commercial context, it makes sense because it creates a windfall/loss situation. In an academic context, it makes sense because attribution allows others to check your work and build on it.

But this obsessive need for credit over even the most meagre scraps of code and the most minor of ideas is not only ridiculous, but an impediment to progress. At some point, we need to just give up on the notion that people can "own" ideas that are trivial or obvious. Heck, even our patent system, as effed as it is in many ways, recognizes that.

August 21 2010 at 3:01 PM Report abuse rate up rate down Reply
Brian K.

It is a nice feature, so is Places, of course I know that that's just them ripping off FourSquare, albeit doing it in a much slicker and simpler way all within one app.

August 20 2010 at 1:21 PM Report abuse rate up rate down Reply
Chris

Yeah, I'm pretty sure the FML app was doing this long before Twitter.

August 20 2010 at 12:55 PM Report abuse rate up rate down Reply
Steve

I think we can safely eliminate any possibility that Facebook will ever have any kind of morals. They have shown again and again that this just won't happen.

August 20 2010 at 12:52 PM Report abuse rate up rate down Reply
Jeff

Apple actually incorporates this feature on some of their apps on the Retail iPod Touches in the Stores.

August 20 2010 at 12:09 PM Report abuse rate up rate down Reply
rawrawrawr

Not exactly refreshing a page, but Articles, a Wikipedia app, uses the same mechanism to pock orientation.

August 20 2010 at 11:54 AM Report abuse rate up rate down Reply
1 reply to rawrawrawr's comment
rawrawrawr

Erg *lock. It's late and I'm drunk.

August 20 2010 at 11:55 AM Report abuse rate up rate down Reply
crisss1205

Facebook, Twitter for iPhone, Twittelator, Foursquare
What other apps have the same exact feature?

August 20 2010 at 11:20 AM Report abuse rate up rate down Reply
Buy an ad here

Hot Apps on TUAW

Tweets

© 2012 AOL Inc. All Rights Reserved.