
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...





![How To Sideload Apps Onto Your iPhone Using Xcode [Video] How To Sideload Apps Onto Your iPhone Using Xcode [Video]](/images/tutorials/52314/52314/52314-160.jpg)
![How To Back Up Your iPhone to an External Drive on Mac [Video] How To Back Up Your iPhone to an External Drive on Mac [Video]](/images/tutorials/72786/72786/72786-160.jpg)
![How To Find Your IP Address on iPhone [Video] How To Find Your IP Address on iPhone [Video]](/images/tutorials/496/496/496-160.jpg)


![AirPods 5 Drop to $99, a New All-Time Low ($30 Off) [Deal] AirPods 5 Drop to $99, a New All-Time Low ($30 Off) [Deal]](/images/news/104094/104094/104094-160.jpg)

![Huge $1,000 Discount on 16-Inch M5 Max MacBook Pro With PROLED XDR, Now $3,799 [Deal] Huge $1,000 Discount on 16-Inch M5 Max MacBook Pro With PROLED XDR, Now $3,799 [Deal]](/images/news/104037/104037/104037-160.jpg)

