Amazon.com: Carbon Programming (0752063322673): Kevin Bricknell: Books

Have one to sell? Sell yours here
Carbon Programming
 
See larger image
 
Tell the Publisher!
I'd like to read this book on Kindle

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

Carbon Programming [Paperback]

Kevin Bricknell (Author)
3.2 out of 5 stars  See all reviews (5 customer reviews)


Available from these sellers.


Textbook Student FREE Two-Day Shipping for students on millions of items. Learn more


Book Description

October 18, 2001 0672322676 978-0672322679 1

Carbon Programming is a comprehensive guide that is logically organized, compatible with the current system software, and includes ready-to-run demonstration programs within each chapter. The book covers Mac programming using the Carbon API. Topics include:

  • Scrap;
  • Event Manager;
  • Appearance Manager;
  • Controls;
  • Lists.

This book is for Mac programmers who are familiar with the C language but who are new to the Carbon API. Professionals coming to the Macintosh and computer science students will benefit from the book as a learning tool relating specifically to the Macintosh computer and the Carbon API.


Customers Who Bought This Item Also Bought


Editorial Reviews

Amazon.com Review

Aimed at developers who want to work with low-level C APIs on the new Mac OS X, Carbon Programming provides a monumental and thorough tutorial and reference. With plenty of information on "legacy" Mac OS 8/9, this text will bridge the gap between the old and new for developers.

Weighing in at over 1,500 pages, Carbon Programming is truly comprehensive and packed with extensive source code. The meticulous detail and extensive programming examples that show off most every API at work help make this title a standout. The programming samples (several run over 50 pages) not only show off every API at work, but each is preceded by a listing of all available API methods and constants used in each demo, making this a reference as well as a programming tutorial.

The author provides a great tour of every imaginable area of the Carbon API (which allows developers to target both the Mac X OS and older versions of the Mac OS). Beginning with the organization of memory in the new PowerPC architecture, the author looks at new guidelines for memory management. (This material is reprised with a later discussion of the 68LC040 emulation.) The tour of Carbon APIs begins in earnest with a full tour of basic window processing, from designing and displaying windows to event handling. A welcome feature of this text is that screen shots of windows in both the new Mac X OS and Mac 9 OS are presented side by side, so you can compare visual differences. Wherever possible, the author highlights new-and-improved features on the Mac X OS (compared to older standards). Meticulous charts map out compiled resources (using the Resorcerer tool) for Carbon developers.

Sections on menu processing options help anchor the early part of the book. Detailed sections on common operations on windows help give you a command of essential Carbon programming. Sections on the Appearance Manager, the Finder, Carbon Event Manager, and new speech and sound APIs will help you take advantage of recent enhancements to the platform.

Another reason to buy this book is the tour of basic Carbon control programming, on both basic and advanced controls, across several lengthy chapters. There is also full coverage of advanced features that will be needed to create professional-quality software on Mac OS X, with coverage of printing, scrap, and drag-and-drop techniques. Later chapters delve into file I/O (including support for built-in file dialogs) and extensive coverage of the TextEdit control for displaying and editing text with a variety of options. The book concludes with a look at international support with a glance at the Multilingual Text Engine.

This sprawling and massive tutorial is sure to be a must-have for any serious Mac developer who works in C/C++. It covers all the current features in Carbon and will allow any developer to master "traditional" client-side programming for the latest on the Mac platform. --Richard Dragan

Topics covered: Introduction to Carbon APIs and the Mac OS 8/9 and Mac OS X platforms (the PowerPC run-time environment, memory management and resources); low-level event handling; basic menu processing (including pull-down and pop-up menus, and help balloons); window basics in Carbon (the Window Manager and graphics ports); window types; creating basic windows; basic event handling with windows (including mouse and keyboard processing); backward compatibility with 68LC040 Emulator and the Mixed Mode Manager (including Universal Procedure Pointers); using the Appearance Manager and themes (changing visual appearance of common screen elements); basic Carbon controls and operations (including enabling/disabling and showing/hiding controls); embedding controls; creating controls dynamically; scrollbars; small versions of controls; dialogs and alerts (including modal and modeless dialogs, plus event handling); using the Finder in Carbon applications; icons and resources; Mac OS 9 packages versus Mac OS X bundles; in-depth guide to Apple Events; QuickDraw graphics tutorial (including colors, the graphics port, drawing basic shapes and images, text and fonts); saving and restoring the graphics port state; using offscreen graphics worlds; pictures, cursors, and icons; guide to two dozen advanced Mac controls (including image wells, sliders, clocks, progress, picture, and icon controls); Carbon printing APIs; advanced window features (including floating windows, proxy icons, using animation and sounds, moving and positioning windows); the Carbon Event Manager (event handling APIs and techniques); file I/O (including Open Dialog and Save Location Dialogs); advanced Carbon resources; the Carbon Scrap Manager, Carbon APIs for text, dates, times, and numbers (including the TextEdit text editor); using Carbon lists, drag and drop support; using sound and speech (including sound production and recording); miscellaneous Carbon features (including progress bars, the color picker, help tags); the CarbonLib and Mac OS 8/9; the Gestalt Manager; and the Multilingual Text Engine (MLTE).

From the Back Cover

Carbon Programming is a comprehensive guide that is logically organized, compatible with the current system software, and includes ready-to-run demonstration programs within each chapter. The book covers Mac programming using the Carbon API. Topics include:


* Scrap;
* Event Manager;
* Appearance Manager;
* Controls;
* Lists.

This book is for Mac programmers who are familiar with the C language but who are new to the Carbon API. Professionals coming to the Macintosh and computer science students will benefit from the book as a learning tool relating specifically to the Macintosh computer and the Carbon API.


Product Details

  • Paperback: 1608 pages
  • Publisher: Sams; 1 edition (October 18, 2001)
  • Language: English
  • ISBN-10: 0672322676
  • ISBN-13: 978-0672322679
  • Product Dimensions: 9.1 x 7.4 x 2.2 inches
  • Shipping Weight: 5 pounds
  • Average Customer Review: 3.2 out of 5 stars  See all reviews (5 customer reviews)
  • Amazon Best Sellers Rank: #993,718 in Books (See Top 100 in Books)

More About the Author

Discover books, learn about writers, read author blogs, and more.

 

Customer Reviews

5 Reviews
5 star:
 (2)
4 star:    (0)
3 star:
 (1)
2 star:
 (1)
1 star:
 (1)
 
 
 
 
 
Average Customer Review
3.2 out of 5 stars (5 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

7 of 7 people found the following review helpful:
3.0 out of 5 stars Good for Mac OS 9, July 10, 2003
By 
Dan2345 (Los Angeles) - See all my reviews
Amazon Verified Purchase(What's this?)
This review is from: Carbon Programming (Paperback)
I bought this book a while ago when I started programming for the Macintosh. I was looking for a good Carbon book but this book was not what I had hoped for.
The problem with the book is that it explains a lot about how to program on Mac OS 8/9.x (which still works in Carbon) but not really how to start with a real Carbon program. Most of the examples use the old event handler but not the new recommended Carbon event handler.
It also uses the old style *.rsrc resources and not the new much simpler nib-file approch to resources.
Now that I'm porting my Mac OS X program to Mac OS 9 I find it actually very helpful because it covers a lot of Mac OS 9 stuff.

Over all I would say if you want to write pure Carbon programs for Mac OS X buy another book. If you also want to learn how to program on Mac OS 9 then it is a good choice. It has example code to every chapter which is very helpful.

Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


5 of 5 people found the following review helpful:
2.0 out of 5 stars obsolete?, November 15, 2005
By 
P. Falstad (Edina, MN USA) - See all my reviews
(REAL NAME)   
This review is from: Carbon Programming (Paperback)
I got this book to learn Mac OS X programming and was very disappointed. There's way too much info on Mac OS 8 and 9, which is great for people who are migrating old applications; but if you're writing new applications like I am, it just gets in the way. Many screenshots are old and do not look like OS X windows. It talks about CDEF resources, which do not work in OS X; it does not talk about the updated way custom controls are done. Code samples use WaitNextEvent(), which is deprecated. There's nothing on quartz, but lots of info on quickdraw, which is deprecated. Nothing on HIView, OpenGL, etc. It appears that this was a great book in its day, but now, it'll probably just confuse you.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


2 of 3 people found the following review helpful:
5.0 out of 5 stars So little has changed from OS 9, July 20, 2003
By 
H. Singh (New York, NY) - See all my reviews
(REAL NAME)   
This review is from: Carbon Programming (Paperback)
Ok, that's a lie. Many things have changed since OS 9. But they all build upon what's in OS 9. To do carbon, you need to know how OS 9's apis are structured. Most of the changes in Carbon are behind the scenes on OS 9's existing APIs (for example, HIView, etc). Besides, the important changes in Carbon are listed (namely, Carbon Events). The text focuses on being able to run on both OS X and OS 9. If you don't care, you'd probably want to use NIBs with Interface Builder instead of clunky, overpriced Resorcerer.

I wish there was a chapter on NIBs. That'd be nice. But you can piece together what's necessary from examples & documentation once you've read the book.

Simply put, there is no better book on the topic, and this one, while not perfect, is very good. Well written, easy to follow. Just the right number of details, good examples with great explaination.

Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No

Share your thoughts with other customers: Create your own review
 
 
 
Most Recent Customer Reviews



Only search this product's reviews



What Other Items Do Customers Buy After Viewing This Item?


Tag this product

 (What's this?)
Think of a tag as a keyword or label you consider is strongly related to this product.
Tags will help all customers organize and find favorite items.
Your tags: Add your first tag
 

Sell a Digital Version of This Book in the Kindle Store

If you are a publisher or author and hold the digital rights to a book, you can sell a digital version of it in our Kindle Store. Learn more

Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
 


Active discussions in related forums
Search Customer Discussions
Search all Amazon discussions
   
Related forums


Listmania!


Create a Listmania! list

So You'd Like to...


Create a guide


Look for Similar Items by Category


Look for Similar Items by Subject