Hi Guys,
Lets know in detail how this MVC works in our iOS development.
Before designing any design patterns we have to keep in mind that a good design pattern will consists of following rules.
1. Balanced Distribution
2. Testable
3. Easy to Use
1. Balanced Distribution:
This balanced distribution can be achieved by dividing every single responsibility and achieve them individually. Divide every complex thing into possible simple thing, such that it will be easy to design and the code will be understandable.
2. Testable:
Developer have to write the unit test case to maintain the best coding practise.
3. Easy to Use:
Maintaining less code and write the code such a way that no duplicate work has to done. Divide everything into possible component features. So write the code in such a way that more reusable components are present.
In iOS there are possible 4 different architecture design patterns.
1. MVC
2. MVP
3. MVVP
4. VIPER.
So we all know MVC is the King of all Design Patterns.
I will be explaining all these architecture in the next post.
Lets know in detail how this MVC works in our iOS development.
Before designing any design patterns we have to keep in mind that a good design pattern will consists of following rules.
1. Balanced Distribution
2. Testable
3. Easy to Use
1. Balanced Distribution:
This balanced distribution can be achieved by dividing every single responsibility and achieve them individually. Divide every complex thing into possible simple thing, such that it will be easy to design and the code will be understandable.
2. Testable:
Developer have to write the unit test case to maintain the best coding practise.
3. Easy to Use:
Maintaining less code and write the code such a way that no duplicate work has to done. Divide everything into possible component features. So write the code in such a way that more reusable components are present.
In iOS there are possible 4 different architecture design patterns.
1. MVC
2. MVP
3. MVVP
4. VIPER.
So we all know MVC is the King of all Design Patterns.
I will be explaining all these architecture in the next post.
No comments:
Post a Comment