简体   繁体   English

使用更多类创建ios静态库

[英]Create ios static library with with more classes

I want to develop iOS static library and distribute to other developers. 我想开发iOS静态库并分发给其他开发人员。

I have started some R&D and found only one way to create static library with only one class which is having header file and implementation file. 我已经开始了一些研发工作,并发现只有一种创建带有头文件和实现文件的类的静态库的方法。

I would like to create static library with more individual classes. 我想创建带有更多单独类的静态库。 Now we are creating static libraries with only header files and implementation files. 现在,我们仅使用头文件和实现文件来创建静态库。

Is it possible to add XIB files also to that? 是否可以向其中添加XIB文件? Can anyone guide me to solve this requirement? 谁能指导我解决这一要求?

As you are saying, you have created static library, then you just need to add more files. 就像您说的那样,您已经创建了静态库,然后只需要添加更多文件即可。 Suppose you can want to make some file to make public to developers then you need to make it public scope. 假设您希望创建一些文件以将其公开给开发人员,那么您需要使其公开。

This may help you... http://www.blog.montgomerie.net/easy-xcode-static-library-subprojects-and-submodules 这可能对您有帮助... http://www.blog.montgomerie.net/easy-xcode-static-library-subprojects-and-submodules

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM