What’s new in Xcode 15?

Xcode 15 currently in beta. Apple released 2nd beta on June 21, 2023. There are many new features came up.

Here I am listing the main features.

Now you can download specific part of Xcode and their simulators.

Code Completion

Code Completion now even better. It will display file name too if you want to define the class name from it while coding.

Function Call with specific parameter – Press Right Arrow for specific parameter 

Better top suggestions in code completion.

Asset Catalogs 

Asset catalogs have some custom colors and images. Xcode 15 automatically generates symbols for each of them, and you can reference these in your code instead of using string names. 

String Catalogs

Localization assets are streamlined in the new “String Catalog”, giving you a centralized way to review and update them. You can also use option migrate to String Catalog. (Edit > Convert > To String Catalogs…)

Documentation 

Now you can create rich documentation like as Apple.

Swift macros

Swift macros help you avoid writing repetitive code in Swift by generating that part of your source code at compile time. Powered by the new Swift macros, Xcode Previews are easier to use and now work across SwiftUI, UIKit, and AppKit.

Previews

Xcode that’s taking advantage of macros, previews. With the help of macros, the new Previews API is simple and easy to remember. You can add a preview by typing #Preview.

“ Now UIViewController also have #Preview “ (I have tried with storyboard but the preview’s are crashing)

Bookmarks 

Add bookmark on specific line with specific details and also you can create bookmark group!
Mark as complete and delete options are also available.

Source Control Navigator 

New improved UI displays in detail modified files and other stuff. Commit and Push changes.

And many more…

Conclusion

Xcode 15 beta 2 released with iOS 17, iPadOS 17, tvOS 17, watchOS 10, macOS Sonoma, and visionOS.

Let me know if you have any questions, comments, or feedback via Twitter.

Learn Something New. Share To The World.
Happy Coding 🙂