上一页 1 ··· 5 6 7 8 9 10 11 12 13 14 下一页

2011年5月29日

摘要: MAC OS获取root权限方法MAC OS原来可以通过很多方法获取root权限,本空间上一篇文章即是一种方法,在继续查阅中又发现:管理员用户用命令sudo -isudo -ssudo su均能直接转换到root用户而不需要密码,或者需要的是管理员用户密码,而不是root密码我的root和管理员用户均设置过密码参考文章:http://www.macosxhints.com/article.php?story=20090909081659323 阅读全文
posted @ 2011-05-29 03:19 禚来强 阅读(1108) 评论(0) 推荐(0) 编辑
摘要: 命令添加three20> python three20/src/scripts/ttmodule.py -p path/to/your/project/project.xcodeproj Three20 --xcode-version=4详细网站:http://three20.info/article/2011-03-10-Xcode4-Support%20%3E%20python%20three20/src/scripts/ttmodule.py%20-p%20path/to/your/project/project.xcodeproj%20Three20%20--xcode-vers 阅读全文
posted @ 2011-05-29 03:17 禚来强 阅读(350) 评论(0) 推荐(0) 编辑

2011年5月28日

摘要: Is there a way to rename an XCode 4 scheme?You need to click on the scheme button, then hit "Manage Schemes". Once you do so, you'll have a window like this:Select the scheme you want to change, and hit Return.Now the scheme name will be editable, and you can change it to your hearts d 阅读全文
posted @ 2011-05-28 17:31 禚来强 阅读(299) 评论(0) 推荐(0) 编辑
摘要: Select the project in the Project Navigator (Cmd-1) and open the File Inspector in the right sidebar (Cmd-Opt-1). There, change the Project Name. 阅读全文
posted @ 2011-05-28 15:28 禚来强 阅读(704) 评论(0) 推荐(0) 编辑

2011年5月24日

摘要: UIAlertView的动画效果实现代码首先要加入QuartzCore.frameworkp.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #ce3124}p.p2 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; min-height: 13.0px}p.p3 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo}p.p4 {margin: 0.0px 0.0px 0.0px 0.0px; font: 阅读全文
posted @ 2011-05-24 13:43 禚来强 阅读(659) 评论(0) 推荐(0) 编辑
摘要: Instagram 代码背后的免费午餐(续)我之前的一篇博客详细介绍了 Instagram 代码使用过的所有开源项目。巧的是,昨晚Hacker News热榜也出现了篇类似的博文。看来全世界的 iOS 开发者都挺关心这些开源项目的。结合 Hacker News 这篇博文的内容,我继续来作些补充。1. MBProgressHUD , ASIHttpRequest , JSON Framework , 这三个太有名了,上篇博客里也介绍过。4.Flurry – Detailed Usage Statistics (免费 SDK 下载) ,针对 iOS 平台的 Analytics 工具。一般来说,国内开 阅读全文
posted @ 2011-05-24 11:14 禚来强 阅读(308) 评论(0) 推荐(0) 编辑
摘要: UIScrollView UITableView 上拉 上提 刷新 代码下面是.h文件的代码////EGORefreshTableHeaderView.h//Demo////Created by Devin Doty on 10/14/09October14.//Copyright 2009 enormego. All rights reserved.////修改人:禚来强 iphone开发qq群:79190809 邮箱:zhuolaiqiang@gmail.com//原文地址:http://blog.csdn.net/diyagoanyhacker/archive/2011/05/24/64 阅读全文
posted @ 2011-05-24 11:06 禚来强 阅读(2908) 评论(0) 推荐(0) 编辑
摘要: 具体请看斯坦福大学讲义,今天刚刚找到,感觉比我讲的好,敬请谅解。网址:http://www.docin.com/p-120039524.html 阅读全文
posted @ 2011-05-24 10:15 禚来强 阅读(247) 评论(0) 推荐(0) 编辑

2011年5月23日

摘要: contentSize是scrollview可以滚动的区域,比如frame = (0 ,0 ,320 ,480) contentSize = (320 ,960),代表你的scrollview可以上下滚动,滚动区域为frame大小的两倍。contentOffset是scrollview当前显示区域顶点相对于frame顶点的偏移量,比如上个例子你拉到最下面,contentoffset就是(0 ,480),也就是y偏移了480contentInset是scrollview的contentview的顶点相对于scrollview的位置,例如你的contentInset= (0 ,100),那么你的c 阅读全文
posted @ 2011-05-23 19:16 禚来强 阅读(578) 评论(0) 推荐(0) 编辑
摘要: controller.modalTransitionStyle = UIModalTransitionStyleFlipHorizontal; [self presentModalViewController:controller animated:animated]; 阅读全文
posted @ 2011-05-23 14:35 禚来强 阅读(1016) 评论(0) 推荐(0) 编辑
上一页 1 ··· 5 6 7 8 9 10 11 12 13 14 下一页

导航