AppCode 2022.2

Analyze the structure of your application by generating UML class diagrams for Objective-C and Swift.
August 4, 2022
New Version

Features

UML class diagrams

  • AppCode now lets you generate UML diagrams for Objective-C and Swift. The diagrams help you analyze the structure of your application by showing types, along with their connections, methods, and fields.

Swift and Objective-C language support

  • Concurrency interoperability with Objective-C - A set of features added in Swift 5.5 for concurrency interoperability with Objective-C are now supported in AppCode. From the user’s perspective, this means:
    • Code resolve in Swift for Objective-C asynchronous functions works correctly.
    • Support is available for actor interoperability with Objective-C.
    • Various Objective-C attributes like _Nullable_result and __attribute__((swift_async_error(...))) are handled correctly.
  • Existential any - This release comes with support for existential any from Swift 5.6. This includes:
    • Correct code parsing and type checking.
    • Code completion and code generation.
    • Changes to the code formatter.
  • Enhanced module handling - There's now enhanced modules handling in this release:
    • References to extern modules are now resolved correctly.
    • Several modules in the extern module map are now supported.
    • Modules marked as unsupported in Swift are now excluded from code resolve and completion.

Code documentation

  • Documentation Rendering - Improved code documentation rendering. It removes incorrect formatting, fixes content ordering, no longer loses data, and removes redundant spaces and empty lines.
  • Code highlighting in the documentation popup - AppCode now applies basic syntax highlighting when showing documentation comments in the Quick Documentation popup or in reader mode.

Code generation for Swift actors

  • AppCode can now generate initializers for Swift actors. Actor-isolated properties are no longer suggested when auto-generating equals and hash in an actor’s extension.

Inspection settings

  • The inspection settings in Preferences | Editor | Inspections now visualize the highlighting style. When you want to change how an inspection appears in the editor, you can set it up using the new Highlighting in editor drop-down menu, which conveniently displays all available highlighting styles.

Kotlin Multiplatform Mobile plugin

  • The Kotlin Multiplatform Mobile (KMM) plugin for AppCode helps you develop applications for Android and Apple iOS using the unified Gradle project model. The new update expands the variety of the supported projects.
  • 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. The unified project view for such projects now correctly displays both Gradle and Xcode projects in one common tree.
UML class diagrams

AppCode

Smart IDE for iOS/macOS development.

Got a Question?

Live Chat with our JetBrains licensing specialists now.