ITeye博客

Mac

共 28 篇文章

Mac OS: bin/cp: Argument list too long

#解决:Mac OS bin/cp: Argument list too long find SRC_DIR -name "*" -exec cp {} DES_DIR \; -print

2013-02-27 14:31 · Mac

XCODE4.3.2与真机联调时,console里输出中文乱码

修改项目的scheme的info,把debugger由LLDB修改为GDB 修改项目的scheme的info,把debugger由LLDB修改为GDB 修改项目的scheme的info,把debugger由LLDB修改为GDB 修改项目的scheme的info,把debugger由LLDB修改为GDB 修改项目的scheme的info,把debugger由LLDB修改为GDB

2012-07-19 13:34 · Mac · iPhone/iPod · iPad · iOS公共

Mac OS X Lion 显示隐藏目录

在Termminal中输入如下命令。 chflags nohidden 目录 在Termminal中输入如下命令。 chflags nohidden 目录 在Termminal中输入如下命令。 chflags nohidden 目录

2012-03-29 13:23 · Mac

How do I fix NSURLErrorDomain error -999 in iPhone 3.0 OS

Comment1#################################### I was able to find the answer here: http://www.iphonedevsdk.com/forum/iphone-sdk-development/6280-uiwebview-didfailloadwitherror-how-get-errors-code-list.html This thread contained this description for this error: "This error may occur if an another requ…

2011-01-22 21:58 · Mac · HTML · OS · Web · thread

iPhone系统常用文件夹位置

1、【/Applications】 91是装在这里的!!! 常用软件的安装目录 2. 【/private /var/ mobile/Media /iphone video Recorder】 录像文件存放目录 3、【/private /var/ mobile/Media /DCIM】 相机拍摄的照片文件存放目录 4、【/private/var/ mobile /Media/iTunes_Control/Music】 iTunes上传的多媒体文件(例如MP3、MP4等)存放目录,文件没有被修改,但是文件名字被修改了,直接下载到电脑即可读取。 5、【/private /var/root/Medi…

2010-11-01 19:49 · Mac · Windows Mobile · Mobile · Windows · Linux

定制UISlider样式时注意

只设球(ThumbImage)就会没有track; 不设球就没有球,但有自定义track会显示自定义track, 没有自定义会显示API默认的track且两个track的高度(horizontal slider)或宽度(vertical slider)必须一致.You can assign different pairs of track images to each of control states of the slder.

2010-10-31 15:21 · Mac

一个鲜为人知的秘密---Using Apache and PHP on Mac OS X

NOTE: My MAC OS version is 10.6.4 首先可以参考的文档是Apple官方文档(https://developer.apple.com/library/mac/#featuredarticles/EnablingPHP/),但是里面没有描述一些关键的文件夹和文档的路径, 下面的文字则详细的说明了关键文件夹和文件的路径。 If you’re running Mac OS X it has some surprises for you. Seems, PHP and the Apache Web Server have been installed on your m…

2010-09-28 01:15 · Mac · Apache · PHP · OS · Apple · Web

Objective-C中的字符串格式化输出

Objective-C中的字符串格式化输出 %@ Objective-C object, printed as the string returned by descriptionWithLocale: if available, or description otherwise. Also works with CFTypeRef objects, returning the result of the CFCopyDescription function. %% ‘%’ character %d, %D, %i Signed 32-bit integer (int) %u, %U Uns…

2010-08-19 14:52 · Mac · C · C++ · Objective-C · C# · F#

Focus the "Plus+" for iPhone games' development

location of website: http://plusplus.com/ Maybe you must cross GFW. Snapshots:

2010-08-12 12:58 · Mac

ngmoco:) 关注iPhone游戏开发商ngmoco:)

Website Location: http://www.ngmoco.com/ twitter :@ngmoco Maybe you must cross GFW and then access the website I previous refered. Games SnapShots:

2010-08-12 12:42 · Mac · Twitter · 游戏 · Access

Is there a better way to handle HTTP error statuses?

if ([response respondsToSelector:@selector(statusCode)]) { int statusCode = [((NSHTTPURLResponse *)response) statusCode]; if (statusCode >= 400) { [connection cancel]; // stop connecting; no more delegate messages NSDictionary *errorInfo = [NSDictionary dictionaryWithObject:[NSString stringWithForm…

2010-05-20 19:04 · Mac

Install MYSQL in MAC OS X 10.5.8

1)Download MYSQL named mysql-6.0.11-alpha-osx10.5-powerpc.tar.gz 2)Uncompress the gz package into /usr/local and rename the folder name from mysql-6.0.11-alpha-osx10.5-powerpc to mysql. 3)Change directory into /usr/local/mysql and run the command: scripts/mysql_install_db --user=mysql --datadir=/us…

2010-03-30 16:09 · Mac · Perl · OS · MySQL

Vertical UISlider in iPhone dev

Referenced from : http://www.iphonedevsdk.com/forum/iphone-sdk-development/8349-how-get-vertical-slider.html UISlider *uiSlider = [[UISlider alloc] init]; uiSlider.transform = CGAffineTransformMakeRotation(-90.0/180*M_PI); or uiSlider.transform = CGAffineTransformMakeRotation(270/180*M_PI);

2010-01-06 20:49 · Mac · HTML

Shell Script Programming

Refrenced from: http://user.it.uu.se/~matkin/documents/shell/ Shell Script Programming You are the 1034182nd visitor to this page since March 20, 2001. This is a document that covers some issues regarding shell script programming. Note that this page is still under construction. The intension is th…

2009-12-19 01:58 · Mac · C · C++ · Bash · REST · C#

Introduction to The Objective-C Programming Language

Refenced from : http://developer.apple.com/mac/library/documentation/Cocoa/Conceptual/ObjectiveC/Introduction/introObjectiveC.html Introduction to The Objective-C Programming Language The Objective-C language is a simple computer language designed to enable sophisticated object-oriented programming…

2009-12-19 01:56 · Mac · C · C++ · Objective-C · C# · Cocoa

Learning Objective-C: A Primer

Referenced from: http://developer.apple.com/mac/library/referencelibrary/GettingStarted/Learning_Objective-C_A_Primer/index.html#//apple_ref/doc/uid/TP40007594 ===================================================== Search Mac Reference Library Learning Objective-C: A Primer Table of Contents Learnin…

2009-12-19 01:50 · Mac · C · C++ · Objective-C · C# · Apple

Introduction to Open Source Scripting on Mac OS X

From : http://developer.apple.com/internet/opensource/opensourcescripting.html It's really a good article, so I referenced. -------------------------------------------------------------------------------------------------------------------- One of the biggest advantages of Mac OS X's UNIX heritage …

2009-12-19 01:10 · Mac · Perl · PHP · OS · Xcode · Python

Shell tutorial provided by Apple.

Referenced from http://developer.apple.com/mac/library/documentation/OpenSource/Conceptual/ShellScripting/Introduction/Introduction.html

2009-12-13 01:33 · Mac · HTML · Apple · OpenSource

TextMate Bundle for Git

The article I referenced from is : http://blog.macromates.com/2008/git-bundle/ Git Bundle You may have read that a lot of prominent people have recently moved to Git and are loving it. I too am one of those who fancy this new kid on the block but never got very far with the bundle I started for it.…

2009-12-13 01:18 · Mac · Google · Git · Blog · UP

Installing git (OSX)

Installing git (OSX) http://help.github.com/mac-git-installation/ There are a number of methods to install git on OSX . This guide details the most common methods. Pre-compiled Installer Download and run git-osx-installer MacPorts Install MacPorts if you haven’t already done so. Make sure your port…

2009-12-11 13:10 · Mac · Git · OS · SVN · subversion · OSX