Cocoa Programming for Mac OS X (3rd)

公開日: :

一応ヒレガス本をざっと読み終えたので、次にまだ翻訳されていない最新のヒレガス本にトライしようか考える。
まずは目次をメモして、1stとの違いを探してみる。

目次を見る限りでは、1stとの大きな違いはなさそうだ。1stはそもそもXCodeではなかったので、そのあたりは参考になると思うが、それくらいであれば特にこの3rdを4000円出して買う必要はなさそうだ。もともと1stを買わずにこちらを買っておけば良かったかもしれないが、やはり日本語の読みやすさには代え難い。
村上雅章氏の翻訳も良かったし。

1. Cocoa: What Is It?
A Little History.
Tools.
Objects, Classes, Methods, and Messages.
Frameworks.
How to Read this Book.
Typographical Conventions.
How to Learn.

2. Let’s Get Started.
In Project Builder.
In Interface Builder.
Back in Project Builder.
Documentation.
What Have You Done?

3. Objective-C.
Creating and Using Instances.
Using Existing Classes.
Creating Your Own Classes.
The Debugger.
What Have You Done?
For the More Curious: How Does Messaging Work?
Challenge.

4. Controls.
Some Commonly Used Subclasses of NSControl.
Start the RaiseMan Example.
The Interface File for MyDocument.
Layout the Interface.
Implementing the Person Class.
Implementing the MyDocument Class.
What Have You Done?
For the More Curious: Setting the Target Programmatically.
Challenge.

5. Helper Objects.
NSTableView and Its Data Source.
MyDocument Interface File.
Layout the User Interface.
Make Connections.
Edit MyDocument.m.
Key-value Coding.
Delegates.
For the More Curious: How Delegates Work.
Challenge 1.
Challenge 2.

6. Archiving.
NSCoder and NSCoding.
The Document Architecture.
Saving and NSArchiver.
Loading and NSUnarchiver.
Informing the Document That It Has Been Edited.
Setting the Extension and Icon for the File Type.
For the More Curious: Preventing Infinite Loops.
For the More Curious: Versioning.
For the More Curious: Creating a Protocol.

7. Nib Files and NSWindowController.
NSPanel.
Adding a Panel to the Application.
For the More Curious: NSBundle.
Challenge 1.
Challenge 2.

8. User Defaults.
NSDictionary and NSMutableDictionary.
NSUserDefaults.
Creating Keys for the Names of the Defaults.
Registering Defaults.
Let the User Edit the Defaults.
Using the Defaults.
Saving the Frame of a Window.
For the More Curious: Reading and Writing Defaults from the Command-line.
Challenge.

9. Using Notifications.
What Notifications Are.
What Notifications Are Not.
NSNotification.
NSNotificationCenter.
Posting a Notification.
Registering as an Observer.
Unregistering the Observer.
Handling the Notification When It Arrives.
For the More Curious: Delegates and Notifications.
For the More Curious: The userInfo Dictionary.
Challenge.

10. Using Alert Panels.
Make the User Confirm the Delete.
Challenge.

11. Localization.
Localizing a Nib File.
String Tables.
For the More Curious: nibtool.
Challenge.

12. Custom Views.
The View Hierarchy.
Get a View to Draw Itself.
Drawing with NSBezierPath.
NSScrollView.
For the More Curious: Cells.
Challenge 1.

13. Images and Mouse Events.
NSResponder.
NSEvent.
Getting Mouse Events.
Using NSOpenPanel.
Composite an Image Onto Your View.
The View’s Coordinate System.
Autoscrolling.
For the More Curious: NSImage.
Challenge.

14. Responders and Keyboard Events.
NSResponder.
NSEvent.
Create a New Project with a Custom View.

15. Working with Fonts and NSString.
NSFont.
NSAttributedString.
Drawing Strings and Attributed Strings.
Making Letters Appear.
Getting Your View to Generate PDF Data.
For the More Curious: NSFontManager.
Challenge 1.
Challenge 2.

16. Pasteboards and Nil-targeted actions.
NSPasteboard.
Add Cut, Copy, and Paste to BigLetterView.
Nil-targeted Actions.
For the More Curious: Which Object Really Sends the Action Message?
For the More Curious: Lazy Copying.
Challenge.

17. Categories.
Add a Method to NSString.

18. Drag and Drop.
Make BigLetterView a Drag Source.
Make a BigLetterView a Drag Destination.
Challenge.

19. NSTimer.
Layout the Interface.
Make Connections.
Adding Code to AppController.
Challenge.

20. Sheets.
Adding a Sheet.
For the More Curious: contextInfo.
For the More Curious: NSDrawer.
Challenge.

21. Creating NSFormatters.
A Basic Formatter.
The Delegate of the NSControl.
Checking Partial Strings.
The Control’s Delegate and Partial Strings.
Formatters that Return Attributed Strings.
Challenge.

22. Printing.
Adding Printing to TypingTutor.
Dealing with Pagination.
Challenge.

23. Updating Menu_n.
Making a BigLetterView Uncopyable.

24. Working with NSTextView.
NSTextView.
Messages the Delegate Will Be Sent.
Build the Editor With Which This Book Was Written.
For the More Curious: The Field Editor.

25. Using Java with Cocoa.
Don’t Use Java to Write Cocoa Applications.
If You Must Use Java to Write Cocoa Applications.

26. Creating Interface Builder Palettes.
Add NSCoding Methods to BigLetterView.
Create a Palette Project.
Edit the Nib File for Your Palette.
palette.table.
Build and Test.
FinishInstantiate.
Adding an Inspector.
For the More Curious: How to Palettize Objects That Are Not Views.
Challenge.

27. The End.

Cocoa Programming for Mac OS X
Cocoa Programming for Mac OS X Aaron Hillegass

Addison-Wesley Professional 2008-05-23
売り上げランキング : 4573

Amazonで詳しく見る by G-Tools

Mac OS X Cocoaプログラミング
Mac OS X Cocoaプログラミング アーロン・ヒレガス

ピアソンエデュケーション 2002-06
売り上げランキング : 93371

おすすめ平均 star
star挿絵は古いがそれほど気にならない。内容は決して古くはない。
star読めるように書かれていて、翻訳もいい
star内容が古いことを除けば、ですが

Amazonで詳しく見る by G-Tools

関連記事

no image

[感想] 教育×破壊的イノベーション クレイトン・クリステンセン

教育×破壊的イノベーション 教育現場を抜本的に変革するクレイトン・クリステンセン マイケル・ホーン

記事を読む

no image

[Kindle本] 英語にも王道はないその証明 山森宣人著 の感想

Kindle本311円。(2014/01/07) Kindle Store でたまたま発見して、気

記事を読む

no image

ゲームデザイナーの考え方 ゲームデザイン脳 ―桝田省治の発想とワザ―

俺の屍を超えていけやリンダキューブをデザインした枡田氏の本。 ゲームデザイナーの考え方の片鱗を知るこ

記事を読む

とてもゲームがやりたくなる本: 3Dゲームをおもしろくする技術

ゲームの作り手向けの本だが、こんな工夫がされているのか! と目からウロコが落ち、ゲームがやりたくなる

記事を読む

[洋書] Showstopper! G. Pascal Zachary

Showstopper!: The Breakneck Race to Create Windows

記事を読む

no image

iPhoneゲーム開発本 iPhone Games Projects

iPhone Games Projects、ようやくざっと読んだので内容をまとめてみる。 出版元のA

記事を読む

ナナのリテラシー

Amazonプライム会員特典で毎月1冊Kindle本が読めるので、数ヶ月かけてナナのリテラシー3巻読

記事を読む

no image

ピーターの法則 ローレンス・J・ピーター

図書館で予約して借りてみた本。 「階層社会では、すべての人は昇進を重ね、おのおのの無能レベルに到達す

記事を読む

no image

ベルセルク37巻は2013年3月29日発売らしい..

コミック版ベルセルクはここ数年9月に出ていたのでそろそろ最新刊(37巻)が出るかと思って調べてみたら

記事を読む

no image

Begininng iPhone 3 Development 入手

はじめてのiPhoneプログラミングの原書 Beginning iPhone Development

記事を読む

Message

メールアドレスが公開されることはありません。 が付いている欄は必須項目です

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Ember Mug 2のACアダプタをUSB Type-Cに変えてみた

冬になると活躍する Ember Mug 2 の充電器は付属のACアダ

Wi-Fi6Eルータ TP-Link AXE5400購入

Wi-Fi6E を試してみたくなり、TP-Link AXE5

児童手当 認定請求書申請 2024 「請求者が養育をする18歳に達する日以降の最初の3月31日までの子の数」とは?

2024年に受給していない人には手紙が届くらしい。 電子申請も

Vision Proアプリ開発本 8/24、8/26に発売

Vision Proアプリ開発入門 P400が 8/24 に発売、V

Developer Strap が日本でも購入可能に

USアカウントでしか購入できなかった Vision Pro 用 De

→もっと見る

PAGE TOP ↑