摘要: 原文地址:http://blog.csdn.net/enuola/article/details/7903632作为一种轻量级的数据交换格式,json正在逐步取代xml,成为网络数据的通用格式。有的json代码格式比较混乱,可以使用此“http://www.bejson.com/”网站来进行JSON格式化校验(点击打开链接)。此网站不仅可以检测Json代码中的错误,而且可以以视图形式显示json中的数据内容,很是方便。从IOS5开始,APPLE提供了对json的原生支持(NSJSONSerialization),但是为了兼容以前的ios版本,可以使用第三方库来解析Json。本文将介绍Touch 阅读全文
posted @ 2014-04-04 16:12 风云语 阅读(106) 评论(0) 推荐(0) 编辑
摘要: Given a sorted linked list, delete all duplicates such that each element appear only once. For example, Given 1->1->2, return 1->2. Given 1->1->2->3->3, return 1->2->3. 阅读全文
posted @ 2014-02-18 19:12 风云语 阅读(94) 评论(0) 推荐(0) 编辑
摘要: Follow up for "Remove Duplicates": What if duplicates are allowed at most twice? 阅读全文
posted @ 2014-02-16 20:48 风云语 阅读(136) 评论(0) 推荐(0) 编辑
摘要: Given a sorted array, remove the duplicates in place such that each element appear only once and return the new length. Do not allocate extra space for another array, you must do this in place with constant memory. 阅读全文
posted @ 2014-02-16 20:28 风云语 阅读(120) 评论(0) 推荐(0) 编辑
摘要: 使用Multipeer Connectivity framework,设备之间可以通过infrastructure Wi-Fi networks, peer-to-peer Wi-Fi, and Bluetooth personal area networks进行通信。 阅读全文
posted @ 2013-11-10 16:39 风云语 阅读(1127) 评论(1) 推荐(0) 编辑