You can share your framework with your other apps, team members, or the iOS community. When combined with Swift’s access control, frameworks help define strong, testable interfaces between code modules. In Swift parlance, a module is a compiled group of code that is distributed together. A framework is one type of module, and an app is another example.