Apple has released its iOS 8 SDK [software developer kit], which it says is the biggest developer release ever with more than 4,000 new APIs [application programming interfaces].
iOS 8 allows developers to further customize the user experience with major extensibility features like Notification Center widgets and third-party keyboards; and introduces 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, says Craig Federighi, Apple’s senior vice president of Software Engineering.
iOS 8 offers developers 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.
"We believe Apple’s HealthKit will revolutionize how the health industry interacts with people," says John Noseworthy, M.D., Mayo Clinic president and CEO. "We are proud to be at the forefront of this innovative technology with the Mayo Clinic app."
As HealthKit combines health data to help you take better care of your health, HomeKit lets your home accessories connect seamlessly to better manage your home, says Federighi. HomeKit delivers a common protocol, secure pairing and the ability to 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.
"We are excited to be part of the next step in making home automation a reality, in a safe and integrated way," says Eric Rondolat, CEO, Philips Lighting. "HomeKit will allow us to further enhance the Philips Hue lighting experience by making it simpler to securely pair devices throughout the house and control them using Siri."
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.
Federighi says that 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 purportedly 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 Apple's new programming language for iOS and OS X. Designed for Cocoa and Cocoa Touch, Swift combines the performance and efficiency of compiled languages with the simplicity and interactivity of popular scripting languages, says Federighi. 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 integrate Swift into their existing apps. What's more, Xcode Playgrounds make writing Swift code incredibly interactive by instantly displaying the output of Swift code, adds Federighi.
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;
° 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 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.