开发者

Objective C,Can I Include a package?

开发者 https://www.devze.com 2023-02-16 19:24 出处:网络
Let\'say I have more than 50 header fiels to include.. I can do this in Java like this (I can use \"*\")

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

精彩评论

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

关注公众号