摘要:
Closures Are Reference Types In the example above, incrementBySeven and incrementByTen are constants, but the closures these constants refer to are st 阅读全文
摘要:
一般情况下Swit要想调用obj-c,c或c++代码必须通过obj-c以及桥接文件才可以办到,但是使用@_silgen_name,可以对于某些简单的代码,直接跳过桥接文件和.h头文件与C代码交互。 创建.c文件 #include <stdio.h> int add(int i, int j){ re 阅读全文