Supported Configurations
  • Xcode 12 beta includes SDKs for iOS 14
  • iPadOS 14
  • tvOS 14
  • watchOS 7
  • macOS 11
  • The Xcode 12 beta release supports on-device debugging for iOS 9 and later
  • tvOS 9 and later
  • watchOS 2 and later
  • Xcode 12 beta requires a Mac running macOS Catalina 10.15.4 or later.

New Features

Interface Builder

  • Now in Xcode have minimap in Interface Builder canvas. You can show and hide minimap from “Adjust editor options” dropdown.
    Adjust editor options > Canvas > Minimap
    You can also double-click, command-click or drag in the minimap to focus on a specific part of the interface builder area. And you can drag and drop the minimap to different corners.
  • Documents can now be opened in a separate tab, we can adjust the document arrangement of tab according to the current working task. Open the separate tab by option-click or double-click.
  • Now Interface Builder has a new option for Current Date -> NSDatePicker*
  • Find and Replace now includes matches in attributed string literals.
  • Now UIButton has new ButtonType for dismissing panels and views -> UIButton.ButtonType (case close = 7)
  • NSTableViewStyle have new support with Automatic, Full Width, Inset, and Source List options
    Now macOS 11 Added support for selecting text styles and SF Symbols.


Debug

  • Now in Xcode 12, breakpoint displays the hit count for particular breakpoint location. “Breakpoint 1.1 (1)”, where 1 means that location 1.1 has been hit 1 time.
  • When a process crashes under the debugger, Xcode prints the crash messages in the Console. These messages are similar to the ones displayed in CrashReporter.
  • Drag and drop the breakpoints into a different position in the Breakpoint Editor.
  • Xcode 12 view debugger generates runtime for issues for performance Optimization Opportunities for CALayer.
  • Show or hide performance runtime issues. -> (Choose Editor > Show Optimization Opportunities)
  • Show Layers to view CALayers in the view debugger -> (Choose Editor > Show Layers)

  • The view debugger now generates runtime issues for performance Optimization Opportunities for CALayer. Choose Editor > Show Layers to view CALayers in the view debugger. Choose Editor > Show Optimization Opportunities to show or hide performance runtime issues. (60103476)

  • Now in Xcode 12, we can export the View hierarchies to .viewhierarchy files.


Refactoring

  • Xcode 12 Rename the function with definition or references that are escaped with backticks. (Editor > Refactor > Rename)


Simulator

  • Xcode 12 simulator can display in the full-screen mode, or tile its window alongside Xcode.

For keeps device windows in front of other applications window -> Window > Stay On Top

  • Simulator now supports 64-bit and 32-bit processes for watchOS 7. To verify watchOS projects are 64-bit clean in Simulator, make sure ARCHS is set to its default value.
  • The simulator uses the internal microphone by default, and we can select a different audio source. This avoids triggering phone call mode on Bluetooth headsets which degrades audio quality while listening to music.

Source Editor

  • Now in Xcode 12 code completion invocations inside Swift function bodies 12 times faster compared to Xcode 11.5.

Xcode12-Source Editor-12-Times-Faster

Swift Packages

  • Now declare conditions for a Swift package’s target dependencies, such as limiting the dependencies by the platform.
  • Swift packages can now contain localized content for any resource in the package. In addition to localized content in asset catalogues, Xcode supports separate localization files in .lproj folders
let package = Package(
    name: "MyLibrary",
    defaultLocalization: "en",
    platforms: [
    ],
    products: [
        // Products define the executables and libraries a package produces, and make them visible to other packages.
    ],
    dependencies: [
        // Dependencies declare other packages that this package depends on.
        // .package(url: /* package url */, from: "1.0.0"),
    ],
    targets: [
        // Targets are the basic building blocks of a package. A target can define a module or a test suite.
        // Targets can depend on other targets in this package, and on products in packages this package depends on.
)

Download Xcode 12 Beta…..

Updating…

Related Post

Dart Data type | Dart Tutorial Dart Data type Variables can store data of different types, and different data types can do different things. Dart supports the following data typ...
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...
Introduction to JVM Introduction to JVM JVM stands for Java Virtual Machine. It works as an engine that derives the Java Code. The JVM does not understand Java ty...
Getting started with C Getting started with C : If we want to communicate with our computer it is very much needed that our computer understands what we want to say to it. ...
Data Type And Storage And Keywords To store data inside the computer we need to first identify the type of data elements we need in our program. There are several different types of dat...
Variables Variables A variable is a named location in memory that is used to hold a value that can be modified by the program. All variable must be declared be...
Author

Write A Comment