Hasancan AkgündüzSwift 5.9 switch statement enhancementNow with Swift 5.9, we can omit the return keyword to shorten the code in every case of the switch statement:1 min read·Dec 10, 2023----
Hasancan AkgündüzSwift 5.9 if else to be the alternative of ternary operatorMost programmers prefer the ternary operator for simple comparisons to write brief code.1 min read·Dec 10, 2023----
Hasancan AkgündüzSwift 5.7 Regex and RegexBuilderApple introduced RegexBuilder with Swift 5.7. It helps us create regexes to use in operations like searching a pattern in a text. I will…2 min read·Jun 25, 2022----
Hasancan AkgündüzRxSwift Memory Leak While Passing Functions to OperatorsIn RxSwift, we should be careful while passing functions to operators which might cause a memory leak.1 min read·May 15, 2022----
Hasancan AkgündüzCombine FutureLet’s say we have 2 business logics and one needs the other ones’ output to process. Here in this case we can get help from Future in…1 min read·May 4, 2022----
Hasancan AkgündüzCombine PassthroughSubject and CurrentValueSubjectOne difference between them is CurrentValueSubject has an initial value and emits the latest value to new subscribers. I will show with an…1 min read·May 3, 2022----
Hasancan AkgündüzAsync Await in SwiftApple introduced a new way of handling asynchronous tasks using async and await keywords. Basically, we mark the asynchronous functions…2 min read·Mar 12, 2022----
Hasancan AkgündüzSwiftUI LazyHStack vs HStackIf we want to load the content into memory when we need it, we can use LazyHStack. It is particularly useful when we have large list of…2 min read·Mar 12, 2022----
Hasancan AkgündüzSwiftUI LazyVStack vs VStackIf we want to load the content into memory when we need it, we can use LazyVStack. It is particularly useful when we have large list of…2 min read·Feb 26, 2022--2--2