Skip to main content

New developer APIs for iOS 8 and OS X 10.10 appear in open-source WebKit

The code shows that this is a new addition for OS X 10.10 and iOS 8.

Slightly ahead of the keynote later today, Apple has pushed some of its new APIs for developers into the open-source channels. The class in question is a new view that appears to replace the current iOS and OS X WebKit implementations, which enables apps to show webpages and other content inline.

The new framework seems to indicate a focus on cross-platform API compatibility, between iOS and OS X. The leaked framework seems to be fully feature-compatible across platforms. This differs to the situation today, where developers must use the ‘WebView’ class for OS X and ‘UIWebView’ for iOS. This should help developers write more reusable code.

The new class still uses different view classes between the two platforms, which indicates that Apple has not ported UIKit over to the Mac, as some developers hoped for.

WebKit uses an open-source license that means Apple must contribute its additions to the framework back into the community. Usually, Apple holds back on releasing the commits until it announces the new tools and frameworks.

In this case, however, Apple engineers seems to have jumped the gun a little early, with the timestamp for the commit saying the code was pushed a few hours ago. No doubt Apple will talk about changes to WebKit and other frameworks in the sessions this week at the conference.

 

FTC: We use income earning auto affiliate links. More.

You’re reading 9to5Mac — experts who break news about Apple and its surrounding ecosystem, day after day. Be sure to check out our homepage for all the latest news, and follow 9to5Mac on Twitter, Facebook, and LinkedIn to stay in the loop. Don’t know where to start? Check out our exclusive stories, reviews, how-tos, and subscribe to our YouTube channel

Comments

  1. AppleMeOut (@AppleMeOut) - 10 years ago

    Guys, the Apple site will probably crash soon so if you want to register your UDID for iOS 8, make sure you do it now! I register UDIDs at theiosbeta.com for cheap if anyones interested!

  2. Taste_of_Apple - 10 years ago

    Reblogged this on Taste of Apple and commented:
    Not too much longer now…

  3. Artem Abramov - 10 years ago

    Guys, the commit that added references to iOS 8_0 and OS X 10_10 was added at 10th of May, so you’re a bit late: https://github.com/WebKit/webkit/commit/1575c10cf94033bc040374ae196c4c3318b518ab

Author

Avatar for Benjamin Mayo Benjamin Mayo

Benjamin develops iOS apps professionally and covers Apple news and rumors for 9to5Mac. Listen to Benjamin, every week, on the Happy Hour podcast. Check out his personal blog. Message Benjamin over email or Twitter.