[번역]Programming with Objective-C
posted on 15 Nov 2016 under category iOS
영어 잘 못합니다. 오타나 오번역이 있으면 댓글이나 이메일로 피드백 주세요.
Objective-C is the primary programming language you use when writing software for OS X and iOS.
Objective-C 는 당신이 OS X 이나 iOS의 소프트웨어를 만들때 사용되는 기본적인 언어입니다.
It’s a superset of the C programming language and provides objec-orieted capabilities and a dynamic runtime.
Objective-C는 C언어의 상위집합이며 실행시간에 동적으로 객체지향 능력을 제공합니다.
Objective-C inherits the syntax, primitive types, and flow control statements of C and adds syntax for defining classes and methods.
Objective-C는 C언어의 문법, 기본형, 흐름제어 명령문을 상속받으며, 클래스와 메소드를 정의하기 위한 문법을 추가합니다.
It also adds language-level support for object graph management and object literals while providing dynamic typing and binding, deferring many responsibilities until runtime.
또한 객체 그래프 관리 와 동적 타이핑과 바인딩 하는 동안의 객체 리터럴을 언어수준에서 제공하며, 런타임까지 많은 책임을 지연합니다.
This document introduces the Objective-C language and offers extensive examples of its use.
이 문서는 Objective-C를 소개하고 광범위한 예제와 그 사용법을 제공합니다.
You’ll learn how to create your own classes describing custom objects and see how to work with some of the framework classes provided by Cocoa and Cocoa Touch.
당신은 커스텀 객체를 묘사(설명)하는 자신의 클래스를 만드는 방법을 배우며, Cocoa1 와 Cocoa Touch2 에서 제공하는 프레임워크를 어떻게 사용하는지 배울수 있습니다.
Although the framework classes are separate from the language, their use is tightly wound into coding with Objective-C and many language-level features rely on behavior offered by these classes.
비록 프레임워크 클래스들이 언어(Objective-C)에선 분리되어 있지만, 프레임워크의 사용은 Objective-C를 코딩할 때 밀접하게 묶여있으며, 많은 언어레벨 기능들은 프레임워크 클래스가 제공하는 행동(동작)에 의존합니다.
When building apps for OS X or iOS, you’ll spend most of your time working with objects.
당신이 OS X 과 iOS 앱들을 만들때, 대부분의 시간을 객체작업에 보내게 됩니다.
Those objects are instances of Objective-C classes, some of which are provided for you by Cocoa or Cocoa Touch and some of which you’ll write yourself.
이러한 객체들은 Objective-C 클래스의 인터턴스이며, 일부는 Cocoa 와 Cocoa Touch에서 제공합니다. 그리고 일부는 당신이 직접 작성합니다.
If you’re writing your own class, start by providing a description of the class that details the intended public interface to instances of the class.
만약 당신이 자신의 클래스를 만들 경우,인스턴스들의 클래스에서 사용하는 public 인터페이스에 대한 설명을 제공해야 합니다.
This interface includes the public properties to encapsulate relevant data, along with a list of methods.
이 인터페이스는 관련 데이터를 캡슐화 하는 public properties 와 메소드 목록이 포함됩니다.
Method declarations indicate the messages than and object can receive,