Rajesh BudhirajainDev GeniusParameter Packs: SwiftWe have many instances where we want to perform some action over varying data types. e.g. a simple Add operation can be used to add two…Oct 13Oct 13
Rajesh BudhirajainDev GeniusSwift Concurrency: Async and AwaitTo understand what’s Async-Await is used for, we need to know a few things about synchronous functions and asynchronous functions.Oct 12Oct 12
Rajesh BudhirajaCapsule with gradient: iOSThis article will show how to make a capsule shape with a gradient. While building this we will also see how layers work, how masking…Sep 30Sep 30
Rajesh BudhirajainSwiftableTyped Throws: SwiftTyped throws are introduced with Swift 6.0. It lets us define the type of error that we can expect from a method.Sep 24Sep 24
Rajesh BudhirajaSave Files to the Documents Directory with SwiftThe iOS apps are sandboxed, which means data is not accessible outside the app bundle. We can save this data by opening the action sheet…Sep 11Sep 11
Rajesh BudhirajainDev GeniusEnvironmentObject and Observable in SwiftUIIn SwiftUI, we often use @Binding to pass state from a parent to a child view. However, what if we want to pass some state throughout the…Sep 1Sep 1
Rajesh BudhirajainSwiftableBinding Property Wrapper: SwiftUI@Binding is used for passing state from child to parent view. Let’s see how it can be done.Aug 31Aug 31
Rajesh BudhirajainDev GeniusUsing socket.io with iOSToday we will see how can we use socket in our app. The same theory works if you are dealing with MQTT. Let’s start with absolute zero.Aug 28Aug 28
Rajesh BudhirajainSwiftableWhy you should care about SOLID Principles?SOLID is an acronym for object-oriented design principles that provide a way for developers to organize their code, making it flexible…Aug 19Aug 19
Rajesh BudhirajainDev GeniusNoncopyable Structs And EnumsThis proposal is accepted and has become part of Swift 5.9. You can read more about this in detail here.Aug 18Aug 18