Sergey ChsherbakHow to Better Use ButtonStyle in SwiftUISwiftUI provides a powerful way to create and customise views using styling protocols. These protocols allow us to define the look and feel…3 min read·Feb 7, 2023----
Sergey ChsherbakNil-coalescing operatorThe use of optionals in Swift is one of its most powerful features, as it guarantees the safety of your program. However, optionals can…3 min read·Jan 28, 2023--1--1
Sergey ChsherbakUIViewController LifecycleUIViewController is a fundamental class in the UIKit framework. One of the most important tasks it does is managing the lifecycle of its…4 min read·Dec 22, 2021----
Sergey ChsherbakControl Transfer Statements in SwiftYou have definitely used the keyword return or probably seen the keyword break. These keywords change the order in which your code gets…4 min read·Dec 19, 2021----
Sergey ChsherbakInout Parameter in Swift ExplainedLet’s start this article with a question. How do you think will the code below compile or not?2 min read·Dec 17, 2021--1--1
Sergey ChsherbakSwift Access ControlHave you ever thought about why do we need to declare something as private, public, or open? You have probably seen these keywords many…3 min read·Dec 12, 2021----
Sergey ChsherbakImplement Tree Data Structure in SwiftYou probably have already heard about the Tree data structure, or you might even have had a task in your interview where you had to…4 min read·Dec 11, 2021----
Sergey Chsherbak@AppStorage Property Wrapper ExplainedWhenever we need to save some basic, not secure data, such as settings for an app, we refer to UserDefaults. However, SwiftUI comes with…1 min read·Dec 6, 2021----
Sergey Chsherbak@State Property Wrapper ExplainedSwiftUI uses many property wrappers, but in the present article let’s cover one particular — @State and answer the next questions:2 min read·Dec 2, 2021----
Sergey ChsherbakSelf & Self.Type & self in SwiftYou have probably already used the self keyword many times while writing code, but did you ever think what is the self? In the present…2 min read·Nov 27, 2021----