- 博客(12)
- 收藏
- 关注
原创 coredata 快速过滤查询 再次封装 是coredata更加容易操作https://github.com/halostatue/coredhalostatue/coredata-easyfetch
下载地址:https://github.com/halostatue/coredata-easyfetchCore Data Easy Fetch CategoryThis is an Objective-C category for Core Data (NSManagedObjectContext (EasyFetch)) that offers a few use
2013-09-23 16:30:48 1088
原创 第一次开机提示页面框架ealeksandrov/EAIntroView
EAIntroView - simple iOS IntroductionsThis is highly customizable drop-in solution for introduction views. Some features (all features are optional):swipe from last page to closecustom bac
2013-09-23 13:40:01 1889
原创 应用内购买 RMStore
下载链接:https://github.com/robotmedia/RMStoreRMStoreA lightweight iOS framework for In-App Purchases.RMStore adds blocks and notifications to StoreKit, plus receipt verification and purch
2013-09-23 12:05:00 3513
原创 iOS视图导角去边 去除遮盖
//设置圆弧半径 _userImage.layer.cornerRadius = 5; //设置边框宽度 _userImage.layer.borderWidth = .5; //设置边框颜色 _userImage.layer.borderColor = [UIColor grayColor].CGColor; //超出视图的部分裁减掉 _u
2013-09-18 16:22:27 700
原创 iOS 计算某个时间到现在是多少月/天/时的代码
传入一个NSString类型的日期格式如newsDate = @"2013-08-09 17:01";或者newsDate = @"2013/08/09 17:01";返回如果有一个月,就不返回天,依次类推。(NSString *)getUTCFormateDate:(NSString *)newsDate
2013-09-18 14:53:12 757
原创 xcode5 ios7系统的状态栏 StatusBar 隐藏 消失了(解决办法)
xcode升级到Xcode5 在ios7运行 程序的状态栏StatusBar消失了,现在有解决办法了 1.在appdeletage里面 添加如下代码: if ([[[UIDevice currentDevice] systemVersion] floatValue] >= 7) { self.window.frame = CGRect
2013-09-14 17:47:31 2140
原创 ssziparchive 解压 和 压缩
https://github.com/samsoffes/ssziparchiveThis branch is 0 commits ahead and 0 commits behind master Pull Request CompareMerge pull request #28 from nivektric/master …
2013-09-13 17:39:32 2224
原创 iOS 中如何添加应用自己的字体
想用下漂亮的字体,很简单,就三步吧1.第一步找到你想用的字体的 ttf 格式。加入到你的工程的resouce目录下。2.在工程的plist中AddRow,“Fonts provided by application” ,然后添加key为item0,value为你刚才加入的testFont.ttf 。是这样,可以添加多个,使用的时候写对应字体名字就行。3.
2013-09-13 11:25:46 949
原创 iOS 宏编译debug调试
iOS宏编译的两种方法第一种 适合修改原基础上得调试代码#ifdef DEBUG#define NSLog(...) NSLog(__VA_ARGS__)#define debugMethod() NSLog(@"%s", __func__)#else#define NSLog(…)#define debugMethod()#endif---------
2013-09-11 10:20:45 885
原创 如何判断当前iOS设备
1.在程序中涉及到全屏的宽高的时候,初始化的时候,代码中不要写320和480#define Screen_height [[UIScreen mainScreen] bounds].size.height #define Screen_width [[UIScreen mainScreen] bounds].size.width 2.使用宏定义方法判断 #de
2013-09-06 16:52:58 623
原创 ARC 和 非ARC 之间的转换方法
?1231,选择项目中的Targets,选中你所要操作的Target,2,选BuildPhases,在其中ComplieSources中选择需要ARC的文件双击, 并在输入框中输入:-fobjc-arc,如果不要ARC则输入:-fno-objc-arc
2013-09-06 10:46:17 1173
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人