There is a lot of buzz already about the recently conducted WWDC 2017 keynote event that was held on 5th of June. If you have missed out on the even then here we have compiled some of the major highlights from the event. Take a look and see what major changes are on the cards.
Jump To Section:
Major Highlights From WWDC 2017
Let’s take a look at some highlights from the keynote event.
Plentiful Xcode 9 Updates
With the new, updated indexing engine – which becomes the part of build process as it runs –Xcode now loads a lot quicker. With Open Quickly, the projects are opened in a far quicker manner and searching speed is increased by 50 times as well. And performance is also increased with newly updated build system.
New Editor For Source Code
We now have an updated editor for source code of Xcode. Apple says it now has buttery smooth editor when you scroll it. New font, cursor type and line spacing options have been added to preferences. It can also perfectly render Markdown files as well.
The new editor comes with better transformation and refactoring engine and gives better control over the code. You can do whatever you want from main editor. Here are a few transformations announced by Apple:
- Add missing requirements for protocol
- Extract to the local variable
- Extract expression/method
- Create implementation stubs that are missing
- Missing overrides can be added for the abstract methods
- Default can be expanded in the switch statements for creating all the applicable cases
According to Apple, they were told by GitHub that 2/3 of GitHub commits came from the MacBooks and, therefore, they decided to go for some integrations. Logging in with the GitHub account will make Xcodeto show all the repositories you may have. With the source control navigator in Xcodethings are now a lot simpler when it comes to viewing tags, branches, etc. The navigator allows you to create as well as merge branches from within.
The first thing, updated simulator is now faster and comes with whole new look. It is possible to use hardware buttons –Home, silence, sleep/wake – in the same way as you do in the real life. Same is the case with gestures from screen’s edge.
Xcode 9 Wireless Development
When running tvOS and iOS devices on the local network, there is no need to worry about USB cords. All the apps can be installed, run and debugged wirelessly on these devices. According to Apple, these tools can be used in Accessibility Inspector, Instruments, Quicktime Player, Configurator and Console.
Separate installation of macOSis not needed now. Xcode Server can be enabled from within the Xcode 9 to run integration bots continuously.
Stage time was given to Swift 4 at keynote event. A few performance improvements have been announced for this open source programming language. It now comes with some new features, small-sized app binaries and smaller build times.
No Problems With Swift Migration Now
Migrating is a lot easier now with the Swift 4. There is no need to change the code for using new compiler. It is possible to use new features from Swift 4 and you can still be able to use the Swift 3 for other areas. The Swift 4 compiler works in three modes.
- Swift 4 mode: In this mode you can use the new features as well as performance optimizations. For some migration may be needed which is now easier than what it used to be with Swift 2.2 and Swift 3.
- Swift 3 mode: This is the default mode for working with your existing code. It builds your source code built with Swift 3 compiler
- Mixed Mode: In this mode you can have the interoperability between the binaries that are built using same compiler.It helps developers with projects having mix packages written in Swift 3 and Swift 4 if they build these packages with Swift 4 compiler.This way,developers can be able to migrate certain portions of the code gradually to the Swift 4.
Some Other Updates Made To The Swift 4
There are quite a few updates made to the Swift 4 and here we have listed a few of them:
- Quick and easy-to-use strings which retain the Unicode correctness besides providing support for making, using as well as managing substrings.
- Enhancements made for creation and manipulation of Set types and Dictionary.
- Serialization and archival support offered for enum and struct types besides enabling type-safety to serialize to the external formats like plist and JSON.
New APIs have also been introduced at Keynote event of WWDC 2017. Let’s take a look at these.
With this API you can link your game or app to your local music or Apple Music library. It is possible to make playlists and add songs while playing music from both the sources. The users who don’t have the subscription for Apple Music can be allowed to choose the option.
Machine Learning Using Core ML
The Core ML technology of Apple works with the Siri, Maps, Camera and Messages apps. With this, you can be able to integrate models of machine learning to be able to build apps that have some flawless new features without requiring much work on your part. According to Apple, all it takes is a code spanning over few lines. In Core ML, both Natural Language and Vision APIs are included. Let’s take a look at description of both these options.
- Natural Language API: Use trained models of machine learning for deeply understanding text-using features like tokenization, language identification, named entity recognition and lemmatization.
- Vision API: Developers can build computer vision features of machine learning into the apps easily. There is support for face detection, face tracking, text detection, landmarks, barcode detection,image registration, object tracking and rectangle detection.
This new framework allows you to take the benefit of iPad and iPhone’s camera and sensors for creating that experience of augmented reality. Apple gave incredible demo for ARKitat WWDC 2017. The new framework combines data coming from sensor and camera for tracking everything that comes in the view. Apple calls it “Visual Inertial Odometry”.
External Graphics Development Kit
It was also announced that macOS High Sierra is going to offer support for virtual reality. Anyone willing to try this new experience may be able to buy the development kit for $599 to be able to develop as well as test the VR content. It, however, requires Macs having connectivity for Thunderbolt 3.
The apps using OpenCL, OpenGL and Metal can now be able to benefit from better performance offered by external graphics processors. This Kit comes with everything needed for starting to optimize advanced 3D and VR apps on the external processors using macOS High Sierra.
These were some of the major highlights from the WWDC 2017 event. Share with us what made you jump off your seats. If we missed something awesome that should have made it to this post, let us know in comments section.