It is aimed to produce an SDK that will enable easy use of MVVM architecture.
Medium articles for more details:
- Click the English version.
- Click the Turkish version.
Example project that using the SDK.
Due to the MVVM architecture, it is shaped on 3 different classes or structs, naturally these are also available in the SDK:
- Model
- View
- ViewModel
And in addition to these it contains 2 extra extensions in SDK:
- NSObjectExtension (a NSObject extension that returns the names of classes)
- ViewController+TapGesture (ViewController extension that closes the keyboard when tapping empty space in any ViewController)
For this, it is necessary to add the package to your project. File > Add Packages… > (Paste the link in the search bar above:https://github.com/TeyUs/MVVMBaseProtocols.git) > Add Packages