Singleton in iOS || Thread Safe || Pros vs Cons Singleton || iOS Interview Question

Поділитися
Вставка
  • Опубліковано 5 січ 2025

КОМЕНТАРІ • 23

  • @-ECE--VIGNESHN
    @-ECE--VIGNESHN 11 місяців тому

    👌🏻👌🏻It's really clear and so good easy to understand the concept😊 please make more videos related to real time example

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

    Good Stuff explained.
    Can you please make a tutorial even on Extensions like can we add extensions to a struct, why stored properties are not allowed in extension, why we go for extensions all such things.

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

    Good and clear explanations with example...!! Thanks for it.

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

    You explained Singleton in much clear and crisp way. Otherwise it is hard to understand such complex Topics .

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

    Really helpful… keep up the good work 😀

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

    Thanks for making fantastic tutorials

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

    class Logger{
    static var shared = Logger()
    }
    Isn't this a mutable global state? It's not a textbook Singleton

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

    ☃︎ good explanation 👌

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

    Please make a video on iOS swift design pattern

    • @AppDeveloperPoint
      @AppDeveloperPoint  2 роки тому +2

      Yes Sure on the way. Thanks for watching

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

      @@AppDeveloperPoint Your’s videos really help-full for the interview.

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

    Thanks, it was good

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

    This is not a singleton pattern.
    What's the point making it private init where you can set shared instance from outside?

    • @alfaaz_ft_abhi
      @alfaaz_ft_abhi Рік тому +1

      You can't set shared instance from outside. You can just access it. The example he used is correct. This is what singleton is.

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

    it was very good

  • @akshaykumar-qj2kx
    @akshaykumar-qj2kx 2 роки тому

    Nice