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 Electronista Staff


  1. Gametes

    Mac Elite

    Joined: Sep 2000



    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


Most Popular


Recent Reviews

Linksys WRT1200AC Wi-Fi Router

Once upon a time, a brand-new Linksys router showed up on our doorstep. So we gathered some network-minded friends together, and hooke ...

Rapoo A300 Mini Bluetooth NFC Speaker

The Rapoo Bluetooth Mini NFC Speaker is a little metallic box about the size of a baseball. In spite of its small size, we were very p ...

Neurio Intelligent Home Monitor

The recently released Neurio Intelligent Home Monitor is a piece of hardware that, when integrated into a home's breaker box, monitors ...



Most Commented


Popular News