08 2015 档案

摘要:基本事件包括begin,canceled,move,ended四项,如果对象的hidden属性为yes,则无效果,hidden属性必须为no;才能使用:-(void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event{//触碰开始// ... 阅读全文

posted @ 2015-08-25 15:16 坚持才能不懈 阅读(240) 评论(0) 推荐(0)

摘要:自定义cell的方法主要有两种,storyboard以及xib(假设新建的是cellTableViewCell类) 比较倾向于xib方式使用xib在xib文件内将自定义的cell绘制好后导入到调用文件中,并且要设置其ID 在使用时候,需要注册: static BOOL regist = NO;... 阅读全文

posted @ 2015-08-24 18:04 坚持才能不懈 阅读(413) 评论(0) 推荐(0)

导航