Note: What I'm talking about is the difference between objective-C and Java. In the same place, I just want Java developers to quickly master and understand objective-C.
Objective-C is different from Java:
1. Pay attention to the memory released after use. [Avariable realase] releases memory
2. scalar Note: unsigned, Int, bool, nsinteger, nsuinteger, the string is specified.
3. const is similar to final in Java
4. struct: struct
5. typedef Type Definition
6. pointer (rarely used in obj-c), but we need to pay attention to the. pointer memory address and pointer operation. We only need to use the pointer as an object and understand it. There is no need to go into depth.
7. Use long int to save the value so that the data will become larger soon...
8. Implementation of interfaces and interfaces: The interface extension is. h, and the source file is. C.
9. Note that the usage of the enhanced for loop is different: Fast enumeration...
You can make a calculator...
Not complete...