Answer the question
In order to leave comments, you need to log in
UINavigationController?
Good day, I started to study UINavigationController in the builder!
Tell me, did I understand correctly that all controls are connected to ONE class, so I can’t set outlets in 1 class for elements in different controllers?
If so, so how do you pass parameters in between?
Let's say in 1 controller I wrote something in the text field, and on the other controller I display it on the label.
And does this mean that even small projects have so many different controllers with different classes?
Let's say 30 controllers with 30 classes is this the norm?
PS I apologize for literacy)
Answer the question
In order to leave comments, you need to log in
Read about the pattern, Singleton, this is a class that always exists, stores data and is available in all other classes. Through it it is convenient to organize the transfer of data between classes.
You can also pass data between controllers using the prepareForSegue method .
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question