swift 中单例的使用

2020-06-13  本文已影响0人  邱廷浩

static let share = class()

记住 如果不想暴露初始方法 private init()

上一篇下一篇

猜你喜欢

热点阅读