开发者

Objective C,Can I Include a package?

Let'say I have more than 50 header fiels to include.. I can do this in Java like this (I can use "*")

 import micrograph.message.开发者_StackOverflow中文版*;

Can I do something like this in Objective C?


No, you can't do that. What people usually do (assuming all your 50 header files are related) is to create a single header file that has the import statements for each individual header file. You then import that single header file when you need it.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜