AAPL Stock: 122.37 ( -0.62 )

Printed from

Twitter offers open-source UI framework for Mac

updated 06:10 pm EDT, Fri July 1, 2011

TwUI serves as basis of Twitter for Mac

Twitter's engineering team has introduced an open-source framework that aims to help developers build interfaces for Mac OS X. The standard, labeled TwUI, is said to take inspiration from UIKit for iOS devices, enabling developers to take advantage of GPU acceleration for interactive interfaces. The company built TwUI using Core Animation, with interaction ideas taken from AppKit.

"It allows for all the things Mac users expect, including drag & drop, mouse events, tooltips, Mac-like text selection, and so on," Twitter engineers wrote in a blog post. "And, since TwUI isn't bound by the constraints of an existing API, developers can experiment with new features like block-based drawRect and layout."

TwUI will serve as the foundation for Twitter's official Mac client. The company suggests it will continue to add new features and make improvements going forward.

by MacNN Staff



  1. Gametes

    Joined: Dec 1969



    This makes no sense. Hey, let's (2 engineers working at Twitter) completely reinvent the wheel! Maybe we can eventually make something better than the (211 engineers) guys working at Apple!

    Don't get me wrong, I just read the spec and obviously CA-based view hierarchy and block-centered code is a good thing. But Apple is clearly moving in this direction since they provided the tools in the first place. Any developer who adopts this will just be sinking a cost into something they'll have to abandon for a better, more complete, more integrated sanctioned release from Apple in a year or so.

    Meanwhile, Twitter doesn't release simple UI elements which would be used voraciously by the dev community, such as their custom vertical tab bar. Totally missed the target here; these devs are wasting Twitter's money.

    Yes, I looked at the code. It's beautiful - it's just a wash.

Login Here

Not a member of the MacNN forums? Register now for free.


Network Headlines

Follow us on Facebook


Most Popular


Recent Reviews

HP 14-x030nr 14-inch Chromebook

If you're like us, chances are you've come to realize that you need the ability to access the Internet on the go. Also, you've prob ...

15-inch MacBook Pro with Force Touch

Apple's 15-inch Retina MacBook Pro continues to be a popular notebook with professional users and prosumers looking for the ultimate ...

Typo keyboard for iPad

Following numerous legal shenanigans between Typo -- a company founded in part by Ryan Seacrest -- and the clear object of his physica ...


Most Commented