I am creating calayer subclass for carousel view.
My subclass is
@interface Carousellayer : CALayer {
}
I get an error message in
Cannot find interface declaration for ‘CALayer’, superclass of ‘Carousellayer’ in Carousellayer.h
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.
CALayer header files are not included by default, you need to import QuartzCore:
And also link your application with the corresponding framework.