How to Learn objective-C

Source: Internet
Author: User
1. Learn the C language basics first;
2. Read programming in objective-C 2.0. Do not read objective-C 2.0. Program Design;
3. Read "cocoa Design Patterns" and "cocoa programming developer's handbook". Do not read them because they are difficult and we are beginners;
4. Yes, you need a Mac. If you really want to learn objective-C and cocoa;
5. Don't let go of any seemingly simple small programming problem-they are often not that simple, or they can draw a lot of knowledge points;
6. Objective-C will be used, but it does not mean you will program cocoa;
7. It is not difficult to learn the syntax. The Foundation, appkit, uikit, core data, and core animation are also the same. What is difficult is to stick to the practice for a long time and spare no effort to read documents;
8. Remember that to write a good app, the interface design and program functions are equally important-in fact, you can always remember that the MAC/IOS user interface specification is also a must-read document;
9. If you do not read c-language books, you cannot learn objective-C language;
10. impetuous people can easily say: XX language is not good, so you should learn YY; -- you can't do it yourself !?
11. impetuous people may easily ask: What should I learn? -- don't ask, it's right to learn;
12. It is easy for impetuous people to ask: do XX have money? -- We suggest you rob a bank;
13. impetuous people may say: I want a Chinese version! I cannot use English! -- No? Learn!
14. impetuous people may easily ask: XX and YY, Which is better? -- tell you, good.-As long as you learn;
15. impetuous people can be divided into two types: a) those who only wait and do not learn; B) those who only learn but do not stick to it;
16. Cocoa is the objective-C framework, mainly including Foundation, appkit and core data. Cocoa touch is the IOS version of cocoa, mainly including Foundation, uikit and core data;
17. Objective-C not only adds a class to C-the runtime environment is equally important;
18. One of the best ways to learn programming is to read the document and Source code Make good use of the program instance source in the xcode document. Code ;
19. Remember that objective-C is a "dynamic" language;
20. Read objective-C 2.0 programming language and other documents-official documents are always the most authoritative and complete reference books;
21. read carefully the books you can understand. Read the books you can't understand;
22. Don't expect to read the first book to remember and master anything-please read the second and third times;
23. Remember that iOS and Mac development are essentially the same, but the differences are also important;
24. Do not stay at the xcode level. Using GCC, GDB, git, and other tools through the command line will increase your efficiency;
25. Discuss meaningful objective-C and cocoa knowledge points with others, rather than arguing about whether cocoa works or whether objective-C and C ++ are good;
26. Do not be confused by various "technology" terms such as core XXX. They are just the frameworks (Libraries) of C and objective-C;
27. if you have learned C ++, please temporarily forget to use it. (point) Call method. Objective-C is in square brackets and the more accurate name is "message passing ";
28. Objective-C is a strict superset of C language, which is closely related to C language. C language is part of objective-C;
29. Do not think that it is no problem to change objective-C after learning C ++ language-you just want to learn a brand new language;
30. After reading cocoa programming developer's handbook, check whether you have learned objective-C;
31. The secret to learning programming is: programming, programming, and re-programming;
32. Pay attention to the following books: Cocoa programming developer's handbook, cocoa design pattern, IOS 4 advaced programming, cocoa programming a quick-start guide for developers.
33. Don't forget to open source because Apple is a commercial company. In my personal opinion, open source is to give, but you have gained more. Don't forget that Apple also uses a large number of open-source technologies;
34. Please input the program examples in the book into your computer for practice, even if the supporting CD contains the source code;
35. When you are idle, you can turn your ideas into code, put them on GitHub, or turn them into a software in the app store;
36. Pay attention to objective-C runtime environment programming and apply it to your own programs;
37. I often review my previous programs and try to rewrite them to apply the new knowledge I have learned;
38. Do not miss any exercise questions in the book-please finish all the exercises and record the solution ideas;
39. Objective-C, cocoa and xcode integrated development environment should be learned and mastered at the same time;
40. Since objective-C is determined, keep learning, because the objective of learning a programming language is to master the programming technology, and the programming technology is cross-language;
41. To do a good job, you must first sharpen the tool. To develop objective-C and cocoa, use xcode;
42. when you write half of the cocoa program but find that your method is poor, please do not stop immediately; please complete the remaining parts as soon as possible to ensure the integrity of this design, analyze your own errors and redesign and write them (see 43 );
43. Don't worry, it is really not easy to design objective-C classes; the classes in your programs and their class design levels are improved and developed in constant programming practices;
44. Never follow certain rules that you are not proficient in because the program is "very small"-Good habits are developed rather than remembered at once;
45. Every time you learn an objective-C difficulty, you try to explain this knowledge point to others and let them understand it-you can clearly explain it to you to really understand it;
46. Record the knowledge points that you ignore or do not understand when communicating with others;
47. Please constantly put forward higher requirements for your own programs, even if your program version will change to version 100.xx;
48. Save all programs you have written-GitHub is your best code hosting tool;
49. Do not be impetuous people;
50. Love objective-C!
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.