Xcode 11 experience article complete address at the end of the article! Don’t miss it

Today I updated Xcode 11 and felt great (mostly a lot of strange stuff, but a lot of fun)! Here to share with you! But we have feedback do not understand, in fact, we would like to see is something with updates to operate. The latest update is the version of Xcode 11 so there is this article

Xcode Workflow Improvements

Engineering to create

  • Create a project and you’ll seeUser InterfaceYou can chooseSwiftUI,storyboadTwo of my blogs have covered itSwiftUI : SwiftUI – 100 lines of code transformed into 10 lines, Swift new glory
The code block

  • The code block has also been adjusted, the interface is beautiful and intuitive, edit display is also very clear! (I’m a big fan of code blocks, so GIVE this a thumbs up.)

  • willVersion EditorIn thelogThe tabs are moved to the inspector and formed into a new oneSource Control HistoryArea.
  • willAssistant, andVesion EditorUnder theAutorThe tabs are merged into one item, removed from the main navigation, and moved down to each edit panelEditor Option. Reserved on main flight onlyCode ReviewFunction.
  • newAdd Editor,MiniMap.

We’ll focus on Editor Options, Add Editor, and MiniMap.

Editor Options
  • throughEditor OptionsYou can set the display mode of the current editor, including:Editor Only.Editor and Canvas.Editor and AssistantThese three editing options.
  • Editor Only: Displays only the code editor.
  • Editor and CanvasCode editor and SwiftUI preview view.
  • Editor and Assistant: code editor and auxiliary views.

SwiftUI Preview System minimum requirements macOS 10.15

Add Editor

Provides arbitrary cutting function of edit window:

  • You can specify where the file is opened.
  • useFocus ModeFocus on one window.
  • This is a nice combination, and I often open multiple pages too! Back and forth in and out trouble!

If you click this button, it will split horizontally. Hold down the Option button and click it, it will be split vertically. The following figure is an example of the split interface

In the image above, the interface is divided into three edit Windows. The left side is divided into two small Windows, and the right side is separated into a large window.

Specifies the file opening location

In Xcode 11, you can also hold down Option + Shift and click on the file you want to open on the left, which will prompt you to select the window

You can use the keyboard or mouse to select the window in which you want to open the file, and then click the left mouse button or the keyboard Enter key to open the file in the specified window. You can also move the mouse cursor between the two Windows and insert a new window into the file to be opened:

Comprehensive this function, more convenient for us to compare reading, rapid development! Especially in some of the more relevant pages, we no longer need to cut around, more convenient and clear

MiniMap

MiniMap is one of the features of this update. It’s nice to have a small thumbnail that gives developers a little bit more clarity. ~~~ big picture 😄😄

And you can quickly jump to any area of the file using MiniMap. MiniMap supports code tagging, breakpoint display, search highlighting, and a lot of convenience.

For example, if we search for the app keyword, the MiniMap on the right will mark all hit searches in the code file and highlight the current hit search location (this needs to be looked at carefully).

From the screenshot above you should get a sense of how this MiniMap works!

Xcode 11 first experience

Xcode 11 Early Experience (Xcode Workflow Improvements)

Xcode 11 Initial Experience (editor enhancements)

Xcode 11 (Swift Package Manager)

Xcode 11 Initial Experience (Design Tools, Source Control)

Xcode 11 Initial Experience (Debug tool upgrade, simulator, Performance analysis tool (Instruments), SceneDelegate update)