i have a class c. i have other two classes a and b. now i want to use UITextField value from both classes a, b in class c. So what i have to import?
Like what statement?
I know my question is bit childish but it will help for other users.
Thanks
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.
You cannot inherit from two different classes in Objective-C. You can however utilize protocols (similar to interfaces in other OO languages) to enforce similar behavior. In most cases, if you re-consider your architecture, you can find a good clean way around this.