
Apple Writes Entire Framework to Build Native-Like iPad WebApps
Posted April 7, 2010 at 5:06pm by iClarified
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 Begins Testing Under-Display Face ID for iPhone 18 [Rumor] Apple Begins Testing Under-Display Face ID for iPhone 18 [Rumor]](/images/news/99280/99280/99280-160.jpg)


![Apple Confirms Exclusive US F1 Coverage Starts March 7, Shares First Look at Interface [Video] Apple Confirms Exclusive US F1 Coverage Starts March 7, Shares First Look at Interface [Video]](/images/news/99274/99274/99274-160.jpg)





![Apple Watch Series 11 Drops to New All-Time Low of $299 [Deal] Apple Watch Series 11 Drops to New All-Time Low of $299 [Deal]](/images/news/99283/99283/99283-160.jpg)
![AirPods 4 With ANC Are Still On Sale for Just $99! [Lowest Price Ever] AirPods 4 With ANC Are Still On Sale for Just $99! [Lowest Price Ever]](/images/news/99264/99264/99264-160.jpg)
![Final Cyber Monday Deals: M4 MacBook Air for $749, Beats, Sonos, and More [List] Final Cyber Monday Deals: M4 MacBook Air for $749, Beats, Sonos, and More [List]](/images/news/99203/99203/99203-160.jpg)
![iPad mini 7 Falls to New All-Time Low of $349 [Cyber Monday 2025] iPad mini 7 Falls to New All-Time Low of $349 [Cyber Monday 2025]](/images/news/99197/99197/99197-160.jpg)
![Apple Watch Series 11 Drops to New All-Time Low Price of $329 [Cyber Monday 2025] Apple Watch Series 11 Drops to New All-Time Low Price of $329 [Cyber Monday 2025]](/images/news/99195/99195/99195-160.jpg)