Cocoa Programming for Mac OS X For Dummies

Cocoa Programming for Mac OS X For Dummies

Erick Tejkowski

Language: English

Pages: 408

ISBN: 0470432896

Format: PDF / Kindle (mobi) / ePub


Cocoa programming is not only the favored development environment for Mac OS X, it’s also a primary tool for creating iPhone and iPod Touch software. That makes this a great time to learn Cocoa, and Cocoa Programming for Mac OS X For Dummies is the ideal place to start!

This book gives you a solid foundation in Cocoa and the unusual syntax of Objective-C. You’ll learn what’s new in Cocoa frameworks and create an application step by step. For example, you can:

  • See how Xcode underlies your applications as the main component of Apple’s IDE
  • Examine the basics of the Objective-C language, the elements of a Cocoa interface, and object-oriented programming
  • Use Xcode and Interface Builder
  • Spruce up your apps with audio, video, Internet features, stylized text, and more
  • Create applications with the stunning graphics for which Macs are famous
  • See how to build apps with multiple documents and even executables that aren’t traditional Mac apps
  • Use all the exciting new Cocoa features
  • Work with Cocoa numbers, arrays, Booleans, and dates
  • Build document-based applications
  • Simplify with key-value coding

The better you understand Cocoa programming, the better the applications you can create for Mac OS X, iPhone, and iPod Touch. Cocoa Programming for Mac OS X For Dummies makes it easy and fun!

Note: CD-ROM/DVD and other supplementary materials are not included as part of eBook file.

A Game Design Vocabulary: Exploring the Foundational Principles Behind Good Game Design

Webbots, Spiders, and Screen Scrapers: A Guide to Developing Internet Agents with PHP/CURL

Office 2016 for Dummies

MySQL Stored Procedure Programming

Building Virtual Pentesting Labs for Advanced Penetration Testing

Systems Analysis and Design in a Changing World (5th Edition)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

ORGANIZATION OR WEBSITE MAY PROVIDE OR RECOMMENDATIONS IT MAY MAKE. FURTHER, READERS SHOULD BE AWARE THAT INTERNET WEBSITES LISTED IN THIS WORK MAY HAVE CHANGED OR DISAPPEARED BETWEEN WHEN THIS WORK WAS WRITTEN AND WHEN IT IS READ. For general information on our other products and services, please contact our Customer Care Department within the U.S. at 877-762-2974, outside the U.S. at 317-572-3993, or fax 317-572-4002. For technical support, please visit www.wiley.com/techsupport. Wiley also

the name of the company that Steve Jobs headed before his return to Apple. Apple purchased the NeXT operating system, which became the core of Mac OS X. The XIB file is a carryover from those days. Cocoa geeks still call these NIB files — old habits die hard. Besides that, have you ever tried to pronounce “XIB?” Furthermore, the NS that appears at the beginning of class names in Cocoa stands for NextStep, another historical tidbit in Cocoa left over from NeXT. When you first launch Interface

a tool for constructing ICNS icon files. You can use it to gather, in one ICNS file, all the possible sizes for a particular icon. You can find Icon Composer here: /Developer/Applications/Icon Composer To create your own ICNS file, you need an image-editing application, such as Adobe Photoshop, Photoshop Elements, Pixelmator, GIMP, or Graphic Converter. Then follow these steps: 1. In your image-editing application, create a new RGB (red, green, blue) document with dimensions of 512 x 512 pixels.

Photoshop image for use in an icon. Note the checkerboard pattern that appears in the background. It represents the transparent portion of the image. It will also be transparent when added to an icon in Icon Composer. After you complete the design and creation of your icon artwork, you can use Icon Composer to build an icon file: 1. Launch Icon Composer by double-clicking its icon in Finder. An empty icon template opens, as shown in Figure 5-13. 2. Drag the PNG image from Finder to the 512 x 512

.......................................................................................... 325 xvii xviii Cocoa Programming for Mac OS X For Dummies Chapter 18: Cocoa Bindings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .329 What Are Bindings? ..................................................................................... 330 Starting a Project with Bindings ................................................................ 331 Making Your Bindings Work: KVC and

Download sample

Download

About admin