0

I have logger.h file with static logger class. Then I want to add log messages to into each method invocation to trace app execution.

In order to do that I have to include logger.h into almost each Xcode .m project file. Is there any way to tell Xcode to automatically import logger.h into each project's .m file.

thx

1 Answer 1

4

You could put the #include directive in your prefix header, effectively importing it across your project.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.