iOS 10, the next-generation operating system for iPhone and iPad is on the way. Apple has already released iOS 10 beta 4 version for all users and beta 5 version for developers only.
iOS 10 offers a deep learning curve for developers and a better user interface for iOS lovers. There are plenty of exciting features to be explored. The final launch is expected to be on September 2016.
Fortified iMessage for developers
It’s the largest enhancement apple has ever made. Developers can play with the latest iMessage app to edit photos online, do payments etc. Live interactive long lasting messages in a shared group and messages that would be live with an expiry date set for them.
iMessage API supports all these features as a further extension by APPLE. Provided the recipient is uninstalled with the iMessage application, there would be a link available for the delivered messages.
Another impressive attraction is that the new Xcode 8 simulator which has a developer mode to let you see both sides of the conversation . Debugging becomes much more simpler this way.
An important issue developers face is that their debuggers sometimes fail to identify errors. Simplified by making your breakpoints working. This can be done as below :
go to “debug attach” -> “process” -> ”message extensions”.
APPLE also provides support to custom messages along with message extensions encrypted within.
Stunning life-like Animations
iOS 10 brings out more lively & fine tuned animation effects, for superlative user experience unlike previous versions where it was cumbersome to create high quality animations. Now the developers have more flexibility and control over the animations and GIFs.
The key class to handle animation is UIViewPropertyAnimator , which gives the option to create reusable animations.
Recreate speech to text
iOS 10 introduces a new API that supports speech recognition. Speech recognizer lets you to build apps that can recognize speech and transcribe it into text. The application acts according to the text that has been converted from speech.
The three important process are :
The entire complex process is managed and regulated by SFSpeechRecognizer
- SFSpeechURLRecognitionRequest allows you to request transcription of recorded audio file.
- The result, which includeS transcribed text, callbacks etc. is given back via SFTranscription
New and advanced notification features
Apple had introduced much improved notification support which we can deliver. Even though there is a deep learning curve, developers are capable of handling various aspects of notifications including creating notification message, triggering notification, user authentication etc. There is no UILocalNotifications any longer.
“HeySiri” and much more with SiriKit
Siri is opened to third party developers !!! Another remarkable breakthrough, from iOS 10 onwards is that the user can control third party apps (non Apple apps) via voice. SiriKit enables your iOS 10 apps to work with Siri.
Calls, messages, payments, photos, workouts, and booking rides can now directly work on Siri support. Siri will be responsible for all kind of voice recognition and parsing.
Siri kit implementation requires the user to register with siri. Domain specific registration is required. Those who register for a particular app is provided with an object that represent user’s intention. It’s then up to the user to initiate domain specific actions and provide a response back to the system.
Live Replay Kit by APPLE
Replaykit was introduced in iOS 9 which allowed users to record, share and play audio files. They can use it along with app or games.
iOS 10 takes the whole process a step further by introducing live broadcasting of ReplayKit
streams, and does so by building on existing live streaming services: users install apps that support live streaming, and ReplayKit lets you hook into them.
Improvements via Xcode8 supporting iOS 10
Ability to use swift 2.3 and 3.0 at the same time.
- Keep your swift 2.3 code and migrate to 3.0 when you are ready.
- More easier device preview. Device and orientation layout are visible beneath the layouts.
- Ability to test over splitview for ipads and slide over controls.
- Apple also added the ability to specify color and image literals, which certainly make coding a little easier.
- Xcode brings out a code completion popup which provide an option to replace color literals with a graphical color literal from a list of color selections. This is mainly for swift color literals.
- Working with image literals is quite easy now. Images assigned as variables are able to view as a thumbnails within the code part itself which is quite strange.But the developer can make sure it’s working on compile time itself.
- Developers can edit the storyboard when zoomed out. This was impossible in previous versions.
- Xcode brings out a new Debug Memory Graph option which is much useful. You can simply activate this by enabling a new button in between Debug View Hierarchy and Simulate Location in Xcode’s debug area.
Picture perfect photos and images with computer vision
Apple revamps photo gallery to a next higher level which supports clustering of photos into trips, people and topics. It also introduced a magazine style to photo albums.
iOS 10 enables photos and videos to be captured in a specific memory and add special mood effects to the movie created.
Apple maps – a whole new horizon for precise Navigation
- iOS 10 fixes the maps inability to scroll ahead of the route. Goodbye to the annoying spring back to the current location whenever you try to look anywhere else.
- Apple through iOS 10 is also updating its map feature. Now you are able to pan and zoom around the map, zoom in and out of long stretches and complex interchanges.
- iOS 10 is competing with Google maps by adding traffic on route with more points along the route chosen. It’s trying to expand the existing functionality.
- Vehicles that supports Apple CarPlay not only get suggested alternate routes based on traffic conditions, Maps turn-by-turn directions can pop up on the instrument (if they have a screen next to the odometer).
- Apple is weaving iOS 10 information from other apps into Maps, like if it knows you go to
work at a certain time, it’ll make a suggestion for the route, or make one based on a calendar
- That’s just the start. It’s also opening up Maps to third-party developers, so Uber riders can
call, follow and pay for their ride without ever leaving Apple’s app. It’s getting there….