Swift Heroes 2025

Swift Heroes 2025

From Modularization to Clang and Back
2025-04-08 , Main Stage

This talk presents a unique approach to modularizing large projects that helps to visualize and analyze the project structure, allowing it to be optimally divided into modules with minimal effort.

We'll explore how to use SwiftSyntax to construct a dependency graph between various entities in the code. Special attention will be given to the Periphery tool, which offers functionality for examining entity relationships not just statically but dynamically as well. We'll delve into the little-known Swift Index Store, which is key for working with metadata in Swift projects.

In conclusion, we'll discuss the results of this approach, including the generation of special files that simplify the understanding and management of project structure.

This talk will be beneficial for iOS developers, architects, and technical leaders interested in improving their project structure and optimizing development processes.

Roman is an iOS developer who graduated from the Apple Developer Academy in Naples. He actively participates in open-source projects such as Swift, Tuist, and Periphery. His main area of expertise is infrastructure development