Over 4,000 new APIs and new programming language called Swift introduced
Apple today released iOS 8 SDK, its biggest developer release ever, which adds major extensibility features like Notification Center widgets and third-party keyboards, and new frameworks such as HealthKit and HomeKit. iOS 8 also includes Metal, a new graphics technology that maximizes the performance of the A7 chip and Swift, a powerful new programming language. In total Apple says there are over 4,000 new APIs.
iOS 8 offers developers robust frameworks including HealthKit APIs that provide the ability for health and fitness apps to communicate with each other. With your permission, each app can use specific information from other apps to provide a more comprehensive way to manage your health and fitness. For example, your blood pressure app could share its data with a physician app, such as the Mayo Clinic app, so your doctor can provide high-quality guidance and care.
The new HomeKit lets your home accessories connect seamlessly to better manage your home. HomeKit delivers a common protocol, secure pairing and the ability to easily control individual or groups of devices throughout the house including integration with Siri. For example, you can tell Siri you are “going to bed” and it could dim the lights, lock your doors, close the garage door and set the thermostat.
Developers can further customize the user experience with iOS extensions, including new sharing options, custom photo filters, custom actions and document APIs. Developers can now add their own widgets into Notification Center, and third-party keyboards offer additional layouts and input methods.
Gaming on iOS takes a huge leap forward in iOS 8 with Metal, a new graphics technology that maximizes performance on the A7 chip. With its dramatic 10 times improvement in draw call speed, Metal enables leading game providers for the first time to bring console-class 3D games to mobile devices. For casual games, iOS 8 now features SceneKit, making it easy to create fun 3D games, along with major enhancements to SpriteKit, including field forces, per-pixel physics and inverse kinematics.
Swift is a powerful new programming language for iOS and OS X that makes it easier than ever for developers to create incredible apps. Designed for Cocoa and Cocoa Touch, Swift combines the performance and efficiency of compiled languages with the simplicity and interactivity of popular scripting languages. By design, Swift helps developers write safer and more reliable code by eliminating entire categories of common programming errors, and coexists with Objective-C code, so developers can easily integrate Swift into their existing apps. Xcode Playgrounds make writing Swift code incredibly interactive by instantly displaying the output of Swift code.
iOS 8 also includes Touch ID APIs enabling developers to securely authenticate users within apps, protect logins and user data, and unlock keychain items. With iOS 8, developers can provide authentication with a successful fingerprint match while keeping your fingerprint data safe and protected in the secure enclave.
Additional iOS 8 developer features include:
- PhotoKit, so developers can tap into the power of the same robust framework as the built-in Photos app for faster performance, nondestructive edits and the ability to both read and write to the Photos library;
- new Camera APIs, giving developers fine grain control over focus, white balance and exposure;
- CloudKit, a complete and scaleable back-end solution helps developers eliminate the need for writing server code and maintaining servers; and
- new App Store features for developers like app previews and app bundles, the new iTunes Connect with free analytics and TestFlight for beta testing pre-release apps.
The iOS 8 beta software and SDK are available immediately for iOS Developer Program members at developer.apple.com. This fall (2014) iOS 8 will be available as a free software update for iPhone 4s, iPhone 5, iPhone 5c, iPhone 5s, iPod touch 5th generation, iPad 2, iPad with Retina display, iPad Air, iPad mini and iPad mini with Retina display. iCloud Photo Library and iCloud Drive use your iCloud storage with the first 5GB free. Features are subject to change. Some features may not be available in all regions or all languages.
A beta version of Swift is available immediately for iOS and OS X Developer Program members at developer.apple.com. The final version will be made available this fall, and apps written in Swift can be submitted to the App Store and Mac App Store when iOS 8 and OS X Yosemite are released.