[OC/Swift混编]在Swift中调用OC方法(转载)
时间:2015-07-28 17:46:08
收藏:0
阅读:306
OC中方法:
- (void)sayWhat:(NSString *)name andAge:(NSString *)age
{
NSLog(@"%@,%@",name,age);
}
Swift中调用:
someone.sayWhat("achao",andAge:"22")
原文:http://www.cnblogs.com/littleZ/p/4683317.html
评论(0)