Xcode template is an ability that allows developers to create projects and files with predefined files and structures automatically. Practically we can also define custom templates to reduce boring repetitive tasks but Apple explains almost nothing about it. Maybe they have not decided to release it publicly yet but I found it very useful in daily routines. So the following article is my findings based on my and the other’s trial and errors. For sure, these are not complete and you can help the community to make it more complete until Apple reveals it officially.
In Xcode, we can define frameworks, static and dynamic libraries and bundles to modularize our codes and resources. Unfortunately it is somewhat vague in Apple documentations. So let’s look at their differences and purposes in a simple word.
In WWDC2019, Apple introduced Diffable Data Source as a new approach for providing data for table view and collection views. Apple’s video was explained using an interesting sample project. This article shows how to use diffable data source with clean architecture in mind. To do so, I apply clean architecture to the WiFi settings part of Apple´s sample project of WWDC19.