i have a class CCButton, how can i add it to my cocos2d library
so that i dont need to manualy add it my new projects
and it is automaticaly added in the cocos2d templates.
i have a class CCButton, how can i add it to my cocos2d library
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.
The best idea here would be to create your own framework project that you can reference in all other dependent projects. That way you only have to update the code once and make the changes available in all child projects.
http://www.cocoanetics.com/2010/05/making-your-own-iphone-frameworks-in-xcode/