一直觉得自己写的不是技术,而是情怀,一个个的教程是自己这一路走来的痕迹。靠专业技能的成功是最具可复制性的,希望我的这条路能让你们少走弯路,希望我能帮你们抹去知识的蒙尘,希望我能帮你们理清知识的脉络,希望未来技术之巅上有你们也有我。
直奔主题,开始制作。
framework制作视频连接
static静态库制作视频连接
制作静态库所用到的资料
制作可调式静态库
先创建一个的项目 
在项目里面创建一个静态库  给静态库命名一下,命名不能跟项目命名重复   看下面图片,假如我们把静态库的文件已经写好了。  写好之后我们在项目里面的viewController 导入头文件去使用他,这时候我们可以在静态库文件里面断点,对静态库可以进行调试。
把静态库的.a文件导入到项目里面  导入图片文件boundle 
使用一下这个静态库  生成静态库  然后show in fonder 去把库拿出来  然后拿到项目里面去用  打印结果 
制作一个framework文件(不可调试)
 然后我把写好的文件直接拖入进来。  把左右写好的文件统一导入到FrameWorkDemol.h文件里面。  还需要去把项目的文件拖到FrameWorkDemol.h文件里面,到时候生成frameWork文件的时候导出header文件里面 
然后com+B 去生成这个framework文件。然后在项目里面看到这个framework文件右键点击show in finder  得到的framework就能够拿到别的项目里面去用。 
直接拖到项目里面去用。  然后就使用一下他。 
打印结果 
如何查看库所支持的架构:
lipo -info 直接拖进去  
如何合并多个静态库

|