两者的区别是每个函数的最后一句话 View.swift中添加控件alertController image = UtilityFromOC.fixOrientation(image) var nsdataforimage = UIImageJPEGRepresentation(image, 1)! Read More
posted @ 2017-06-02 16:19
牛郑焜
Views(847)
Comments(0)
Diggs(0)
有两个方法必须实现,一个是cellForRowAtIndexPath(设定cell内容),还有一个是numberOfRowsInSection(设定行数)。 1、设定行数 2、设定cell中内容 Read More
posted @ 2017-06-02 11:00
牛郑焜
Views(828)
Comments(0)
Diggs(0)
对象.delegate=self的意思就是对象的任务交给self去做 对象!=self 假如你有对象A 对象B A是B的成员变量 class B { member A } 在B中写这么一句“A.delegate=self” 按你的理解 应该是A的任务交给B去完成 Read More
posted @ 2017-06-02 10:47
牛郑焜
Views(427)
Comments(0)
Diggs(0)

浙公网安备 33010602011771号