A message uses the code enclosed in square brackets to send commands to an object (a message is a function ).
Class class uses the. h and. M files to define the object type.
Attribute attributes allow us to easily define value functions and value assignment functions (getting and setting values of object member variables ).
Category allows us to add features to classes without creating subclasses.
Protocol definition class commitment response methods (similar to interfaces in Java/C # and other advanced languages ).
@ The compiler uses the @ compile command for various purposes.
^ Introduces the block concept in IOS. A block is an object that encapsulates a work unit (code segment) and can be executed at any time. The Escape Character (^) is used to identify a block.
In short, when OC is started to learn, it will feel strange and strange. After learning and using it, we will find the power of OC functions, use our sincerity and efforts to learn it well ~.