- 博客(17)
- 资源 (10)
- 收藏
- 关注
转载 HealthKit开发教程:用Swift编写个健康应用!
转载自: http://www.csdn.net/article/2015-01-23/2823686-healthkit-tutorial-with-swift
2015-01-26 08:52:06 837
原创 生成xml数据
hhhh /** * 发送消息 */ - (void)sendMessage:(NSString *)_msg to:(NSString *)_to { //创建一个xml NSXMLElement *message = [NSXMLElement elementWithName:@"message"]; [message addAttribut
2015-01-25 21:51:42 562
原创 常用到的数学函数
1. fmaxf :返回两个数值中的最大值 例: + (CGFloat)heightForCellWithPost:(Post *)post { return (CGFloat)fmaxf(70.0f, (float)[self detailTextHeight:post.text] + 45.0f); }
2015-01-23 09:27:43 1230
转载 NSURLRequest各种缓存方式讲解
转载自: http://blog.csdn.net/dean19900504/article/details/8134720 1.NSURLRequestUseProtocolCachePolicy NSURLRequest 默认的cache policy,使用Protocol协议定义。 2.NSURLRequestReloadIgnoringCach
2015-01-22 14:26:05 826
原创 判断中文系统
BOOL isHanyu = [[[NSLocale preferredLanguages]objectAtIndex:0]isEqualToString:@"zh-Hans"]||[[[NSLocale preferredLanguages]objectAtIndex:0]isEqualToString:@"zh-Hant"] || [[[NSLocale preferredLangua
2015-01-21 17:20:11 534
转载 系统文件无意中被我操作后 再编译xcode报 fatal error 错误的解决办法
转载自: http://stackoverflow.com/questions/25951998/error-system-file-has-been-modified-since-precompiled-header-was-built Quit Xcode and remove everything in the module cache located here: ~/Libr
2015-01-20 11:26:47 978
转载 dSYM 文件
转载自: https://github.com/answer-huang/dSYMTools answer-huang authored on 5 Dec 2014 app/dSYM.app/Contents 最新打包app 6 months ago .gitignore add new fe
2015-01-16 13:26:52 2760
转载 UIImageView设置圆角时产生UI不流畅的解决方案
转载自: http://blog.csdn.net/zhuangyou123/article/details/8737367 在做一个NavigationController push 子页面时,发现push和pop时很卡,研究了一大阵子后,发现在子页面里影响UI流畅的只有UIImageView的圆角设置;然后我就关闭了圆角,重新运行果然流畅多了。但是产品的需求必须加圆角,没办法,去s
2015-01-14 11:46:15 688
转载 对NSArray中自定义的对象进行排序
转载自: http://beyondvincent.com/blog/2014/01/26/how-to-sort-nsarray-with-custom-objects/ 本文译自How to sort NSArray with custom objects。 我们开发的每个程序都会使用到一些数据,而这些数据一般被封装在一个自定义的类中。例如一个音乐程序可能会有一个Song类,
2015-01-13 18:41:26 522
原创 别人的批量创建UIButton
.h // // UIButton+Create.h // // Created by 魏建科 on 13-7-25. // Copyright (c) 2013年 魏建科. All rights reserved. // #import @interface UIButton (Create)
2015-01-07 17:33:44 1067
转载 如果使工程中的所有NSLog不打印
转载自: http://code4app.com/snippets/one/%E5%A6%82%E6%9E%9C%E4%BD%BF%E5%B7%A5%E7%A8%8B%E4%B8%AD%E7%9A%84%E6%89%80%E6%9C%89NSLog%E4%B8%8D%E6%89%93%E5%8D%B0/53ff3888933bf04d058b505f#s1 如
2015-01-07 16:56:27 1018
转载 swift学习
转载自: http://numbbbbb.gitbooks.io/-the-swift-programming-language-/content/
2015-01-07 13:26:05 437
原创 web端修改数据库
$conn = mysql_connect("127.0.0.1","root","1234"); if (!$conn) { die("连接数据库失败1!"); } else { echo "连接数据库成功"; } $result = mysql_select_db("chenyongDB",$conn); if (!$result) {
2015-01-06 23:32:03 1681
转载 Mac下启动和停止Mysql服务
转载自: http://www.cnblogs.com/surge/p/3998146.html 方法1. 启动Mysql服务 sudo /Library/StartupItems/MySQLCOM/MySQLCOM start 停止Mysql服务 sudo /Library/StartupItems/MySQLCOM/MySQ
2015-01-06 18:35:45 682
转载 Runloop相关文章
http://www.dreamingwish.com/frontui/article/default/ios-multithread-program-runloop-the.html
2015-01-04 13:02:36 453
巨量引擎iOS端如何集成
2024-07-11
TA创建的收藏夹 TA关注的收藏夹
TA关注的人