Menu Icon Close
App Development

Xcode 10: What iOS Developers need to know?

Blog: Xcode 10
June 21, 2019
By akashdeep

Reading Time: 3 minutes

The tools and features provided by Xcode help developers to build applications for various Apple devices – iPhone, iPad, Apple Watch, Apple TV and Mac. The integrated development environment for macOS has been evolving consistently to help developers build applications based on emerging software development trends and changing customer preferences. Apple has been releasing updated versions of the IDE at regular intervals.

In June 2018, Apple announced Xcode 10 with several new features, enhancements, and deprecated features. Likewise, Apple released Xcode 10.1 in October 2018 with SDKs for the latest versions of macOS, iOS, watchOS, and tvOS. The developers can take advantage of the SDKs and tools provided by version 10 of Xcode to build better applications for various Apple platforms.

Key Features of Xcode 10 every iOS App Developer Needs to Know

Dark Mode

Xcode 10 supports dark mode by leveraging the new dark interface provided by macOS Mojave. The developer can switch to dark mode simply by changing the system preferences. They can further crate dark apps for macOS using the robust tools provided by the IDE. Xcode 10 further allows developers to switch the design and preview from light mode to dark mode using the Interface Builder. The developers even have the option to switch between light and dark modes while debugging the app.

Library Content

Xcode 10 moves the library content to an overlay window. The developers can move and resize the overlay window. The window dismisses the item once it is dragged. The developers need to hold the option key to keep the library open and drag again. They even have the option to open the libraries using a new toolbar button. They can access the media library with a long press on the toolbar button. Xcode allows developers to add a new code snippet to the library using a simple option. It even facilitates sharing of schemas between multiple users.

Source Editor

The updated Source Editor included in Xcode 10 supports multi-cursor code editing. It allows programmers to edit multiple ranges of code simultaneously through additional cursor placement. While working on source code enabled projects, the developers even have the option to see the changes made to the code by other programs.

Interface Builder

The version 10 of Xcode comes with a redesigned Interface Builder. The updated Interface Builder features a pop-up menu instead of the stack button. The developers can choose from an array of options simply by clicking on the popup menu. They can further preview the fonts while selecting a font family in the Attributes inspector. Likewise, they can update the value of color changes while working with controls with named colors.

Asset Catalog

Xcode 10 comes with an updated Asset Catalog that supports several new color and image assets – light, dark and high contrast. The Asset Catalog also supports CarPlay assets and ARKit 3D assets. The developers even have the option to set the background of the Asset Catalog to dark or light to see the foreground elements with adequate contrast.

Build System

Xcode 10 comes with a new Build System that resolves the problem configuration problem found in the legacy Build System. The developers still have the option to choose from the legacy and new Build Systems. But the developers can switch to the new Build System to avail improved reliability and build performance.

Debugging

The redesigned view debugger provided by Xcode 10 allows users to choose from both light and black dark canvas background colors. It further provides developers with the option to change the appearance of macOS apps at runtime. The view debugger displays named colors in the inspector and indicate their names.

Testing

Xcode 10 helps users to accelerate application testing by supporting parallel test execution. The developers can take advantage of the feature to run unit tests on macOS, and unit and UI tests on iOS and tvOS simulators in parallel. They can further control the behavior of parallel testing using a new command line option.

Source Control

While using Xcode 10, the developers have the option to work with several widely used source code collaboration platforms. The latest version of Xcode allows users to leverage GitHub, GitHub Enterprise, Bitbucket Server, Bitbucket Cloud, GitLab Self-Hosted, and GitLab.com.

The developers must leverage the updated SDKs provided by Xcode 10.1 to build amazing apps for the latest versions of iOS, macOS, watchOS, and tvOS. The latest version of the IDE allows iOS app developers to try the developer preview version of arm64e. Also, it resolves various issues found in Apple Clang Compiler, Asset Catalog, Build System, Simulator, and Swift Compiler.

TAGS :

Invest in better
solutions today

Contact Us