iOS Coding Questions || Defer in iOS || ios interview questions

Поділитися
Вставка
  • Опубліковано 2 сер 2024
  • #appdeveloperpoint
    For any queries , feel free to join the discord community.
    / discord
    Follow us on:
    UA-cam - ua-cam.com/users/AppDevelope...
    Github - github.com/nileshcse14/Youtub...
    Facebook - / iostpoint
    Twitter - / iostpointblog
    Website - www.iostpoint.com/
    Linkedin - / iostpoint
    Instagram - / iostpointblog
    Github - github.com/nileshcse14/Youtub...
    We will see some general programs based on Defer statement which is generally asked in the interview .
    Chapters
    0:00 Intro
    0:57 First Interview Question
    3:01 Second Interview Question

КОМЕНТАРІ • 22

  • @akshayvyavahare3359
    @akshayvyavahare3359 19 днів тому

    Nice examples... 👍

  • @jyotsnapandey400
    @jyotsnapandey400 2 роки тому

    Great course .got to know about solid in well manner

  • @plovark
    @plovark 5 місяців тому

    Thanks, Great example fully understand the solid principles✌

  • @SourovDattacse
    @SourovDattacse 2 роки тому

    Keep ahead such types of interview questions. This is really helping.

  • @hiba60164
    @hiba60164 Рік тому

    Awesome explanation, yesterday in an interview I got stuck on this question.
    Thanku so much

    • @nathtanmay
      @nathtanmay 9 місяців тому

      Hi, sorry for asking you randomly. Can you tell me what concepts the questions were on?

  • @yogeshbhatt3806
    @yogeshbhatt3806 9 місяців тому

    Thanks man for such great content

  • @modinikunj8735
    @modinikunj8735 Рік тому

    It's awesome session for SOLID. Thanks a lot !!!!

  • @nathtanmay
    @nathtanmay 9 місяців тому

    Great example. Can you tell any practical scenario where we need to use defer.

  • @VasantVP
    @VasantVP 2 роки тому

    Nice explanation, sharing with my ios group

  • @harshverma7037
    @harshverma7037 2 роки тому +1

    Please do make interview questions based on Core Data. Awesome tutorials

  • @songsmovieentertainment6691
    @songsmovieentertainment6691 9 місяців тому

    super

  • @jameelshehadeh9011
    @jameelshehadeh9011 Рік тому

    thanks for the great explanation but there is one thing i don't get right when we use print(letsUnderStandDefer()) why it prints 0 the function should have returned at that point and thus executed value = value + 1 can you please clarify thank you

    • @AppDeveloperPoint
      @AppDeveloperPoint  Рік тому

      Defer block are executed at the end , basically at the function exit. Thats the reason it prints 0 not 1. Thanks for watching. Do watch latest videos on ViewThatFits ua-cam.com/video/a0YhnPoAnVU/v-deo.html

    • @nathtanmay
      @nathtanmay 9 місяців тому

      Basically, the function first returns the value and while getting out of scope it is executing its defer method.