I renamed AppDelegate.h in my iOS application project.
The project is still working but the delegate name turned red and a small question mark button appeared.
Will this cause problems in the future? Why did the App Delegate turn red?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
An AppDelegate is the object that act for the whole application, i.e., it is an object that confirms to the
UIApplicationDelegateprotocol. E.g., it should react if the application becomes active (– applicationDidBecomeActive:is fired) etc.The object’s name does not matter. If a file turns red in Xcode it means that Xcode can not find the actual file. Maybe you changed the name or moved it outside of Xcode. Usually it helps to remove the red file and re-add it.