Ive written the code in a new .m file, but I don’t know how to link it to the storyboard as to make it run the code. any help please? a new .m
Share
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.
Drag a new ViewController into the storyboard. Now select the File’s Owner for this new ViewController. Go to custom class and set the class to MyViewController which you have created as MyViewController.m Now you can use this new ViewController for MyViewController. Also, see this