It is unreliable to regard documents or what you call integrated materials as tutorials. 1. The documents are too complicated and include too many things, and you will not be able to remember them even after reading them. 2. Technology is frequently updated and iterated. , you just finished reading the old version and maybe there is a new version (oc is quite stable, but swift is a bit buggy) My personal approach is:
Familiar with grammar
Read the documentation briefly (just know what the major components are)
Be familiar with the life cycle of components (this one is very important. You don’t need to remember the specific functions, but you must be familiar with the life cycle, otherwise it is easy to cause problems. I also stepped on a lot of pitfalls on this)
Check up whatever is used in development. Guess the functions you need to use first. You must be familiar with the naming methods of the developers and organizations of the framework or components. With an IDE, it is actually easy to guess the naming of Zhongyuan developers.
For example, if we want to push an object into NSMutableArray, assuming we don’t know how to push at this time, we can make some attempts,
For example, there is an array named array, so we try this
So we know that pushing an object to the array in oc is
[array addObject:...]
Note that the developers of objc are humans, and they also program with human thinking, so we can make some reasonable assumptions during the programming process. You can think about what methods you would provide users if it were you, as long as they are consistent. It's reasonable and can usually be guessed.
5. I really can’t guess, Baidu, Google.
6. There is nothing you can do about the search engine. Ask in the group, ask in the community, look for official documents and take a closer look, etc.
The above are some personal opinions, I hope it will be helpful to you
It is unreliable to regard documents or what you call integrated materials as tutorials.
1. The documents are too complicated and include too many things, and you will not be able to remember them even after reading them. 2. Technology is frequently updated and iterated. , you just finished reading the old version and maybe there is a new version (oc is quite stable, but swift is a bit buggy)
My personal approach is:
For example, if we want to push an object into NSMutableArray, assuming we don’t know how to push at this time, we can make some attempts,
Note that the developers of objc are humans, and they also program with human thinking, so we can make some reasonable assumptions during the programming process. You can think about what methods you would provide users if it were you, as long as they are consistent. It's reasonable and can usually be guessed.[array addObject:...]
6. There is nothing you can do about the search engine. Ask in the group, ask in the community, look for official documents and take a closer look, etc.
The above are some personal opinions, I hope it will be helpful to youOC is really messy, take your time
OC is really messy, take your time
Don’t xcode have automatic prompts? Can solve some memory problems
Be good at using baidu or google
Use more and write more, and you will naturally remember it