Posts

Showing posts from July 12, 2020

Xcode 11 Features

Image
Some of the XCode 11 features are: SwiftUI Minimap Rich Documentation Swift Package Manager Inline Diff Transform iPad Apps to Mac Debugging and Simulators Let’s look into each of these one by one. 1. SwiftUI SwiftUI is the big announcement this year. It’s a new framework introduced for easily creating layouts using swift code. Moreover, Xcode shows us a real app like interface viewer side by side while you edit the Swift file. It requires a Declarative syntax which is easy to use Swift code. Adding animations and stuff is all very easy. Xcode 11 Swiftui This is a major shift from the Storyboards and drag and drop setup. The only issue: SwiftUI is available from iOS 13 and above. It is not backward compatible with the current old iOS versions. Hence use it only if your app supports iOS 13 and above. To use SwiftUI, select the toolbox from the project setup window as shown below: Xcode Swiftui Setup 2. Minimap Xcode has an awesome looking minimap of your code at the left. You can quickl