Nicht aus der Schweiz? Besuchen Sie lehmanns.de
Building Cocoa Applications - A Step-by-Step Guide - Simson Garfinkel

Building Cocoa Applications - A Step-by-Step Guide

Buch | Softcover
620 Seiten
2002
O'Reilly Media (Verlag)
978-0-596-00235-0 (ISBN)
CHF 81,65 inkl. MwSt
This developer's guide to creating applications for computers using Mac OS X, explains how to build sophisticated applications rather than offer a series of simplistic and vague examples.
This guide takes a step-by-step approach to teaching developers how to build real graphics applications using Cocoa. By showing the basics of an application in one chapter and then layering additional functionality onto that application in subsequent chapters, the book keeps readers interested and motivated. Readers will see immediate results, and then go on to build onto what they've already achieved. The book is divided into four major parts: Part I introduces the Mac OS X graphical user interface (Aqua) from a developer's point of view, Cocoa developer tools (such as the Interface Builder, Project Builder, and gdb debugger), object-oriented concepts, the Objective-C language in which Cocoa is written, and the basics of Cocoa programming itself; Part II focuses on building the first complete application, calculator, a simple four-function calculator. The chapters in this part of the book extend the application, piece by piece, by introducing such features as nibs, icons, delegation, resizing, events, and responders.
Part III focuses on building an application called MathPaper, which is similar to a word processor but which instead solves mathematical expressions the user supplies. The chapters in this part of the book extend MathPaper by developing both the front and back ends using a variety of Cocoa classes and methods. They introduce Cocoa'sdocument-based architecture, tasks, pipes, Rich Text format, handling document files, and using Quartz to draw in windows. Part IV focuses on building the GraphPaper application, a more complex multithreading application that graphs mathematical functions in multiple dimensions and that uses mouse-over capabilities to identify graph points. The chapters in this part of the book add more advanced Mac OS X features such as multithreading, colour, mouse events, zoom buttons, pasteboards, services, preferences, and the defaults database.

Michael K. Mahoney is Professor and Chair of the Computer Engineering and Computer Science Department at California State University, Long Beach. He started programming a NeXT Computer in January 1989 and attended NeXT Developer's Camp in May 1989. He has conducted several semesters of Cocoa software development seminars at CSULB and has led training in industry for Mahoney Consulting and the Anderson Software Group. Mahoney has given presentations on Object-Oriented Programming and Cocoa's Interface Builder at ACM meetings in Seattle, Los Angeles, Monterey, and New Orleans. He regularly teaches courses in Computer Graphics, User Interface Design, Object-Oriented Programming, and Discrete Mathematics. He is currently directing several students who are developing 3D computer graphics applications in the Cocoa environment. Mahoney is founder and President of SCaN, the Southern California NeXT Users' group, which has hundreds of members and meets monthly at various sites in Los Angeles County. He is also co-editor of SCaNeWS, SCaN's newsletter, which can be obtained from the nova.cc.purdue.edu archive site. Mahoney earned his Ph.D. in mathematics at the University of California, Santa Barbara in 1979. He has published papers in computer graphics, computer science education, and mathematics. He has won campus-wide teaching awards at both UCSB and CSULB. Simson L. Garfinkel is Chief Technology Officer at Sandstorm Enterprises, a computer security company that develops offensive information warfare tools used to probe the security of computer systems and test defenses. Garfinkel was the founder of Sandstorm Enterprises in 1998 and remains one of its principal stockholders. Prior to founding Sandstorm, Garfinkel founded Vineyard.NET, the Internet Service Provider (ISP) for Martha's Vineyard, in 1995. In 2000 he successfully negotiated the sale of Vineyard.NET to Broadband2Wireless (BB2W), a venture-funded broadband wireless ISP. When BB2W failed, Garfinkel negotiated the repurchase of Vineyard.NET from BB2W's bankruptcy court. Besides his activities as an entrepreneur, Garfinkel is a journalist and author. Since graduating from the Columbia School of Journalism in 1988, Garfinkel has had ongoing relationships with some of the nation's leading publications, including The Boston Globe, The San Jose Mercury News, The Christian Science Monitor, and Technology Review Magazine, in which he now published a regular column. He was one of the founding contributors to Wired Magazine. His articles have appeared in more than 50 publications including ComputerWorld, Forbes, The Nation, The New York Times, Omni and Discover. Garfinkel is the author or co-author of ten books, published by O'Reilly and Associates, Springer-Verlag, and IDG Books. His book Database Nation: The Death of Privacy in the 21st Century was endorsed by Ralph Nader, who called it "A graphic and blistering indictment" of the techniques used by businesses to invade our privacy and our lives. Garfinkel's most recent book, Web Security, Privacy and Commerce, is a detailed manual for securing Internet-based information systems. Garfinkel holds three degrees from the Massachusetts Institute of Technology and a master's degree in Journalism from Columbia University. He is a member of the Association for Computing Machinery (ACM), Computer Professionals for Social Responsibility (CPSR), and has a certification in computer security (CISSP) from International Information Systems Security Certifications Consortium. He is also an FAA licensed pilot. Garfinkel lives in Belmont and on Martha's Vineyard with his wife and three children.

Part I Cocoa overview: understanding the Aqua interface, what makes Mac OS X so special?, a quick look at the Mac OS X user interface, basic principles of the Aqua interface, the mouse and cursor, window types and behaviour, menus and the menu bar, the dock controls, the finder configuring your desktop, step-by-step, menu guidelines and keyboard equivalents, working with the filesystem step-by-step, summary, exercises, references; tools for developing Cocoa applications - developer tools, utilities, working with the terminal, debugging programs with gdb user interface design, summary, exercises; creating a simple application with interface builder - getting started with interface builder, adding objects to your application, objects, messages, and targets, summary, exercise; an objective-C application without interface - builder, the Tiny.m program, an introduction to objective-C, Tiny.m revisited, summary, exercises, references. Part II Calculator: building a simple application; building a project - a four-function calculator, getting started - building the calculator project, building the calculator's user interface, building the calculator's controller class, customizing buttons and making connections, compiling and running a program, compiler error messages, the enterDigit - action method, adding the four calculator functions, adding the Unary Minus function to the controller class, the files in a project, summary, exercises; nibs and icons - customizing mainmenu.nib, managing multiple nibs, adding icons to applications, changing calculator's application icon, Cocoa's NSImage class, summary, exercises, references; delegation and resizing - handling different bases, delegation, disabling buttons for bettermultiradix input, resizing windows programmatically, two very important classes - NSWindow and NSView, summary, exercises; events and responders - events and the NSResponder chain, events and the NSApplication object. Part III MathPaper: a multiple-document, multiprocess application; MathPaper and Cocoa's document-based architecture - the MathPaper application, the evaluator back end, Cocoa 's Document-Based Architecture, building MathPaper's front end, summary, exercises, references; tasks, pipes, and NSTextView - processes, pipes, and resources, making evaluator a MathPaper auxiliary executable, MathDocument class modifications, creating PaperController, a subclass of NSWindowController, the NSScrollView and NSTextView classes, PaperController class modifications, summary, exercises; rich text format and NSText - rich text format and NSText, rich text format, creating an RTF class, integrating our RTF class into MathPaper, summary, exercises; saving, loading, and printing - data management with NSDocument, saving to a file, loading from a file, marking a document window as edited, adding printing capability, summary, exercises. (Part Contents)

Erscheint lt. Verlag 4.6.2002
Reihe/Serie O'Reilly Ser.
Verlagsort Sebastopol
Sprache englisch
Einbandart kartoniert
Themenwelt Informatik Betriebssysteme / Server Macintosh / Mac OS X
Mathematik / Informatik Informatik Datenbanken
Mathematik / Informatik Informatik Programmiersprachen / -werkzeuge
ISBN-10 0-596-00235-1 / 0596002351
ISBN-13 978-0-596-00235-0 / 9780596002350
Zustand Neuware
Haben Sie eine Frage zum Produkt?
Mehr entdecken
aus dem Bereich
Schritt für Schritt einfach erklärt

von Philip Kiefer

Buch | Softcover (2023)
Markt + Technik (Verlag)
CHF 27,90