I have pushed a view in navigation controller. For eg: view1 pushed view2, if I want to call any view1 method from view2. Is it possible. Is it a good practice.
TIA
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.
There are several ways of structuring your app to handle it’s in internal communication. The way you want to structure is up to you but it is necessary that you have basic knowledge in object oriented programming and preferably also the Model View Controller or other design patterns.
Here are a few examples on how you could structure your app:
Suggestion 1
Suggestion 2
Suggestion 3