[Review the requirements description of the navigation controller-address book case Objective-C language]

1. Yesterday, on the second day of UI advancement, we learned about this navigation controller.

1. Mainly this part, the navigation controller, this part is the key point.

2. Then, first we learned the loading method of this controller, the loading method of the controller view, and the loading method of the controller. These are two things.

Then, there are three main loading methods for the controller:

1)storyboard

2) Pure code

3) teacher

notify

There are mainly three ways to load the controller:

3. Then, there is another way to create the controller view.

There are about five or six ways to create a controller view.

Then there is one, the last one of which is loadView,

As for loadView, it is actually a way to create a controller view.

Then, it is written in the controller,

It’s not about writing it through alloc init or something like that.

It's not written outside, it's done when you create it.

It was done inside.

1) Then, the one with the highest priority should be the loadView.

Then, there is no need to memorize this sequence by rote.

Just remember that there is such a picture and look for it when the time comes.

2) Then there is something, remove the controller with the same name,

3) There is also a child with the same name,

4) Also specify xib,

It's enough for everyone to make an impression on these things, and then go and see them.

3. Then this navigation controller, navigation controller, this piece,

We mainly learned how to use it in a simple way,

1) One is this push

2) One is this pop

Mainly these two things,

3) Then, including this navigationBar and the navigationItem above, how to set up some titleViews. This title, including the buttons in the upper left corner and the upper right corner, are controlled through its navigationItem and through its children. The properties of the navigationItem of the controller are all written in this way.

The main thing is this,

4. Then, the problem of value passing by this controller,

In fact, we should leave it to today,

notify

But I heard that I talked about it yesterday,

Then, I will repeat this again today,

おすすめ

転載: blog.csdn.net/madoca/article/details/135103466