Bare Basics Articles
If you've been holding off on learning Objective-C because you didn't
like the idea of reading a whole book about C first, this tutorial is the
solution. If you know what a variable is and know what function is, we can
quickly get you up to speed on the subset of ANSI C that you need for use in Cocoa.
June 04, 2004
Today we'll talk about implementing delegates in our own classes. It's a relatively simple thing to do, but there are a couple gotchas that you have to watch out for. [
Tutorials: Bare Basics];
This tutorial shows you how to use Project Builder when learning to program. It covers creating a project, editing, compiling and debugging. [
Tutorials: Bare Basics];
This article discusses Cocoa's memory management: retain, release, alloc, init, copy. It discusses the general and gives a few examples, and should be a good "starting point" for new developers. [
Tutorials: Bare Basics];
When you first played with Interface Builder, you may have tried briefly to create an array or a dictionary, and given up in disgust. Apple in its wisdom has not, as of Mac OS X 10.1.5, seen fit to add support for these fundamental classes to IB, and it is usually possible to work around this oversight. [
Tutorials: Bare Basics];
It is very easy to implement a basic HTML help system in a Cocoa application. The Cocoa frameworks automatically provide your application with a help menu. This article is about hooking up your HTML help to work with that menu item. [
Tutorials: Bare Basics];
Implementing an "About Box" in Cocoa is very easy because Cocoa has a built-in "standard about panel" that is more than sufficient for most applications' needs and that does nearly all of the work for you. This tutorial describes how to use this standard about panel, including what types of information it needs and where to put this information in your application and in Project Builder. [
Tutorials: Bare Basics];
A short overview to providing a data source and customizing an NSTableView to your needs [
Tutorials: Bare Basics];
This tutorial is mostly an "in-comments" type of tutorial. You will learn best by downloading the source code and reading through it. The online tutorial simply gives an overview of the various pieces. [
Tutorials: Bare Basics];
This tutorial describes how to attach a drawer to a window. [
Tutorials: Bare Basics];
There are times where something shouldn't be lost after quitting your app. Cocoa provides an easy way to store persistent information, so learn about it. [
Tutorials: Bare Basics];
Have you ever used Objective-C and plain old C in the same file before? Odds are you have, but you didn't know it. This tutorial does... and you'll know it! The goal is to modify a registree's name to produce a unique code. [
Tutorials: Bare Basics];
Among the various new toys introduced to developers with Cocoa, "sheets" are perhaps the most useful. This tutorial steps you through creating a simple sheet, which you can thus adapt to your application. [
Tutorials: Bare Basics];
Learning C is a good first step before learning Java or Objective-C. Presented here are some references and links to help you learn C as well as some advice for people who are used to learning scripting languages like AppleScript, Lingo, or Hypertalk. [
Tutorials: Bare Basics];
Dictionaries are more complicated than arrays, but if you know them they can be powerful companions. [
Tutorials: Bare Basics];
Ever want to see how a loop is doing as it's running? Or whether a subroutine or if statement is actually executed? With NSLog, you can! Read this tutorial to find out more. [
Tutorials: Bare Basics];
Arrays can help storing lists of any data you want. Dynamic, static, whatever. [
Tutorials: Bare Basics];
Storage is one of the most common problems of programming. Cocoa solves this very well, so read this before you get caught in dynamic linked lists... [
Tutorials: Bare Basics];
The Model-View-Controller approach can take the sloppiness often found in other object-oriented languages when used properly. This article discusses "proper use as well as the general gist of MVC. [
Tutorials: Bare Basics];
This tutorial serves as a good introduction to the MVC model and Project Builder and Interface Builder. Build a nifty little app in only two lines of code. [
Tutorials: Bare Basics];