Learn the adapter pattern in Swift to modularize your source code better. Tutorial with code snippets on iOS Design Patterns.