【发布时间】:2014-07-23 18:24:48
【问题描述】:
我们曾经声明property在类之间传递数据如下:
.h file (interface file)
@property (nonatomic) double topSpeed;
.m file (implementation file)
@synthesize topSpeed;
现在没有interface类,.swift类之间如何传递数据?
【问题讨论】:
-
你不解释,你说
"We used to declare property to pass data between classes as following:"然后你的问题"Now there is no interface class, how to pass data between .swift classes ?"它在哪里解释?
标签: ios objective-c swift ios8