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.