标签: autolayout constraints iso nsautolayout
我有一个查询这是我的代码...
-(void)hello{ NSLog(@"there is nothing to show") }
答案 0 :(得分:0)
在Swift中,字符串不是用@ before
-(void)hello{ NSLog("there is nothing to show") }
您也可以使用print(),但我总是使用NSLog,因为您可以轻松地将NSLog重定向到文件。