Printing in Mac Cocoa Programming
Compared to most operating systems, Mac OS X makes writing print routines considerably easier. After all, your views already know how to generate PDF, and Mac OS X knows how to pri
Read tutorialTHE TUTORIAL LIBRARY
Compared to most operating systems, Mac OS X makes writing print routines considerably easier. After all, your views already know how to generate PDF, and Mac OS X knows how to pri
Read tutorialWeb services are simply an HTTP request and response whereby each may be carrying XML data. So using a Web service from Cocoa is simply a matter of being able to send HTTP requests
Read tutorialSometimes, you will want to have an object pointer that should point to that object as long as it exists, but you do not want that pointer to prevent the garbage collector from dea
Read tutorialAs long as you use only Objective-C objects, the garbage collector will do exactly what you want, without your needing to think about it. However, as soon as you start to malloc C
Read tutorialNSOpenGLView is an NSView subclass that has an OpenGL drawing context. Just as you needed the focus locked on a view to do drawing with Quartz, so the OpenGL drawing context must b
Read tutorialMultithreading gets a lot of hype because it enables you to take advantage of multiple processors and cores. Multithreading can also ensure that your application stays responsive w
Read tutorialYou can use the /usr/bin/zipinfo tool for looking at the contents of a zip file. Find a zip file on your machine, and try running zipinfo in the Terminal like this (-1 is dash-one,
Read tutorialThe zipinfo tool gives a listing of files in a zip file. You can get a similar listing for tar files by using the command line tar:
Read tutorialLet's briefly discuss the chronology of an application: When the process is started, it runs the NSApplicationMain function, which creates an instance of NSApplication. The applica
Read tutorialA framework is a collection of classes that are intended to be used together. In other words, the classes are compiled together into a reusable library of code. Any related resourc
Read tutorialWhat is an object? An object is like a C struct: It takes up memory and has variables inside it. The variables in an object are called instance variables. So when dealing with obje
Read tutorialObjective-C is a simple and elegant extension to C, and mastering it will take about two hours if you already know C and an object-oriented language, such as Java or C++.
Read tutorialOne example today. A better developer tomorrow.