search

Home  >  Q&A  >  body text

cocoa-touch - objective-c中非共享的实例是指什么?

objective-c中单例中非共享的实例是指什么?

阿神阿神2768 days ago633

reply all(1)I'll reply

  • 巴扎黑

    巴扎黑2017-04-21 11:18:22

    A shared instance is the so-called singleton, which means that no matter when you access it through a certain method, you will access an instance object
    Non-shared instances, on the contrary, each access is a re-created instance object.

    reply
    0
  • Cancelreply