English 中文(简体)
目标C
原标题:Objective-C runtime code generation

我想提出一个目标C的申请,请你具体说明在运行时间的班级执行。

I want the user to type some code (correctness of the code is out of scope for now). When the user is done i want to create a class of the typed code and use it in the application.

So i want to dynamically add code in runtime of the application. Is this possible? If so, how can i achieve this? If not, why not and are there any alternatives to create the same effect which i want to create?

感谢。

最佳回答

http://stackoverflow.com/questions/21988/40/how-to-dynamically-load-class-in-objective-c”

通常,申请使用描述性语言,这些语言可无情地被用(Lua、Adhur、......)或在平台上已经用到(Java 出版社,Amp曲,......)。

问题回答

页: 1 它比奥杰-C更接近于小数,但海事组织比 Java贝或卢阿更接近奥杰-C:

在SOS装置上,这是可能的。 在一项宏观问题上,你可以与部族间加压式图书馆联系,并利用这些图书馆制作成缓冲码,然后将缓冲带引向可执行。 我认为。





相关问题
Generating classes using XSD without base class in each one

Not sure what the appropriate tags are here... A while back I created a batch script which, when run will convert all .xsd files found in C:api into C# classes using the xsd.exe file found in the ...

Dynamic code generation

I am currently developing an application where you can create "programs" with it without writing source code, just click&play if you like. Now the question is how do I generate an executable ...

Simple & Practical C# code generation (VS 2008 or 2010)

I ve put off using generated code as part of the build process for fear of the complexity it introduces into the build process. Is there a simple way to integrate build-time generated code into an ...

PHP class generator for web services

I am trying to find some kind of php class generator for Web Services (WCF service if that matters) without any luck so far. Any ideas? thanks

热门标签