Multithreading versus Multiprocessing in Mac OS X.
Multithreading 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 tutorialTHE TUTORIAL LIBRARY
Multithreading 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 tutorialThe CFFTP API is similar to the CFHTTP API, and relies on read streams to transmit FTP data. To create an FTP request, use the CFReadStreamCreateWithFTPURL function, as shown below
Read tutorialYou can use the CFHTTP API to create an HTTP request. This allows you to easily invoke HTTP GET, HEAD, PUT, POST, and most other standard requests. Creating a request involves the
Read tutorialApple came up with an elegant way to contain applications in their operating system. As OS X is a Unix-based platform, Apple wanted to make it adhere to basic Unix file conventions
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 tutorialThe story of Cocoa starts with a delightful bit of history. Once upon a time, two guys named Steve started a company called Apple Computer in their garage. The company grew rapidly
Read tutorialAll the tools for Cocoa development come as part of the Mac OS X Developer Tools, and you get them for free with Mac OS X. Although the developer tools will add about a dozen handy
Read tutorialOne example today. A better developer tomorrow.