如何从故事板中使用XCode Cocoa Touch Framework类

时间:2022-09-25 12:24:07

I've been tasked to research ways to protect intelectual property in a multi-vendor development scenario for an iOS app which makes heavy use of a single storyboard. I've played a bit with creating a XCode 6 Cocoa Touch iOS Framework to hide some of the details of our app, but I can't seem to expose ViewController subclases from the custom framework to the main application's storyboard (the application using that framework).

我的任务是研究在iOS供应商的多供应商开发场景中保护知识产权的方法,该应用程序大量使用单个故事板。我已经开始创建一个XCode 6 Cocoa Touch iOS框架来隐藏我们应用程序的一些细节,但我似乎无法将ViewController子框架从自定义框架暴露给主应用程序的故事板(使用该框架的应用程序) )。

Is this possible? If so, are there any examples available?

这可能吗?如果是的话,有没有可用的例子?

Thanks in advance to any replies.

在此先感谢任何回复。

Best regards, Adolfo

最好的问候,阿道夫

1 个解决方案

#1


What do you mean by "expose ViewController subclass"? You mean Interface Builder isn't letting you set the class name of the controller? Have you linked your app against that framework?

你是什​​么意思“暴露ViewController子类”?你的意思是Interface Builder不允许你设置控制器的类名?您是否已将您的应用与该框架相关联?

#1


What do you mean by "expose ViewController subclass"? You mean Interface Builder isn't letting you set the class name of the controller? Have you linked your app against that framework?

你是什​​么意思“暴露ViewController子类”?你的意思是Interface Builder不允许你设置控制器的类名?您是否已将您的应用与该框架相关联?