顯示具有 Xcode 標籤的文章。 顯示所有文章
顯示具有 Xcode 標籤的文章。 顯示所有文章

2022年4月2日 星期六

Xcode Siwft Re-Indent and Object Library

 XCode Swift 

Re-Indent: (自動調整縮排)

Select first the text you want to format and then press Ctrl+I.

Use Cmd+A first if you wish to format all text in the selected file.


Object Library:

Command-shift-L. This should pop up the object library. You can also do command-shift-M to pop up the audio/music library.

2021年10月7日 星期四

How to Set Root View Controller Programmatically in Swift 5 & Xcode 12

 Ref: https://www.youtube.com/watch?v=u-cK4HdEO30


In Xcode 12:

1. Click <Project Name>

2. In TARGETS -> General -> Deployment Info -> Main Interface

3. Select what you want (story file)