Mac OS X
摘花换酒
A free programmer, fairly good soccer player and a happy dad.
展开
-
Mac OSX - Application's Configuration
All applications configuration are stored in some "plist" files. They are different for each user, and the path of the directory of these "plist" files is [Current User]/Library/Preference. For exam原创 2006-10-19 09:25:00 · 774 阅读 · 0 评论 -
Great Web Sites for Mac OS X
This documen will be updated from time to time, as Im crazy about Mac. 1. http://www.entropy.ch/home/Thiss a persoanl homepage which has been linked in many pages. Itseems its owner, Marc L原创 2010-01-10 15:38:00 · 836 阅读 · 0 评论 -
Mac OS X - Miscellaneous
My favorite websites for Mac development:1. (Of course) http://developer.apple.com/2. http://www.osxfaq.com/index.ws3. http://macosx.com/Set HOSTNAME in OS X: edit /etc/hostconfig, chage HOSTNAME=-AUT原创 2007-03-21 11:08:00 · 1478 阅读 · 0 评论 -
Mac OS X - Application's Development (1) - C++ Programming
One issue confused me for two days. Mac OS X version lower than 10.3.9 does not provide two C++ standard dynamic libraries: libstdc++.6.dylib, libgcc_s.1.dylic So if you deploy an application原创 2007-01-25 13:56:00 · 764 阅读 · 0 评论 -
Mac OS X - Modify an Installation with Scripts(5)
This time I will mention an important custom of Mac application installation.Mac restores all installed PKG in /Library/Receipts. Installer.app will use these backups to determine whether to install n原创 2007-01-18 10:33:00 · 671 阅读 · 0 评论 -
Mac OS X - Modify an Installation with Scripts(4)
Today Paris team correct one of my bad habit: I used to write script to copying/moving resource files into some system folder, such as /Applications, /Library... However, its a better and more offici原创 2006-12-08 14:41:00 · 829 阅读 · 0 评论 -
Mac OS X - Modify an Installation with Scripts(3)
As you know, Installer will require administrator authentication each time, as you will write something into the folder /Applications (very sensitive locations), so you can do some great things, such原创 2006-12-06 14:32:00 · 767 阅读 · 0 评论 -
Mac OS X - Modify an Installation with Scripts(2)
The previous content of this pad has been removed because of my awful operation :( Now all of that I can make up is to record the key points of it.Installer.app will auto-detect several script files原创 2006-12-05 17:14:00 · 174464 阅读 · 0 评论 -
Mac OS X - Modify an Installation with Scripts(1)
While processing, the Installer.app will look for some name-predefined executables to process customized operation. Theoretically, users can use these executables to do everything they want. However,原创 2006-11-06 17:18:00 · 837 阅读 · 0 评论 -
Mac OS X - Apple Events (1) - Building an Apple Event
The Apple Event Manager user four-character codes (Apple event codes) to identify the data within an Apple event. Since all the Apple-defined event codes are lowercase letter and space (such as capp原创 2006-11-08 15:25:00 · 1194 阅读 · 0 评论 -
Mac OSX - User Profile
There is a file named ".profile" in $(HOME) to manage environment variables of current user. Note that all environment variables declared here will only be accessful in bash process. If you want other原创 2006-10-19 12:30:00 · 1043 阅读 · 0 评论 -
Mac OSX - Carbon - String Process
Get a CFStringRef from a constant string, we can use marco CFSTR(string). However that, "string" should be a string of text, not a const char* variable.CFStringRef text = CFSTR("This is a sample"); //原创 2006-10-20 12:55:00 · 890 阅读 · 0 评论 -
Driver development on Mac OS X (1)
It's been a while not publish any words here. As during the past half year, I'm totally occupied by a new filed for me: driver development on Mac. Although the learn curve is tough and painful, meanwh原创 2008-10-20 17:24:00 · 1442 阅读 · 0 评论