Embedding a Whole Screen Into a UIScrollView Subsequently

Sometimes you want to add something to a screen and then you become aware that there’s just not enough room. So it would had been a great idea to put everything into a UIScrollView all along. Though it’s a little bit tricky to do it subsequently, it doesn’t take a lot of time to do so.

Published
Categorized as UIKit

UserDefaults

UserDefaults are a great way to persist a small amount of data. In this post we will discuss all the things you need to know.

Published
Categorized as Foundation

Structuring UITableViews by Using Enums

UITableViews are obviously one of the most used user interface elements on iOS. However, if you are dealing with UITableViews, that have a lot of different sections, your code can become messy quickly. Even worse, it will become very difficult to change the implementation of the UITableView later on. But you can structure UITableViews by using enums.

Published
Categorized as UIKit

Sorting Arrays in Swift

Sorting arrays is a very common task. Swift has a built-in feature that is fast and easy to use. In this article you’ll learn all the details.

Published
Categorized as Swift

Retain Cycles, Weak and Unowned in Swift

Memory management, retain cycles and the usage of the keywords weak and unowned are a little bit confusing. On the other hand it’s very important to understand this topic properly because retain cycles are one of the major reasons for memory problems. But don’t worry! In this article you will learn everything you need to know.

Published
Categorized as Swift