0603 block\ Runtime block
The nature of a block is a pointer to a struct.
Run-time
To parse the C + + code that the clang command compiles, it is necessary to delete some of the parentheses to analyze it. Because these parentheses are generally type-strong.
OC Bottom runtime is a method that sends a message to an object by objec_msgsend this message distribution mechanism to invoke the specified methods. such as:
I have used the runtime to write code, as in the following example:
1. Assign values to the member variables of an object through the runtime's underlying code, such as:
2. Expand member variables by category
It is not possible to expand member variables in the original category, but you can extend the member variables by using the run-time method, such as:
Reflection in C #, you can get an object that contains the name and type of a member variable and how it can be called. This can be done in the runtime runtime of the OC, as shown in the following:
block, some of the explanations below must be noted
IOS Advanced 22nd Day (0603)