Static properties in Swift

后端 未结 3 1382
后悔当初
后悔当初 2020-11-28 23:35

I\'m trying to convert the following Objective-C code to Swift. In my Objective-C code, there\'s a static variable and its accessed from a class method.

@imp         


        
3条回答
  •  南笙
    南笙 (楼主)
    2020-11-29 00:05

    Yet the manual for Swift 2 still claims just enumeration ond structures may use static store properities.

提交回复
热议问题