블로그 이미지
Leeway is... the freedom that someone has to take the action they want to or to change their plans.
maetel

Notice

Recent Post

Recent Comment

Recent Trackback

Archive

calendar

1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30
  • total
  • today
  • yesterday

Category

'Computation/Cocoa'에 해당되는 글 1건

  1. 2008.06.07 [Aaron Hillegass] Cocoa Programming for Mac OS X
2008. 6. 7. 22:19 Computation/Cocoa
http://www.informit.com/store/product.aspx?isbn=0321503619

3rd edition:
http://proquest.safaribooksonline.com/9780321562739
-> reading online

2nd edition:
http://catdir.loc.gov/catdir/toc/ecip0414/2004003054.html


google book:
http://books.google.com/books?id=47IMAAAACAAJ

COCOA Programming for Mac OS X 2/E 상세보기
Hillegass 지음 | Addison Wesley 펴냄
Provides step-by-step instructions for learning COCOA, discussing such topics as Objective-C, controls, helper objects, archiving, Nib files and NSWindowController, and creating interface builder palettes.


Aaron Hillegass
http://www.bignerdranch.com/

ref.
Learn Objective-C on the Macintosh
By Mark Dalrymple and Scott Knaster
invalid-file

preview pdf


Cocoa Fundamentals Guide: What Is Cocoa?

Cocoa Application Tutorial: Introduction to Cocoa Application Tutorial

Cocoa Guides

http://en.wikipedia.org/wiki/Cocoa_%28API%29





Chapter 1
Cocoa: What Is It?

1p
A Little History


NeXTSTEP
http://en.wikipedia.org/wiki/NEXTSTEP


darwin
http://en.wikipedia.org/wiki/Darwin_(operating_system)
http://www.opendarwin.info/
http://developer.apple.com/opensource/index.html

X window server
http://en.wikipedia.org/wiki/X_Window_System


NeXTSTEP came with a set of libraries and tools to enable programmers to deal with the window manager in an elegant manner. The libraries were called frameworks. In 1993, the frameworks and tools were revised and renamed OpenStep, which was itself later renamed Cocoa.

사용자 삽입 이미지

Cocoa enables your application to receive events from the window server and draw to the screen.

Programming with the frameworks is done in a language called Objective-C.


4p
Tools

Mac OS X Developer Tools (Xcode, Interface Builder)
GNU C compiler (gcc)
GNU debugger (gdb)


Language

Objective-C
Java - portability

Swing - an API for providing a graphical user interface (GUI) for Java programs.
http://en.wikipedia.org/wiki/Swing_%28Java%29


5p
Objects, Classes, Methods, and Messages

An object takes up memory and has variables inside it.

Classes are structures that can create objects. Classes specify the variables that the object has, and they are responsible for allocating memory for the object. We say that the object is an instance of the class that created it.
To call a method, you send the object a message.


6p
Frameworks

A framework is a collection of classes that are intended to be used together. The classes are compiled together into a reusable library of code. Any related resources are put into a directory with the library. The directory is renamed with the extensioin .framework. You can find the built-in frameworks for your machine in /System/Library/Frameworks.

All Cocoa applications use two of these frameworks: Foundation and AppKit.


7p

posted by maetel