There are many introductory books on Object-C, which will not be listed here. But these books all have a small problem, that is, translation statements, which are sometimes confusing. A few days ago, I saw a post during a visit to cocoachina, thinking that the member named beanwolf wrote original learning object-C notes. After reading it, I felt very good! I feel that writing is very refined. It is something that needs to be paid attention to during programming and something that is hard to understand.
Season 1: Object-C syntax and cocoa framework
- Install gnustep
- Class Definition
- Boolean Type in object-C
- NULL in object-C
- Mixed compiling with C
- Object initialization
- Description Method of Object-C
- Object-C Exception Handling
- ID type
- Class inheritance
- Dynamic Determination and Selector
- CATEGORY category
- Protocol @ Protocol
- Memory Management
- Common Types
- Write and read attributes
- Object Replication
- Multithreading
- KVC and KVO
- Predicate nspredicate
Cocoachina: http://www.cocoachina.com/newbie/tutorial/2011/0402/2753.html
Season 2: Objective-C 2.0 features and runtime programming
- Use of xcode
(1) Code support prompt
(2) debug the code
(3) define the company name
(4) format the code
(5) Use snapshots
(6) Batch Modification
(7) Quick file search
(8) use bookmarks
(9) view API documentation
(10) View class members
- New Features of objective-C 2.0
(1) attribute accessors
(2) For-each loop
(3) GC Mechanism
(4) required and optional methods of the Protocol
- Objective-C 2.0 runtime programming
(1) ISA pointer
(2) SEL and IMP
(3) objc_msgsend Function
(4) Dynamic Method Analysis
(5) Message forwarding
Cocoachina: http://www.cocoachina.com/newbie/tutorial/2011/0411/2776.html
(I will pay attention to it and update it in time !)