The Cocoa frameworks are some of the most powerful for creating native OS X Mountain Lion desktop or laptop apps available today. However, for a first-time Mac developer, just firing up Xcode and starting to browse the documentation can be a daunting task. The Objective-C class reference documentation alone would fill thousands of printed pages, not to mention all the other tutorials and guides included with Xcode. Where do you start? Which classes are you going to need to use? How do you use Xcode and the rest of the tools? Learn Cocoa for the Mac, Second Edition answers these questions and more, helping you find your way through the jungle of classes, tools, and new concepts so that you can get started on the next great Mac OS X Mountain Lion app today. Jack Nutting and Peter Clark are your guides through this forest; Jack has lived here for years, and he'll show you which boulder to push, which vine to chop, and which stream to float across in order to make it through. You will learn not only how to use the components of this rich framework, but also which of them fit together, and why. Using Jack Nuttingas approach, combining pragmatic problem-solving with a deep respect for the underlying design philosophies contained within Cocoa, stems from years of experience using these frameworks. Peter will show you which parts of your app require you to jump in and code a solution, and which parts are best served by letting Cocoa take you where it wants you to go. The path over what looks like a mountain of components and APIs has never been more thoroughly prepared for your travels. With Jackas and Peter's guidance, the steep learning curve becomes a pleasurable adventure. There is still much work for the uninitiated, but by the time youare done, you will be well on your way to becoming a Cocoa master. What youall learn How to actually make your own Cocoa applicationsathis is much more than just a quick introduction to Cocoa! How to use the facilities provided in OS X to create software that distributes itself automatically among all available CPUs, improving the user experience for your users. Which classes, of the dozens included in Cocoa, are truly central to Cocoa development. How to best use MVC architecture concepts in a Cocoa application How the various pieces of the Cocoa frameworks fit with each other and into the MVC architecture Which parts of Cocoa truly enable avisual programminga, letting you reap the benefits of proven, reusable code libraries that Apple gives you for free How to recognize recurring design patterns used throughout Cocoa, and put them to proper use in your own code How to approach Cocoa from different programming environments Who this book is for Anyone with a basic understanding of object-oriented programming who wants to try out Mac OS X apps programming, as well as iPhone developers who want to extend their knowledge of Cocoa touch to include the Mac-specific technologies included with Cocoa.The first section will cover how to make a view respond to mouse events, letting users interact with our customized views. ... brief introduction to Core Animation, an exciting technology that lets us create smooth animations with just a few lines of code. ... If youa#39;ve used a Bezier drawing tool in Photoshop or other applications , you may have wondered what those shapes ... (the lowerIeft and upper-right corners) and two control points depicted by rather gigantic circles at the end of sticks.
|Title||:||Learn Cocoa on the Mac|
|Author||:||Jack Nutting, Peter Clark|
|Publisher||:||Apress - 2013-01-09|