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.
Share
Categories
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
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 Permalink rate up rate down ReplyGowalla has been doing this for as long as I can remember.
August 22 2010 at 11:37 PM Report abuse Permalink rate up rate down ReplyCode, 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 Permalink rate up rate down ReplyOh, heavens! Someone used my free code in their free app! Release the hounds!
August 20 2010 at 3:09 PM Report abuse Permalink rate up rate down ReplyDave, 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 Permalink rate up rate down Reply@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.
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 Permalink rate up rate down ReplyYeah, I'm pretty sure the FML app was doing this long before Twitter.
August 20 2010 at 12:55 PM Report abuse Permalink rate up rate down ReplyI 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 Permalink rate up rate down ReplyApple 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 Permalink rate up rate down ReplyNot 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 Permalink rate up rate down ReplyErg *lock. It's late and I'm drunk.
August 20 2010 at 11:55 AM Report abuse Permalink rate up rate down ReplyFacebook, Twitter for iPhone, Twittelator, Foursquare
What other apps have the same exact feature?
Hot Apps on TUAW
Deals of the Day
more deals- Used Apple iMac 17" Core 2 Duo 1.83GHz for $430 + $28 s&h
- Lounge Deluxe Stand for iPhone / iPod touch for $28 + $8 s&h
- Brookstone Surround-Sound Earbuds for $14 + $7 s&h
- Refurbished Skullcandy Tokidoki Smokin' Buds Mic'd Headset for $5 + $2 s&h
- Stitchway Backup Battery for iPod / iPhone for $5 + free shipping
- Used Apple MacBook Pro 2.4GHz 15" LED Laptop for $1,030 + $29 s&h
Software Updates
more updates- EFI Firmware Update brings Lion Internet Recovery to 2010-model Macs
- OS X Lion 10.7.3 released with Safari 5.1.3, Wi-Fi bug fix
- Aperture updated to 3.2.2, addresses Photo Stream issue
- Apple updates Keynote to address Lion issues
- Google Search app gets new look on iPad
- Apple releases Apple TV Software Update 4.4.3



36 Comments