Maliha SulamanMastering DocC: Elevate Your Swift DocumentationIn the world of software development, documentation is often an overlooked aspect, but it is crucial for the long-term success of any…Sep 3Sep 3
Maliha SulamanManaging Critical Sections in Swift with GCD: A Real-World Use CaseIntroductionAug 28Aug 28
Maliha SulamanBlending Architecture and Design Patterns: Crafting Scalable and Maintainable SoftwareIn the realm of software development, we often encounter the delicate balance between creativity and structure. Just as an artist needs a…Aug 16Aug 16
Maliha SulamanWhat is OOP.? (Object Oriented Programming)Object-Oriented Programming (OOP) is a programming paradigm centered around the concept of “objects” rather than just functions and…Aug 4Aug 4
Maliha SulamanWhat is the situation when we need to use environmentobject in swiftui and how many…In SwiftUI, @EnvironmentObject is used to share data across many views in a SwiftUI app without having to pass the data through the view…Aug 3Aug 3
Maliha SulamanWhy we use @Model in swift and whatIn Swift, @Model is part of the new SwiftData framework, introduced to streamline data management and state persistence in Swift…Aug 2Aug 2
Maliha SulamanWhat is the difference between observedObject and stateObject in SwiftUIn SwiftUI, @ObservedObject and @StateObject are property wrappers used to manage and observe the state of objects that conform to the…Jul 31Jul 31
Maliha SulamanWhy we inherits viewmodel class from ObservableObject and why we make it finalIn SwiftUI, when creating a ViewModel class, inheriting from ObservableObject and making the class final are common practices. Here's why…Jul 31Jul 31
Maliha SulamanWhy we used published in viewmodelUsing @Published in a ViewModel is a core concept in SwiftUI, particularly when employing the MVVM (Model-View-ViewModel) design pattern…Jul 31Jul 31