我可以为Cocoa Touch应用程序开发自己的Objective-C Framework吗? [英] Can I develop my own objective-C Framework for Cocoa Touch Applications?

查看:115
本文介绍了我可以为Cocoa Touch应用程序开发自己的Objective-C Framework吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有可能创建一个可供其他开发人员使用的自己的obj-C Cocoa Touch框架?此外,你能保护这个框架吗?

Is it possible to create an own obj-C Cocoa Touch framework which can be used by other developers? And furthermore can you protect this framework?

推荐答案

我为Xcode 4创建了模板,允许你构建通用的iOS框架(它可以在设备和模拟器中工作。)

I've created templates for Xcode 4 that allow you to build universal iOS frameworks (which work in both device and simulator).

安装模板后,您只需在创建新项目时选择静态iOS框架,然后完成其余工作。它也适用于单元测试。

Once the templates are installed, you simply select "Static iOS Framework" when creating a new project and it does the rest. It also works with unit tests.

https:// github。 com / kstenerud / iOS-Universal-Framework

这篇关于我可以为Cocoa Touch应用程序开发自己的Objective-C Framework吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆