Start Developing Mac Apps Basic Tasks 基本任务

Basic Tasks

Now that you’ve learned enough about Objective-C to read and write basic code, you can begin to think in terms of objects. Just as you would think about objects in the real world, you need to think about what an object contains, what you can do with it, and how it relates to other objects.

现在你已经学习到足够的Objective-C来学习和编写基本代码了, 你可以开始考虑对象了。 就像你想在现实生活中的对象一样,你需要考虑一个对象包含什么, 你能用它干什么, 它是如何与别的对象相关联的。

image: ../Art/basic_tasks_2x.png

In Mac app programming, you need to know how to create objects, compare objects, query objects for information about them, and access objects in collections such as arrays. After you acquire these skills, you are ready to take on more complicated Objective-C code.

在Mac 应用程序编程中,你需要知道如何创建对象,比较对象,查询对象信息 以及 在像数组这样的集合(collections)里访问对象。 在你掌握了这些技巧之后,你就可以准备编写更复杂的Objective-C代码了。

Read This Article NowRead This Article Now: Acquire Foundational Programming Skills describes the basic tasks in Objective-C programming. The concepts explained in this article are essentially the same for Mac and iOS development.
现在开始阅读: Acquire Foundational Programming Skills 描述了在Objective-C编程里的基本任务。本文章中解释的概念是Mac 和 iOS开发都必须的。
 
原文地址:https://www.cnblogs.com/patientAndPersist/p/3121580.html