摘要:
swift引入后,为了使oc和swift更相近,对oc的初始化方法也进行了修正,具体说明,见下面的链接,这个waring的最简单的修正方法是,到相应类的头文件中,去掉在自定义初始化方法后面的 NS_DESIGNATED_INITIALIZER宏。这样系统就不会认为我们定义了designated in... 阅读全文
摘要:
今天升级xcode7时发现了个这个编译bug,说是找不到xcdatamodeld。解决方法如下:I had the same problem. Here are the steps I used to solve it:Right-click on your project file in Xcod... 阅读全文
摘要:
https://medium.com/swift-programming/sequence-beyond-primitive-iterations-in-swift-80bc2507d8cc/// Return a `GeneratorType` instance whose `next` meth... 阅读全文