Posts

Showing posts from November, 2019

General structure of firebase chat for all platform

Image

Steps to follow for installing iOS App while in the Development(TestFlight) Phase

Image
For any application development, there are some steps that need to be tailed varied from podium like in iOS. So, below are rudimentary steps that need to be followed to run your test application that perfectly matches Client’s requirement. Steps for iOS Platform : For Installing app an invitation mail will be sent on your Apple Email-ID. Once you receive and accept the invitation, we will add you in the Test Flight User. Then again you will receive a new mail from Test Flight, which will state your Redeem code. Once you receive your Redeem Code, there are few steps by which you can install the app on your device which comprises of: Step-1:   Open the Test flight application. Step-2:   Click on the Button named Redeem which will be seen on the top-right side of the application. Fig.1 Click on Redeem for your test application Step-3:   After clicking the redeem button, it may ask for the Redeem code. You need to enter the exact Redeem code that you received in your

Easy way to push and pop UIViewController in swift 5

Step 1 :- Create New file with Name “ExteantionUIViewController.swift” Step 2 :- Copy and Paste this below extension file import UIKit let Application_Delegate = UIApplication.shared.delegate as ! AppDelegate extension UIViewController {          func popVC(_ animation : Bool = true ) {         self .navigationController?.popViewController(animated: animation)     }          func push( _ viewController : UIViewController, animation : Bool = true ) {         self .navigationController?.pushViewController(viewController, animated: animation)     }     func goBackToViewController(ViewController : UIViewController.Type,isAnimated : Bool = true )-> Bool     {         var isVCAvalabel = false         for controller in self .navigationController!.viewControllers as Array         {             if controller.isKind(of: ViewController)             {                 self .navigationController!.popToViewController(controller, ani

How to call api using URLSession in swift 5

Step 1 : Create New swift file link :(" WebServiceManager.swift ") Step 2:  Copy and paste this code in you // //   WebServiceManager.swift // import Foundation import UIKit typealias ServiceResponse = ( _ reponse:[ String : AnyObject ], _ error: Error ?) -> Void class WebServiceManager : NSObject , NVActivityIndicatorViewable {     static let sharedInstance = WebServiceManager ()     var reachability : Reachability ?     var activity : NVActivityIndicatorView !          let baseURL = SERVER_URL          func checkConnection () -> Bool     {         self . reachability = Reachability (hostname: baseURL )                  return ( reachability ?. isReachable )!     }          func makeHTTPGetRequest (path: String , onCompletion: @escaping ServiceResponse )     {         if checkConnection () == false         {             let viewController = APPLICATION_DELEGATE . navigationController