Bare Basics Articles

C Language Tutorial for Cocoa

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

Extend with Delegates

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];
Posted by Brad Miller on June 27, 2003 [Feedback (12) & TrackBack (0)]

Learn C with Project Builder

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];
Posted by Brad Miller on November 16, 2002 [Feedback (30) & TrackBack (0)]

Memory Management 101

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];
Posted by Erik J. Barzeski on November 10, 2002 [Feedback (9) & TrackBack (0)]

Using Foundation Collections in Interface Builder

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];
Posted by Submission on July 14, 2002 [Feedback (0) & TrackBack (0)]

Implementing A Basic HTML Help System Under Cocoa

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];
Posted by Submission on June 02, 2002 [Feedback (1) & TrackBack (0)]

Implementing Cocoa's Standard About Panel

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];
Posted by Submission on May 01, 2002 [Feedback (2) & TrackBack (0)]

Getting Started With NSTableView

A short overview to providing a data source and customizing an NSTableView to your needs [Tutorials: Bare Basics];
Posted by Submission on February 09, 2002 [Feedback (9) & TrackBack (0)]

All Purpose App #1

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];
Posted by Erik J. Barzeski on November 13, 2001 [Feedback (4) & TrackBack (0)]

How to Use Drawers

This tutorial describes how to attach a drawer to a window. [Tutorials: Bare Basics];
Posted by Brian Christensen on October 03, 2001 [Feedback (0) & TrackBack (0)]

Saving Preferences

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];

Make a Registration Code App

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];

Building Easy Sheets

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];

Advice on Learning C

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];
Posted by Submission on March 20, 2001 [Feedback (3) & TrackBack (0)]

The Storage Series, Part Three

Dictionaries are more complicated than arrays, but if you know them they can be powerful companions. [Tutorials: Bare Basics];
Posted by Andy Monitzer on March 17, 2001 [Feedback (0) & TrackBack (1)]

Use NSLog to Your Advantage

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];

The Storage Series, Part Two

Arrays can help storing lists of any data you want. Dynamic, static, whatever. [Tutorials: Bare Basics];
Posted by Andy Monitzer on March 07, 2001 [Feedback (0) & TrackBack (1)]

The Storage Series, Part One

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];
Posted by Andy Monitzer on March 07, 2001 [Feedback (0) & TrackBack (1)]

Model, View, Controller

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];
Posted by Erik J. Barzeski on February 27, 2001 [Feedback (3) & TrackBack (1)]

Two Lines of Code

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];
Posted by Erik J. Barzeski on February 27, 2001 [Feedback (16) & TrackBack (1)]