
静态库
acorld
非偷不可学也
展开
-
instance method 'xxxx' in category from 'xxx' conflicts with the same method
错误:Instance method 'xxx' in category from '/user/apple......' conflicts with the same method from another category 分析:在静态库或者category文件中,把类别的声明和实现都现在.h或者.m中。 解决:将类别的声明和实现分开,成功解决问题。原创 2013-03-22 15:40:44 · 5277 阅读 · 0 评论 -
xcode 静态库资源文件及xib封装
目前有个需求,需要把.xib封装到静态库中,试了很多种方法都不行,最后看到这篇文章 ,它是从 iOS Library With Resources 翻译过来的,图片没有显示(原文有)。 这里主要是把静态库种的.xib封装到bundle中,然后把静态库内链到工程中。 以下是这篇文章主要流程: 1 添加资源Bundle Target 资源必须是单独编原创 2013-03-22 15:35:48 · 3429 阅读 · 0 评论