Rajesh Budhiraja@EnvironmentObject 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 BudhirajaBinding 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 BudhirajaUsing 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 BudhirajaNoncopyable 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
Rajesh BudhirajainDev GeniusPhantom Types in SwiftBefore understanding phantom types, it’s important to understand what type safety does. Type safety ensures that operations are performed…Aug 17Aug 17
Rajesh BudhirajaImplementing Stack and Queue using SwiftImplementing Stack or Queue using Swift is very straightforward. This code is often needed in different areas hence to avoid reinventing…Aug 8Aug 8
Rajesh BudhirajainSwiftableBarcode Scanner in iOSYou must have seen barcodes in plenty of places. One common use case is to represent product id on each product. Today, we will see how can…Aug 4Aug 4
Rajesh BudhirajainDev GeniusMystery of Copy on writeIf you’re developing apps for iOS, you might have encountered the term Copy-On-Write (COW). COW is an optimization technique used to…Aug 31Aug 31
Rajesh BudhirajaHamburger Menu: iOSAll of us are used to this dreaded hamburger menu now. Even Apple uses that on their mobile website. Have you ever wondered how to build…Feb 10Feb 10