上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 57 下一页
  2011年12月20日
摘要: 缺省情况下,在Mac下是不显示隐藏文件的,Finder 也未提供设置是否显示隐藏文件的选项,不像Windows下,有一个“文件夹选项“设置界面里可以控制,但这并不表示 Mac 下无法显示隐藏文件,我可以通过“终端”,用命令行设置这个选项,命令如下:显示:defaults write com.apple.finderAppleShowAllFiles -bool true隐藏:defaults write com.apple.finderAppleShowAllFiles -bool false除了命令行设置外,也有第三方工具可以实现,有一个叫OnyX的程序可以实现,方法二:首先,转到你要查看隐 阅读全文
posted @ 2011-12-20 14:31 wtq 阅读(36902) 评论(1) 推荐(0) 编辑
摘要: 原文摘自:http://www.douban.com/note/77384858/iPhone OS4.0加入了scale factor,这表示point长度/pixel长度。在分辨率为960*640的设备上,我们知道逻辑坐标系还是不变480*320,那么一个point有两个pixel长,所以scale=2.0。在分辨率为480*320的设备商,point和pixel长度相同,scale=1.0。为了程序自动适应分辨率,程序会自动给UIScreen.scale赋值,[UIScreen mainScreen].scale = 1.0 or 2.0。我们编程,画图,窗口,字体等都是矢量图,通过sc 阅读全文
posted @ 2011-12-20 11:42 wtq 阅读(4127) 评论(0) 推荐(1) 编辑
摘要: 1本文摘自:http://dev.10086.cn/cmdn/wiki/index.php?doc-view-3563.htmlUIImage 图片缩放编辑文档C代码#import<Foundation/Foundation.h>@interfaceUIImage(scale)-(UIImage*)scaleToSize:(CGSize)size;@endC代码////UIImageScale.m//golfChina////Createdbychao.wangon6/1/10.//Copyright2010__MyCompanyName__.Allrightsreserved./ 阅读全文
posted @ 2011-12-20 11:36 wtq 阅读(271) 评论(0) 推荐(0) 编辑
摘要: I have watched the video on how to do the installation for a new project. My project is called Test1 and I typed in:python three20/src/scripts/ttmodule.py -p Test1/Test1.xcodeproj Three20and it gives me:ERROR:root:Unable to open the project file atthispath (is it readable?): Test1/Test1.xcodeproj/pr 阅读全文
posted @ 2011-12-20 10:43 wtq 阅读(379) 评论(0) 推荐(0) 编辑
摘要: 1 犯了一个低级的错误,竟然在导入头文件时,写成这样#import "Thre20.h/Three20.h",这简直是晕了。应该写成#import"Three20/Three20.h"具体参考如下:http://chepri.com/2011/04/22/visual-guide-manually-adding-three20-xcode-4-project/这篇文章非常的不错哦。 阅读全文
posted @ 2011-12-20 10:31 wtq 阅读(611) 评论(0) 推荐(0) 编辑
摘要: 1原文摘自:http://chepri.com/2011/04/22/visual-guide-manually-adding-three20-xcode-4-project/A Visual Guide to Manually Adding Three20 to your Xcode 4 ProjectPosted onApr 22, 2011Three20 is a modular open source Objective-C library used by numerous applications in the App Store, including well-known bran 阅读全文
posted @ 2011-12-20 10:23 wtq 阅读(818) 评论(0) 推荐(0) 编辑
摘要: 1:原文摘自:http://three20.info/article/2010-10-06-Adding-Three20-To-Your-ProjectIntroductionBefore you begin using Three20 in your project, you should decide what directory layout works best for you.Recommended: Shared LayoutIn this layout, Three20 is shared between multiple projects. If you need to mak 阅读全文
posted @ 2011-12-20 09:49 wtq 阅读(354) 评论(0) 推荐(0) 编辑
摘要: http://three20.info/article/2011-03-10-Xcode4-Support首先把Three20.xcodeProj编译一下,然后安装下面方法Xcode 4 Transition GuideApple is pushing for Xcode 4 to be the primary developmentenvironment and, as a result, many of us will transition from Xcode3.2 to Xcode 4 over the coming weeks. This guide has been puttoge 阅读全文
posted @ 2011-12-20 09:04 wtq 阅读(361) 评论(0) 推荐(0) 编辑
  2011年12月19日
摘要: 1,原文摘自:http://blog.csdn.net/linhanmin/article/details/69072861.新建Three20文件夹2.用Terminal进入到新建的文件夹3.运行指令下载three20git clone https://github.com/facebook/three20.git4.在下载的时候在Three20文件下新建一个Three20Demo的项目5.下载完three20后,运行指令即可在新建项目里添加three20python three20/src/scripts/ttmodule.py -p ThreeDemo/ThreeDemo.xcodepr 阅读全文
posted @ 2011-12-19 15:31 wtq 阅读(799) 评论(0) 推荐(0) 编辑
  2011年12月17日
摘要: 1原文地址:http://stackoverflow.com/questions/7499591/how-to-start-three20-photo-viewer-in-thumbnail-viewYou should useTTThumbsViewControllerinstead ofTTPhotoViewController. There's a good example of it in three20 TTCategory sample app.TTThumbsViewControlleralso uses a photo source, so you won't 阅读全文
posted @ 2011-12-17 16:32 wtq 阅读(288) 评论(0) 推荐(0) 编辑
上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 57 下一页