What's new in Xcode 8?

Xcode is the complete developer toolset used to create apps for Apple TV, Apple Watch, iPad, iPhone, and Mac. The Xcode development environment bundles the Instruments analysis tool, Simulator, and the OS frameworks in the form of tvOS SDKs, watchOS SDKs, iOS SDKs, and macOS SDKs.

Swift 3

Xcode 8 supports Swift 3 as well as Swift 2.3 (a small update from Swift 2.2 due to SDK compatibility requirements). A Swift migrator is provided to help upgrade your Swift code to the latest Swift 3 language specifications and SDK requirements.
Projects created with Xcode 8 use Swift 3 by default. Fortunately, Xcode 8 includes a build setting that gives developers the ability to stick with Swift 2, Swift 2.3 to be precise.

Signing

Code signing is a necessary evil for developers interested in Apple's platforms. Fortunately, Apple isn't burying its head in the sand. It understands the pain developers are having. Code signing issues should be a thing of the past with Xcode 8. For every target, you can check a checkbox that tells Xcode to manage code signing on your behalf. This option is enabled by default for new projects. When checked, Xcode manages certificates, provisioning profiles, and application identifiers for you.

Interface Builder

Xcode have new adaptive UI development tools and workflow. 

Source Editor

Source Editor Extensions - One of the most surprising features was the introduction of source editor extensions. Developers have been asking for a native plugin architecture for many years. Source editor extensions are a first good step in that direction.
Code completion for images Speaking of ditching third party plugins, I currently use Kent Sutherland's excellent KSImageNamed plugin to enable code completion for images in Xcode. I won't be needing that plugin when I switch to Xcode 8 as this feature is now built into Xcode. 
Jump Bar - Clicking the Jump Bar, located at the top of every editor pane, you can quickly select what information to view in the Assistant editor.
San Francisco Mono - San Francisco and blends in neatly with the system font of macOS.

Debugging

Memory Debugging - Xcode 8 also sports a pretty impressive memory debugger for tracking down memory leaks and retain cycles. I am not sure how useful it is going to be in practice, but it looks very, very nice.
Runtime issues - while debugging appear in the issue navigator, similar to compile-time issues:
  • Leaks issues identify potential leaked memory detected during debugging sessions.
  • Thread sanitizer issues identify threading-created race conditions on data changes at runtime.
  • View debugging issues identify constraints conflicts.

Documentation

The new documentation format looks gorgeous and the documentation browser is fast and easy to use. Apple also consolidated the documentation for its platforms, resulting in a much smaller memory footprint.


Reference link: http://www.developerinsider.in/whats-new-in-xcode-8/

Comments

Popular posts from this blog

Swift: UserDefaults protocol

Download .dmg file of Xcode

How to setup Xcode Swift Project to use LLVM C APIs