上一页 1 ··· 6 7 8 9 10 11 下一页
摘要: 最近看了子柳的《淘宝技术这十年》,其中讲到因为负载和连接池问题,淘宝当年迫不得已从SUN请来一对工程师从LAMP架构转到Java+Oracle.作为一个PHP为“母语”的程序仔,真是感到压力颇大。搜了搜知乎,看到说“php前端+Java后台”的模式,有点道理,PHP可以嵌入HTML快速动态的输出页面... 阅读全文
posted @ 2014-10-22 15:40 Rayshen 阅读(381) 评论(0) 推荐(0) 编辑
摘要: xcode自带svn的使用1、代码中 某文件后面有 “M” 标记,表示该文件已被修改,需要commit. (右键该文件 -> source control -> commitselected file...)2、代码中 某文件后面有 “A” 标记,表示该文件是新添加的,已受SVN管理,需要c... 阅读全文
posted @ 2014-10-21 16:46 Rayshen 阅读(285) 评论(0) 推荐(0) 编辑
摘要: 翻了好多网页都没找到资料,自己试了下终于成功了,遂分享一下。1.实现TabBar在Push后的隐藏假如结构是这样 NavController->A->B,我们想要实现在A里有Tabbar,Push到B后Tabbar消失(参考淘宝首页点击任何广告页面后Push,底部Tabbar消失)在A中创建B时 ... 阅读全文
posted @ 2014-10-08 22:28 Rayshen 阅读(1962) 评论(0) 推荐(0) 编辑
摘要: ScrollViewController.h#import @interface ScrollViewController : UIViewController{ UIScrollView *_scrollView; UIPageControl*_pageControl;}@endScr... 阅读全文
posted @ 2014-10-07 19:49 Rayshen 阅读(628) 评论(0) 推荐(0) 编辑
摘要: 重启apache:sudo /usr/sbin/apachectl restart关闭apache:sudo /usr/sbin/apachectl stop开启apache:sudo /usr/sbin/apachectl start 阅读全文
posted @ 2014-09-22 23:04 Rayshen 阅读(197) 评论(0) 推荐(0) 编辑
摘要: 创建CollectionCell模版:1、新建类CollectionCell继承自UICollectionViewCell2、新建Xib,命名为CollectionCell.xiba.选中CollectionCell.xib删掉默认的View,从控件中拖一个Collection View Cell(... 阅读全文
posted @ 2014-09-19 11:50 Rayshen 阅读(265) 评论(0) 推荐(0) 编辑
摘要: 转载请注明出处http://blog.csdn.net/pony_maggie/article/details/25655443作者:小马代理和协议的语法这里不赘述,自己查资料。这个demo的思路是这样的,有一个A类,这个类不是一个基于视图类,它继承自NSObject,这个类会启动一个定时器,当定时... 阅读全文
posted @ 2014-09-12 16:45 Rayshen 阅读(274) 评论(0) 推荐(0) 编辑
摘要: 原文:http://blog.sina.com.cn/s/blog_9e8867eb0102uykn.html这篇文章建议和前一篇一起看, 另外先弄清楚IOS的block是神马东东。委托和block是IOS上实现回调的两种机制。Block基本可以代替委托的功能,而且实现起来比较简洁,比较推荐能用bl... 阅读全文
posted @ 2014-09-12 16:40 Rayshen 阅读(877) 评论(0) 推荐(0) 编辑
摘要: 1.核心游戏机制2.主题3.功能集合4.可能的附加功能5.备用主题创意 阅读全文
posted @ 2014-09-12 14:11 Rayshen 阅读(168) 评论(0) 推荐(0) 编辑
摘要: 1.alertview创建UIAlertView *alert; alert = [[UIAlertView alloc] initWithTitle:@"提示" message:@"题库有更新,需要更新吗?" delegate:self cancelButtonTitle:@"确定"... 阅读全文
posted @ 2014-09-08 11:38 Rayshen 阅读(159) 评论(0) 推荐(0) 编辑
上一页 1 ··· 6 7 8 9 10 11 下一页