摘要: UITableView is a subclass of UIScrollView, and UITableViewDelegate conforms to UIScrollViewDelegate. So the delegate you attach to the table view will get events such asscrollViewDidScroll:, and you can call methods such ascontentOffseton the table view to find the scroll position.in the tableview d 阅读全文
posted @ 2013-08-12 09:25 GreyWolf 阅读(634) 评论(0) 推荐(0) 编辑
摘要: This article is available inSerbo-Croatian,JapaneseandGerman.(Translations in Serbo-CroatianbyJovana Milutinovich, Japanese by@noradaikoand German byJonas Pencke (@jonaspencke).)Translations in other languages are welcome!How awesome would it be if a networking framework automatically takes care of 阅读全文
posted @ 2013-08-12 03:43 GreyWolf 阅读(383) 评论(0) 推荐(0) 编辑
摘要: 在实际开发中,数据的存储是必不可少的,常用的有数据库存储和文件存储。数据库目前有关系型数据库和文档型数据库(No-SQL)。关系型数据库以字段、类型、约束、表关系来存储和管理数据,比较常见的比如Oracle、MySql等都属于RDBMS,文档型数据库是一种可分布式的文档结构数据库,没有关系型数据库中传统意义上的表,比较常见的比如MongoDB、CouchDB等。今天主要介绍下,在java开发中,利用第三方开源项目db4o如何直接将对象保存到数据库,而非将对象中属性拆解出来后再保存,这样操作起来更快捷、更直观。db4o目前支持Java和.Net平台,它的原理其实就是将对象保存到文件中,但是使用上 阅读全文
posted @ 2013-08-12 00:52 GreyWolf 阅读(489) 评论(0) 推荐(0) 编辑
摘要: There are a hundred and one proposed solutions out there for how to moveUITextFieldandUITextViewout of the way of the keyboard during editing — usually, it comes down to observingUIKeyboardWillShowNotificationandUIKeyboardWillHideNotification, or implementingUITextFieldDelegatedelegate methods, and 阅读全文
posted @ 2013-08-12 00:37 GreyWolf 阅读(280) 评论(0) 推荐(0) 编辑