AppCode Starts the 2022.2 EAP with the UML Class Diagrams
Today we are starting the Early Access Program for AppCode 2022.2, and the first build is already available for download.
Give the free EAP builds a try and let us know what you think about the changes! Share your feedback in the comments or submit it to our issue tracker.
The main highlights:
- UML class diagrams are generated for Swift and Objective-C classes.
- Code generation for Swift actors is enhanced.
- Formatter for Swift code is improved.
- Kotlin Multiplatform Mobile plugin was updated to work with more types of KMM/Xcode projects.
UML class diagrams
AppCode can now generate and show you UML diagrams for the classes and methods in your application. The class diagrams are available for Swift and Objective-C classes.
To open them, you can do either of the following:
- Open the Project view and call Diagrams | Show Diagram… in the context menu.
- Use the context menu in the AppCode editor and call Diagrams | Show Diagram… from there.
The Show Diagram action (
⌥⇧⌘U) opens the diagram in a new tab, while the Show Diagram Popup action (
⌥⌘U) opens it in a new pop-up window.
Filtering by visibility and showing categories (like Methods, Properties, Nested Types, etc.) are available in the diagram toolbar:
⌘F12 to open the list of diagram elements and navigate between them:
To view implementations, use
We are still planning to make further improvements to the UML diagrams in AppCode. In the meantime, we’ll be happy to listen to your feedback in the comments here or in our issue tracker.
Code generation for Swift actors
AppCode 2022.2 can generate initializers for Swift
Actor-isolated properties are no longer suggested when auto-generating
We also fixed the auto-generated
actor’s extension to include the
Swift formatter improvements
The Swift formatter removes the redundant spaces between
async, and in some other cases (OC-22717, OC-22693). It also now respects the comments position when altering braces location (OC-15079).
Easier KMM framework attachment to Xcode
The Kotlin Multiplatform Mobile plugin for AppCode got an update. Previously, AppCode only worked with CocoaPods KMM projects. In this version, projects with the KMM framework attached via the
:<kmm_library_name>:embedAndSignAppleFrameworkForXcode Gradle task are also supported.
Either approach will make the cross-resolve from Swift to Kotlin available for the linked KMM libraries. Unified project view for such projects correctly displays both Gradle and Xcode projects in one common tree.
- On the first AppCode launch, if Xcode isn’t installed, or when the version of Xcode selected in AppCode is removed from the machine, AppCode now suggests manually selecting Xcode. The new Select Xcode manually action helps with that (OC-22775).
- We improved the functionality of joining into one line (OC-22610, OC-18909).
- We fixed the Swift documentation comments generation (OC-22256).
The full release notes are available here.
Your AppCode team
The Drive to Develop
Subscribe to Blog updates
Thanks, we've got you!
AppCode 2023.1 Bug-Fix Update
Hi, AppCode 2023.1 has just been released with fixes for Xcode 14.3 compatibility, Swift refactorings and intentions, the IDE’s UI, and Kotlin Multiplatform Mobile. On December 14, 2022, along with the AppCode 2022.3 release, we sunsetted the product and stopped sales. While we’ve refocused the te…
AppCode 2023.1 Release Candidate
Hi, On December 14, 2022, along with the AppCode 2022.3 release, we sunsetted the product and stopped sales. While we’ve re-focused the team's efforts in other directions, we’ve kept providing technical support to our current users and are releasing bug-fix updates in 2023, targeting mostly the Xco…
AppCode 2022.3 Release and End of Sales and Support
AppCode 2022.3 has just been released. With the release of v2022.3, we are sunsetting the product.
AppCode 2022.3 Release Candidate Is Here
Hi everyone, The release of AppCode 2022.3 is approaching, and the release candidate (build 223.7571.233) is now available for download on our website. You need to have an active subscription or activate a free trial to use this build. The main highlights of this build include: We fixed the r…