tailieunhanh - Beginning Mac Programming: Develop with Objective-C and Cocoa
Beginning Mac Programming takes you through concrete, working examples, giving you the core concepts and principles of development in context so you will be ready to build the applications you've been imagining. It introduces you to Objective-C and the Cocoa framework in clear, easy-to-understand lessons, and demonstrates how you can use them together to write for the Mac, as well as the iPhone and iPod. You'll explore crucial developer tools like Xcode and Interface Builder, and learn the principles of object-oriented programming, and how memory, data, and storage work to help you build your software. If you've ever wanted to develop software. | Beginning Mac Programming Develop with Objective-C and Cocoa Tim Isted The Pragmatic Bookshelf Raleigh North Carolina Dallas Texas _ Pragmatic _ 31 Hookshelf Many of the designations used by manufacturers and sellers to distinguish their products are claimed as trademarks. Where those designations appear in this book and The Pragmatic Programmers LLC was aware of a trademark claim the designations have been printed in initial capital letters or in all capitals. The Pragmatic Starter Kit The Pragmatic Programmer Pragmatic Programming Pragmatic Bookshelf and the linking g device are trademarks of The Pragmatic Programmers LLC. Every precaution was taken in the preparation of this book. However the publisher assumes no responsibility for errors or omissions or for damages that may result from the use of information including program listings contained herein. Our Pragmatic courses workshops and other products can help you and your team create better software and have more fun. For more information as well as the latest Pragmatic titles please visit us at http Copyright 2010 Tim Isted. All rights reserved. No part of this publication may be reproduced stored in a retrieval system or transmitted in any form or by any means electronic mechanical photocopying recording or otherwise without the prior consent of the publisher. Printed in the United States of America. ISBN-10 1-934356-51-4 ISBN-13 978-1-934356-51-7 Printed on acid-free paper. printing March 2010 Version 2010-3-3 Contents 1 Introduction 10 The Intended Audience. 11 What s Involved . 11 What s Needed . 12 Acknowledgments. 13 Let s Go. 14 2 Your First Application 15 Introducing Xcode . 15 The Main Event. 18 The Cocoa Framework . 22 Application Resources . 23 Chapter Summary. 29 3 All About Objects 30 The Application Construction Process. 30 An Introduction to Objects . 31 Object Inheritance . 38 Writing Code for Our Own Objects . 40 .
đang nạp các trang xem trước