For the everyday drops.
摘要:struct__sysctl_args{ int *name;/*整形数组,每个数组元素代表系统参数存取路径上的一个文件或目录名,例如/proc/sys/kernel用CTL_KERN表示*/ int nlen;/*代表上面整形数组大小*/ void *oldval;/*当读取系统参数时,用于存取系统参数值,也就是/proc/sys/下的某个文件的内容*/ size_t *oldenp;/*代表上面所记录长度*/ void *newval;/*当写入系统参数时,记录所要写入的新值*/ size_t newlen;/*代表上面所记录的长度*/}
阅读全文
摘要:简介在过去几年,对于分布式版本控制可以给开发过程提供的益处有许多争论。最近,分布式工具已经很成熟了。尽管分布式工具的一些优点最初可能不明显,但是从长期来看,它们提供的灵活性是非常有意义的。阅读完本文之后,您应该能够开始使用分布式版本控制系统,基本了解分布式模型能够提供的优点。围绕分布式版本控制的争论主要集中在不再需要的中心服务器。这是一个非常独特的特性,对于一些开发人员组很重要,但是它的真正价值在于,它允许开发人员组实现他们选择的几乎任何工作流。它能够完成很多事情,比如传统的集中式模型,或两个开发人员在咖啡馆通过无线连接协同工作,等等。允许开发人员以各种新的方式工作,这是分布式版本控制真正令人
阅读全文
摘要:Back in April Oliver wrote an excellent article entitled “Making Your Own iPhone Frameworks”, in which he explained how to do what many developers still proclaim as impossible: how to create custom frameworks that you can use in your iPhone apps! I would recommend that you read Oliver’s article firs
阅读全文
摘要:Previously I explainedhow to make a static librarythat simultaneously supports multiple different CPUs. At that time I was ignorant to the reason why there are no means to make iPhone frameworks. But I did not give up searching, especially since apparently a few individuals seemed to have pulled it
阅读全文
摘要:1. If you have any Categories in your code in the static library/framework, you must put -ObjC and -all_load in the "Other Linker Flags" of your target (in the project where you're using the framework).
阅读全文