보관물

Posts Tagged ‘CoreGraphics’

Getting Started with Graphics and Animation

2월 18, 2011 댓글 남기기

iOS는 graphics와 animation을 실행하기위해 3가지  framework를 지원한다.

  • UIKit
    Objective-C class library.
    UI 제어, Animate, 2D drawing
  • Core Graphics
    C-Based API.
    Vector graphics, Bitmap images, PDF content
    (Quartz 2D는 2D drawing engine으로 사용되며 종종 Core Graphics와 동의어로 사용됨)
  • OpenGL ES
    Objective-C based API로 구현한 EAGL을 사용
    2D/3D drawing

The Basics

View Programming Guide for iOS
Drawing and Printing Guide for iOS

Deciding Which Frameworks to Use

Drawing Layered Content

Metronome 예제 참조
UIView Class Reference

Animating

MoveMe 예제 참조
Animations
Core Animation Programming Guide

Working With Images

UIImageView Class Reference
UIImage Class Reference
UIScrollView Class Reference
UIScrollViewDelegate Protocol Reference

Drawing Custom Content using Quartz 2D

Drawing and Printing Guide for iOS
CGContext Reference
Overview of Quartz 2D
Quartz 2D Programming Guide

Drawing With OpenGL ES

GLSprite 예제
OpenGL ES Overview
OpenGL ES Programming Guide for iOS

원본자료

Getting Started with Graphics and Animation