SwiftUI Environment Property WrapperIn SwiftUI, by using Environment property wrapper, you can access built-in environment values. For example:Feb 24Feb 24
Xcode15 Asset Symbol GenerationBefore Xcode15, we were referencing the color and image assets by their names and it was error-prone. Or we were using some third party…Feb 23Feb 23
Swift 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:Dec 10, 2023Dec 10, 2023
Swift 5.9 if else to be the alternative of ternary operatorMost programmers prefer the ternary operator for simple comparisons to write brief code.Dec 10, 2023Dec 10, 2023
Swift 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…Jun 25, 2022Jun 25, 2022
RxSwift Memory Leak While Passing Functions to OperatorsIn RxSwift, we should be careful while passing functions to operators which might cause a memory leak.May 15, 2022May 15, 2022
Combine 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…May 4, 2022May 4, 2022
Combine 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…May 3, 2022May 3, 2022
Async Await in SwiftApple introduced a new way of handling asynchronous tasks using async and await keywords. Basically, we mark the asynchronous functions…Mar 12, 2022Mar 12, 2022