摘要:
EasyTimelinehttps://github.com/mmislam101/EasyTimelineSometimes you need things to happen at specific times and things.When it's just an event 2.0 seconds later, a performSelector:withObject:afterDelay: is perfect.If it gets a little more complex where you need something happening ever 3.0 secon 阅读全文
摘要:
JSONJSON相关的,数据彼此间的转化进行了简单地封装,源码如下,支持arc与非arcYXJSON.h + YXJSON.m//// YXJSON.h//// JSONString 与 JSONData 与 字典或者数组互相转化//// Copyright (c) 2014年 YouXian. All rights reserved.//#import @interface YXJSON : NSObject/** 将字典或者数组转换为JSON格式字符串 @return JSON格式字符串 */+ (NSString *)JSONStringWithDictionaryOrArray... 阅读全文
摘要:
CoreTelephony获取运营商信息,需通过 CoreTelephony.Framework 中的 CTTelephonyNetworkInfo 和 CTCarrier 对象获取,这些都在iOS 4.0后就有了。现提供源码,支持arc与非arc编译,使用时请引入 CoreTelephony.Framework 框架MobileCountryCode.h + MobileCountryCode.m//// MobileCountryCode.h//// http://en.wikipedia.org/wiki/Mobile_Network_Code//// Created by You... 阅读全文