Improved logging in Objective-CQ: How can I add context information - such as the current method or line number - to my logging statements?A: The C preprocessor provides a number of standard macros that give you information about the current file, line number, or function. Addit...【阅读全文】
Mac OS X是基于Unix的操作系统,可以安装大部分为Unix/Linux开发的软件。然而,如果只是以使用为目的,对每个软件都进行手工编译不是很方便,也不利于管理已安装的软件,于是出现了类似于Linux中APT、Yum等类似的软件包管理系统,其中最著名的有MacPorts、Fink、Homebrew等。我曾经是MacPorts的使用者,但了解H...【阅读全文】