Images that are not used in our projects can sometimes be annoying. One of the biggest results of this is that it increases the size of the application.
On the contrary, when we remove unused images or if they are left, the project is reduced and the application size decreases. It also prevents image clutter.
To solve this problem, I will share with you two methods below and explain one of them with examples.
LSUnusedResources did not consider it worthy to explain since this is no longer maintained.
I will focus on FengNiao and explain its details.
FengNiao is simple command-line util to deleting unused image resource files from your Xcode project. FengNiao is a command-line tool mostly written in Swift and It’s an open-source project. You can access the tool on Github. …
In this iOS guide, I am going to explain collection types that are Arrays and Sets and I am going to reinforce them with short examples.
Arrays and Sets have several features in common. They both store a collection of values of the same type. The most important difference between them;
Set is unordered, and each element can only appear once in a set. While an
Array can contain duplicate elements, each value contained in a set is unique.
The Ways of Initialization of arrays.
As in the screenshots below and above, the Animals series was started with the string element type. …
In this iOS guide, I am going to explain Swift literals, and I am going to reinforce the following topics by giving examples in order.
Literals are digits of characters that describe constant values to be stored in properties. Literals are used to initialize or assign value to variables or constants.
In the Swift standard library, type aliases of primitive types are created. …