Posts

Showing posts with the label Api

Complete iOS Developer Guide - Swift 5 by @hiren_syl |  You Must Have To Know 😎 

    Complete iOS Developer Guide - Swift 5   -> Table of Contents Swift Programming Fundamentals Xcode and Development Environment iOS App Architecture User Interface Development Data Management Networking and APIs Core iOS Frameworks Advanced iOS Features Testing and Debugging App Store and Distribution Performance and Optimisation Third-Party Libraries and Dependency Management Version Control with Git 1. Swift Programming Fundamentals 1.1 Swift Basics Description : Core Swift language concepts and syntax Subtopics : Variables and Constants : var vs let , type inference, explicit typing Data Types : Int, Double, Float, String, Bool, Character Optionals : Optional binding, force unwrapping, nil coalescing operator Type Safety : Strong typing system, type casting, type checking String Interpolation : Embedding expressions in strings Comments : Single-line (//) and multi-line (/* */) comments 1.2 Control Flow Description : Managing pr...

Api Calling (Basic To Advance)

 What is Api Calling? API calling in a mobile app refers to the process of making requests to external Application Programming Interfaces (APIs) from within the mobile application. APIs act as a bridge between the mobile app and external data sources or services, allowing the app to access and integrate relevant information and functionalities. Api Calling in iOS/ Swift5 :- Basically we need this normal steps written below to perform Api call in iOS apps. 1. URL Construction :  -  Think of this step as setting the destination for your data request. You need to know exactly where you want to send your request. This involves creating a URL that points to the API endpoint.    - Create a `URL` object that represents the API endpoint you want to access.    - Construct the URL by combining the base URL of the API and any necessary query parameters or path components. 2. URL Request Creation:    - Create a `URLRequest` object to encapsulate the deta...