Gagan Vishal MishraSwiftUI Reusable AlertReusable SwiftUI Alert that can be used throughout the iOS app.17h ago17h ago
Gagan Vishal MishraUnit Testing in VIPER Architecture with SwiftIn the dynamic world of software development, building robust and maintainable applications is a top priority. One proven approach to…Dec 15, 2023Dec 15, 2023
Gagan Vishal MishraUIViewController extension for presenting Alert in Swift AppIn our Swift apps, we need to present an alert on top of a current viewController in the app. Alert can have up to two buttons as below…Feb 2, 2023Feb 2, 2023
Gagan Vishal MishraAdding AppDelegate in Swift UI AppIn order to access or use the full lifecycle of your app we must have AppDelegate in your SwiftUI app.Feb 2, 2023Feb 2, 2023
Gagan Vishal MishraDynamic height of UIView as per device dimensionsin some cases, we want the view must be of dynamic height as per device height. In order to provide this feature, we can create a subclass…Mar 7, 2022Mar 7, 2022
Gagan Vishal MishraType of ‘self’ in SwiftIn Swift, we have the following types of ‘self’ keywordFeb 28, 2022Feb 28, 2022
Gagan Vishal MishraSOAP vs RESTIn order to choose between SOAP and REST, here’s a comparison of SOAP and REST.Feb 26, 2022Feb 26, 2022
Gagan Vishal MishraUserDefaults Unit testing in iOSIn this example, we’ll try to write a unit test case of UserDefaults in iOS.Feb 26, 20221Feb 26, 20221
Gagan Vishal MishrasetNeedsLayout vs layoutIfNeeded in SwiftWhat is the difference between setNeedsLayout and layoutIfNeededFeb 3, 2022Feb 3, 2022