What's the correct method to subclass a singleton class in Objective -C?

后端 未结 9 951
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-09 18:23

I have created a singleton class and I want to create a class which is subclass of this singleton class, what is the correct method to do it

9条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-09 18:45

    I made an example "base class" for singleton, you can check it here: https://github.com/stel/DOSingleton

提交回复
热议问题