suchen

Heim  >  Fragen und Antworten  >  Hauptteil

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

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

阿神阿神2883 Tage vor676

Antworte allen(1)Ich werde antworten

  • 巴扎黑

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

    共享实例就是所谓的单例,就是不管什么时候通过某方法访问,访问到的都是一个实例对象
    非共享实例,反之,每次访问都是重新创建的实例对象。

    Antwort
    0
  • StornierenAntwort