Read first chapters of App Architecture. iOS Application Design Patterns in Swift.