2016年5月26日

破壳(2)之触摸

摘要: UIResponder 一个可以接收触摸屏上的触摸事件的对象触摸事件 motion事件,Remote 控制事件 -(BOOL) hasPrefix:(NSString *) //astring;检查字符串是否以astring开头; -(BOOL) hasSuffix:(NSString *) //a 阅读全文

posted @ 2016-05-26 16:46 码上翻身 阅读(186) 评论(0) 推荐(0)

破壳(1)

摘要: 1. 了解main函数, UIApplication是初始化程序的核心,它接受4个参数。 其中argc和argv两个参数来自于main()接受的两个参数;另外两个String型参数分别表示程序的主要类(principal class)和代理类(delegate class) int main(int 阅读全文

posted @ 2016-05-26 12:06 码上翻身 阅读(235) 评论(0) 推荐(0)

ios表视图之UITableViewCellAccessoryCheckmark单选、多选状态保存

摘要: 表视图界面跳转,单元格选中状态的保存 多选 在cellForRow中: UITableViewCell *Cell = [tableView cellForRowAtIndexPath:indexPath]; Cell.accessoryType = [[NSUserDefault standard 阅读全文

posted @ 2016-05-26 11:02 码上翻身 阅读(925) 评论(0) 推荐(0)

导航