During my work with iOS application development, I noticed that almost every application has several parts that repeat. For example, each application has user management logic, login, registration, forgotten password. And each time I find that I myself try to manually import the logic that has already been developed (view controllers, tips, storyboards). My question is how can I implement these common functions in a separate component, so I can just reuse them every time I start a new project. Also note that there should be an opportunity for small settings, for example, all applications have a login screen, but the user interface design varies for each application.
In short, I need:
- How to encapsulate frequently repeated functions in a separate component.
- How to add a component to a new project.
- How to make settings in a component without changing the core of the component.
I suppose that some combination of Framework (or static library) and cocoa pods should be made here, but I wanted to hear if someone had already developed some concepts about this.
source
share