摘要:
缺省情况下,在Mac下是不显示隐藏文件的,Finder 也未提供设置是否显示隐藏文件的选项,不像Windows下,有一个“文件夹选项“设置界面里可以控制,但这并不表示 Mac 下无法显示隐藏文件,我可以通过“终端”,用命令行设置这个选项,命令如下:显示:defaults write com.apple.finderAppleShowAllFiles -bool true隐藏:defaults write com.apple.finderAppleShowAllFiles -bool false除了命令行设置外,也有第三方工具可以实现,有一个叫OnyX的程序可以实现,方法二:首先,转到你要查看隐 阅读全文
摘要:
原文摘自: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 阅读全文
摘要:
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./ 阅读全文
摘要:
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 阅读全文
摘要:
1 犯了一个低级的错误,竟然在导入头文件时,写成这样#import "Thre20.h/Three20.h",这简直是晕了。应该写成#import"Three20/Three20.h"具体参考如下:http://chepri.com/2011/04/22/visual-guide-manually-adding-three20-xcode-4-project/这篇文章非常的不错哦。 阅读全文
摘要:
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 阅读全文
摘要:
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 阅读全文
摘要:
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 阅读全文