dsa typedef unsigned long int NUM; typedef unsigned short int Data; //为已经存在的类型起一个别名 //1.定义一个变量 unsigned long int NUM //2.加typedef unsigned long int NUM; //3.NUM 成为一个新类型名称 // 补码,递归,逻辑 //数组-排序,二维数组地图 //指针- 外挂 //字符串,结构体,内存四区,文件 void main() { unsigned ;
var ivar = [:] ivar.className // __NSDictionaryI var i = 1 i.className // error: 'Int' does not have a member named 'className' If you want to get the type of a primitive, you have to use bridgeToObjectiveC(). Example: var i = 1 i.bridgeToObjectiveC(