The
The purpose of this site is to show you how to link your .m and your .h file in Xcode.
Programming Xcode can be very frustrating, especially if you were to create a new .Xib file and don't know how to link this file to your .m or .h for the purpose of controlling it programmatically.
To link the .Xib file to the appropriate .m file, just click on the .Xib file and go to the Identity Inspector. Identity Inspector is the third item away from the left of all the inspectors available on your right. Refer to the figure below.
You can see the Custom Class, go to the Class and fill it up with the name of your .m file. This way, you have successfully linked your .Xib file with your .m file.
Congratulations.
If you still have difficulty grasping the concept, feel free to refer to the video below.
I claim no credit to the video. All right reserved to Udemy Xcode course.
Thank you for reading this blog. Have a good day.
Best of regards,
Adamo

No comments:
Post a Comment