New features in XCode 10

Supported Configurations

  • Xcode 10 beta requires a Mac running macOS 

     or later

  • Xcode 10 beta includes SDKs for 
    iOS 12

    watchOS 5

    macOS 10.14

    , and 

    tvOS 12


  • The final release of Xcode 10 will be available in the Mac App Store. Previous versions of Xcode Download from here.

Deprecation Notices

  • The macOS 10.14 SDK no longer contains support for compiling 
    32-bit applications

    . If
    developers need to compile for i386, Xcode 9.4 or earlier is required.

New Features XCode 10 – IDE

  • Library content has moved from the bottom of the Inspector area to an overlay window, which can be moved and resized like Spotlight search. It dismisses once items are dragged, but holding the Option key before dragging will keep the library open for an additional drag.
    The library can be opened via a new toolbar button, the View > Libraries menu, or the ⇧⌘L
    keyboard shortcut.
  • Custom code snippets can now be added to the library via the Editor > Create Code Snippet
    menu item.
  • Newly-created schemes are now shared by all users of an Xcode project. To create a personal scheme, uncheck the “Shared” checkbox in the “Manage Schemes” sheet.
  • Select Schemes and Run Destinations from the keyboard. Press 

     to open the Scheme
    popup and 


     to open the Run Destination popup. Once the popup appears, type
    enough characters to highlight the appropriate entry, use the arrow keys to highlight it, and press return to select it.

Source Editor

  • The Xcode Source Editor now supports multi-cursor editing allowing you to quickly edit multiple ranges of code at once.
    You can place additional cursors with the mouse via 

    ⌃+⇧+Click or

    with column select


     or with the keyboard using 

    ⌃+⇧+Up to

     column select up or 


    column select down.

  • 1
    Updated default source editor themes for light and dark

    , with improved colors optimized for contrast, and taking advantage of bold and italic font traits.

Source Control

Integration with Bitbucket Cloud,Bitbucket Server source control, GitLab self-hosted source control etc.


Interface Builder (Storyboard / Xib’s)

  • Canvas rendering now happens in parallel, and scales based on demand and hardware to
    improve the performance of edit operations, particularly for large scenes.
  • The “Stack” button in the canvas bar has been replaced with a pop-up menu containing all
    embedding options for the selection.
  • The Editor > Embed In menu item allows embedding in a tightly-wrapped view that doesn’t add
    any margins to the selected content
  • Resizing a 

    or NSStackView along its distribution axis in the canvas will adjust
    spacing between items.

  • The menu for choosing a font family in the Attributes inspector now renders a preview of each font.
  • Support for Large Title font text style (UIFontTextStyleLargeTitle) on iOS 11 or later, and on watchOS 5.
  • Image and color inspector properties that reference an asset catalog resource have a navigation button to jump to that resource. Option + click will show the resource in the Assistant Editor
  • Controls using named colors from an asset catalog now update as the value of the color
  • Inspector color pickers now use a standard pop-up button. The color swatch can be dragged by holding the Option key



  • In iOS 12, the default value of the UITableView property

     is now false. This means by default, table view
    cells will no longer have their layout margins increased automatically when the table view is
    wider than the maximum readable width.
    If you are using a table view to display text that spans multiple lines, in order to improve
    readability when the table view is very wide you should opt-in to these automatic margins by
    setting cellLayoutMarginsFollowReadableWidth to true, or consider adapting your layout to
    better take advantage of the additional horizontal space.

  • New UILabel inspector property “Marquee on Ancestor Focus” for controlling scrolling

Asset Catalog

  • Support for varying image and color assets by 
    Light, Dark, and High Contrast

     appearances on macOS 10.14 and above.

  • Support for CarPlay assets.
  • Support for ARKit 3D ARReferenceObject assets.
  • The background of the asset catalog and view debugger can be set explicitly to light or dark so foreground elements display with sufficient contrast.

New in Xcode 10 beta – Apple LLVM and Swift Compilers

Apple LLVM Compiler

  • The static analyzer is more efficient and will report additional issues on most programs.
  • The static analyzer checks for a common performance anti-pattern when using Grand Central
    Dispatch, which involves waiting on a callback using a semaphore:

+ (<span class="hljs-type">NSString</span> *)requestCurrentTaskName {
 __block <span class="hljs-type">NSString</span> *taskName = <span class="hljs-literal">nil</span>;
 dispatch_semaphore_t sema = dispatch_semaphore_create(<span class="hljs-number">0</span>);
 <span class="hljs-type">NSXPCConnection</span> *connection =
 [[<span class="hljs-type">NSXPCConnection</span> alloc] initWithServiceName:@<span class="hljs-string">"MyConnection"</span>];
 id remoteObjectProxy = connection.remoteObjectProxy;
 [remoteObjectProxy requestCurrentTaskName:^(<span class="hljs-type">NSString</span> *task) {
 taskName = task;
 dispatch_time(<span class="hljs-type">DISPATCH_TIME_NOW</span>, <span class="hljs-number">100</span>)
 <span class="hljs-keyword">return</span> taskName;

Such a pattern can degrade performance and cause hangs in your application. The check is
currently disabled by default, but can be enabled using the build setting “Performance AntiPatterns with Grand Central Dispatch”.

Whats new in Swift

  • The new CaseIterable protocol describes types which have a static allCases property that is
    used to describe all of the cases of the type. Swift will synthesize this allCases property for enums that have no associated values.
    Follow this link for Swift .

code <span class="hljs-number">10</span> beta <span class="hljs-type">Release</span> <span class="hljs-type">Notes</span>
<span class="hljs-type">Xcode</span> <span class="hljs-number">10</span> beta <span class="hljs-type">Release</span> <span class="hljs-type">Notes</span>
<span class="hljs-class"><span class="hljs-keyword">enum</span> <span class="hljs-title">Suit</span>: <span class="hljs-title">CaseIterable</span> </span>{
 <span class="hljs-keyword">case</span> heart
 <span class="hljs-keyword">case</span> club
 <span class="hljs-keyword">case</span> diamond
 <span class="hljs-keyword">case</span> spade
<span class="hljs-built_in">print</span>(<span class="hljs-type">Suit</span>.allCases)
<span class="hljs-comment">// prints [Suit.heart,, Suit.diamond, Suit.spade]</span>


Swift Compiler

The Swift compiler defaults to a new compilation strategy that can greatly speed up debug
builds. This strategy allows each compilation job to process a batch of files instead of just a single file.

Download Xcode 10 Beta IDE


 Referenced by Xcode beta release notes.

Related Post

Continue Statement in JAVA Continue Statement in JAVA Suppose you are working with loops. Sometime it is desirable terminate the loop or skip some statement inside the loop wit...
First Java Program First Java Program NOTE: You need to have java installed on your system. Step 1: Open a text editor, like Notepad on windows and TextEdit on Mac. W...
Resignation Letter and Relieving Letter Resignation Letter Sample 1 Sender’s Name, Sender’s Address, Mobile Number, MailDate:ToThe Human Resource Department Company Name Company Addre...
Custom View by use of xib in swift Custom View by use of xib in swift We can create the custom and common view by the use xib in swift 3.1 and xcode 8.3.2 . Custom views are common and...
Compile C/C++ program (Dev-C/C++) what is Dev-C/C++? Dev-C/C++, developed by Bloodshed Software, is a fully featured graphical IDE(Integrated Development Environment),which ...
Navigation Tab Bar in IOS | Swift tutorial Navigation Tab Bar in IOS | Swift tutorial Different Customizing techniques for Navigation bar with storyboard and code 1) Custom NavigationTabBar b...

Leave a Reply

Your email address will not be published. Required fields are marked *