Aug 24, 2021 swiftui
How to swift load image from url in SwiftUI
How to load a remote image from a URL in SwiftUI As Apple introduce SwiftUI in WWDC 2020 the .SwiftUI decided to use the AsyncImage to swift load image from url when the image is downloaded from the URL or…
Aug 24, 2021 Swift
Firebase InstanceID token Deprecated
Firebase InstanceID.instanceID().token() method is deprecated in AppDelegate.swift When we updated the pod file of the firebase InstantID was been depreciated . As the pod file gets updated the appdelegate gives the Capacitor error as No such module 'FirebaseInstanceID' due this can…
Aug 22, 2021 swiftui
How to Pass Data between View in SwiftUI
Passing the data form one View to another in SwiftUI Pass Data between View in SwiftUI Before SwiftUI was introduce data passing was in ViewController was with Segue, Delegate and instant Properties. As Apple introduce SwiftUI it replaced the…
Aug 20, 2021 swiftui
How Can we use Swiftui slider
Use of Slider in SwiftUI SWiftUI Slider : Earlier in Xcode we were using Slider in Storyboard or Xib.But As Apple Introduce SwiftUI Use of UIKit and Storyboard has been Depreciated in SwiftUI. We can use the SwiftUI Slider in…
Aug 20, 2021 swiftui
How To use AppDelegate In SwiftUI
How To Add AppDelegate In SwiftUI Today we going to start use of AppDelegate In SwiftUI. As inWWDC 2020 Apple does not provide default AppDelagate in swiftUI anymore. Xcode has come up with the App instead of AppDelegate. We can…
Aug 20, 2021 struct and classes
Difference between struct and class in swift – iOS
Structures and Classes in Swift Difference between struct and class in swift : Struct is basically know as value type object where as class is called as reference type object. Struct Struct is the value type object, it is the…
Aug 20, 2021 Swift
High Order Functions Swift (Sorted, Map, Filter, Reduce)
High Order Functions Swift : Higher order function are the function which operate on other function by taking the argument or return the function To reduce the complicity in swift, they have introduced Higher order function in swift. Higher order…
Aug 19, 2021 Stack
How to use Stack in SwiftUI
Stack in SwiftUI Today we are going to start with use of the Stack in SwiftUI. As Apple has introduce SwiftUI the use of Storyboard and Xib has been eliminated.Thus to construct the View SwiftUI has introduce Stack in the…