
Apple Writes Entire Framework to Build Native-Like iPad WebApps
Posted April 7, 2010 at 5:06pm by
Shalom Levytam
Similar to what they did for the iPhone, Apple has written an entire framework to build native-like webapps for the iPad.
Done21 reports that the iPad User Guide features a split view which includes scrolling panes that can be manipulated with a single finger, complete with the signature iPhone OS scroll bars and elastic transitions.
After extracting the javascript, Done21 confirmed that Apple was manually reading the touch events, calculating the inertia of the scrolling, and manually drawing the scroll bars.
The framework weighes in at 4,300 lines of code and every class and constant is prefixed with the letters 'AD' for example: ADTabBarController, ADScrollPane, ADViewController, ADView, ADToolbar, etc. It's contained in a file called AdLib-ug-ipad.js, so Done21 has dubbed it AdLib for now.
It would be great if Apple documented and made this framework public; however, they have not done so with the iPhone one.
Maybe we'll hear something tomorrow...
Done21 reports that the iPad User Guide features a split view which includes scrolling panes that can be manipulated with a single finger, complete with the signature iPhone OS scroll bars and elastic transitions.
After extracting the javascript, Done21 confirmed that Apple was manually reading the touch events, calculating the inertia of the scrolling, and manually drawing the scroll bars.
The framework weighes in at 4,300 lines of code and every class and constant is prefixed with the letters 'AD' for example: ADTabBarController, ADScrollPane, ADViewController, ADView, ADToolbar, etc. It's contained in a file called AdLib-ug-ipad.js, so Done21 has dubbed it AdLib for now.
It would be great if Apple documented and made this framework public; however, they have not done so with the iPhone one.
Maybe we'll hear something tomorrow...
![Apple Delays Major Siri AI Upgrade as Testing Reveals Performance Snags [Report] Apple Delays Major Siri AI Upgrade as Testing Reveals Performance Snags [Report]](/images/news/99906/99906/99906-160.jpg)
![Apple Releases macOS Sequoia 15.7.4 and macOS Sonoma 14.8.4 [Download] Apple Releases macOS Sequoia 15.7.4 and macOS Sonoma 14.8.4 [Download]](/images/news/99905/99905/99905-160.jpg)
![Apple Releases iOS 18.7.5 and iPadOS 18.7.5 for Older Devices [Download] Apple Releases iOS 18.7.5 and iPadOS 18.7.5 for Older Devices [Download]](/images/news/99903/99903/99903-160.jpg)
![Apple Officially Releases macOS Tahoe 26.3 [Download] Apple Officially Releases macOS Tahoe 26.3 [Download]](/images/news/99901/99901/99901-160.jpg)
![Apple Officially Releases watchOS 26.3, tvOS 26.3, and visionOS 26.3 [Download] Apple Officially Releases watchOS 26.3, tvOS 26.3, and visionOS 26.3 [Download]](/images/news/99900/99900/99900-160.jpg)





![Original AirTag Drops to All-Time Low Price of $17 [Deal] Original AirTag Drops to All-Time Low Price of $17 [Deal]](/images/news/99856/99856/99856-160.jpg)
![iPad Air (M3) Drops to Lowest Price of the Year at $489.99 [Deal] iPad Air (M3) Drops to Lowest Price of the Year at $489.99 [Deal]](/images/news/99843/99843/99843-160.jpg)
![Beats Powerbeats Pro 2 Drop to $199.95 [Deal] Beats Powerbeats Pro 2 Drop to $199.95 [Deal]](/images/news/99815/99815/99815-160.jpg)
![Apple Watch Series 11 Drops Back to All-Time Low of $299 [Deal] Apple Watch Series 11 Drops Back to All-Time Low of $299 [Deal]](/images/news/99283/99283/99283-160.jpg)
![Apple AirPods 4 With Active Noise Cancellation Drop to $119 [Deal] Apple AirPods 4 With Active Noise Cancellation Drop to $119 [Deal]](/images/news/99794/99794/99794-160.jpg)