Apple uppdaterar XCode

Apple uppdaterar XCode

Apple har uppdaterat utvecklingsverktyget XCode till version 10.1.

XCode är en utvecklingsplattform för Mac, iPhone, iPad och iPod med hantering av kod, tester, simuleringar och hantering av nödvändiga licenser och certifikat.

Xcode includes everything developers need to create great applications for Mac, iPhone, iPad, and Apple Watch. Xcode provides developers a unified workflow for user interface design, coding, testing, and debugging. The Xcode IDE combined with the Cocoa frameworks and Swift programming language make developing apps easier and more fun than ever before. Xcode includes the Xcode IDE, Swift and Objective-C compilers, Instruments analysis tool, simulators, the latest SDKs, and hundreds of powerful features.

What’s New in Xcode

Version 10.10 :Xcode 10 includes Swift 4.2 and SDKs for iOS 12, watchOS 5, tvOS 12, and macOS Mojave.

Dark mode in macOS Mojave
  • All-new dark appearance throughout Xcode and Instruments
  • Asset catalogs add dark and light variants to customize colors and image assets
  • Interface Builder easily switches between dark and light variants of the app’s interface
  • Debugger switches Mac apps between dark and light variants without changing OS settings
Source control
  • Code that differs from the repository server is highlighted directly within the editor, including:
    • Local changes not yet pushed to the shared repository
    • Upstream changes others have made
    • Conflicts to address before committing
  • Account integration with self-hosted and cloud servers from Atlassian Bitbucket, GitLab, and GitHub
  • Account logins generate SSH keys on-demand and upload to the service provider
  • Rebase is an option when pulling the latest version of code
Editor enhancements
  • Multiple cursors in the editor enable many changes at once
  • Code folding ribbon can hide any code block surrounded by braces
  • Over-scroll makes it easy to display the last lines of code in the center of the screen
Playgrounds and machine learning
  • Completely redesigned REPL-like playgrounds are much faster and more stable
  • Run code at any time by hitting SHIFT-RETURN or click the inline Run button to execute to a specific line
  • Interactively train and exercise new Create ML models directly within a playground
Test and debug
  • Debug symbols download from a device 5x faster than before
  • Tests run in parallel across many Simulators to take full advantage of all CPU cores
  • Custom instruments provide unique data visualization for any code
  • Memory debugger layout is redesigned to make it easier to navigate and visualize the whole app
  • Metal shader debugger inspects the execution of vertex, fragment, compute, and tile shader code
  • Metal dependency viewer shows a detailed graph of how resources are used
Build Performance
  • New build system improves performance and is enabled by default for all projects
  • Swift compiles each individual file significantly faster, and greatly improves incremental builds

Requirements for Xcode

  • Intel, 64-bit processor
  • OS X 10.13.4 or later


Mackens Fråga: Ska Apple delas upp?
Share This