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.
精彩评论