Object-C Quick Start

Source: Internet
Author: User
This objective-C article is named "learning objective-c". It is not long in length, but almost all the key points of objective-C have been introduced one by one. All the key points in the introduction are not long examples, which are very easy to understand. If

This objective-C article is named "learning objective-c". It is not long in length, but almost all the key points of objective-C have been introduced one by one. All the key points in the introduction are not long examples, which are very easy to understand.

 

 

If you are a beginner in objective-C, you are welcome to first read this original article on this site:
Objective-C syntax Quick Reference

The article is not long, but it helps you get started with objective-C and get familiar with objective-C syntax.

 

Next we will introduce this article learning objective-C. Author
Scott steven son
Post it in cocoa Dev Central

The original Article is in English, so this site will not completely translate it. Although it is an English article, there are no uncommon words and it is very easy to understand. This site briefly introduces the content covered in this article. You can explore it in detail.

 

The article address is:

Http://cocoadevcentral.com/d/learn_objectivec/

 

 

 

The article learning objective-C covers the following:

 

Objective-C

Explains why objective-C should be learned.

 

How to call a method (function)

The author first uses a simple example to introduce how to call a method so that readers can access the objective-C syntax more quickly.

 

Nested call of methods

Describes how to call other methods in a method.

 

Multiple Parameter Methods

This topic also provides related introductions.

 

How to obtain and set values

This section describes how to obtain and set the parameter values in objective-C 1.x and how to use the point Syntax of objective-C 2.0 to obtain and set the attribute values.

 

How to create objects

This section describes how to create an object in objective-C.

 

Basic Memory Management

The authors use two simple examples to briefly introduce objective-C memory management.

 

How to design class Interface

This section describes how to define Class header files and how to add methods.

 

How to implement a class

The following example explains how to implement a class.

 

Deep understanding of Memory Management

This section describes the use of alloc, retain, and release in objective-C. There is a picture here. I can't help but take it:

 

Record tracing debugging

This section briefly introduces how to use nslog.

 

Attribute

Describes how to use the newly added attributes in objective-C 2.0.

 

Nil call Introduction

This section describes how to call the objective-c null pointer.

 

Category

This section describes the classification features of objective-C.

 

Summary

The author finally provides an example of this article. You can also download it directly at the bottom of the article.

 

The article is concise and clear. If you want to get started with objective-C, we recommend that you read it.

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.