Jump to content
  • Advertisement
sjhalayka

C++ Call a function defined in a different .m file

Recommended Posts

How can I call a function defined in GameViewController.mm from AppDelegate.m? I want to be able to call setupGL() from applicationWillEnterForeground().

Thanks for any help that you can provide.

Edited by sjhalayka

Share this post


Link to post
Share on other sites
Advertisement

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!