Quantcast

Michael Beam 
See more by this person.



Articles:

The Cocoa Controller Layer
The controller layer is the confluence of several new and existing Cocoa technologies, including key-value coding, key-value observing, and key-value binding. In this tutorial, Mike Beam returns for a guest appearance to discuss NSController. Apr. 6, 2004

Networking in Cocoa
Now that he's returned from his book writing hiatus, Mike Beam shows you how to finish off the RCE chat program he started several columns ago. May. 13, 2003

Networking and the BSD Sockets API
Mac OS X is a wonderful platform for learning about networking, since it has such a rich set of APIs to offer -- in particular, the venerable BSD sockets API. In this article, you'll learn about this API, and in doing so, you'll write a tiny pair of C applications that demonstrate how clients and servers can be configured to talk to one another. Dec. 27, 2002

Incorporating Rendezvous into Your Cocoa Applications, Part 2
In Part 1 of this series, Mike Beam explained how ZeroConf networking provides solutions to addressing, naming, and service discovery hurdles. Now in Part 2, you roll up your sleeves and build your own iChat-like client in Cocoa. Nov. 15, 2002

Incorporating Rendezvous into Your Cocoa Applications, Part 1
ZeroConf networking provides solutions to addressing, naming, and service discovery that conspire to make IP networking as easy to use as AppleTalk. In part 1 in this series, Mike Beam explains how Rendezvous works and shows you its hooks into Cocoa. Nov. 8, 2002

Plug It In, Plug It In
Learn how to implement a plug-in architecture for ImageApp using Objective-C. Oct. 15, 2002

A Look Inside Address Book
This week Mike Beam takes a break from exploring graphics in Cocoa and takes a look at the AddressBook framework in Jaguar. There's a wealth of functionality for programmers who want to tap this data for their applications. Aug. 27, 2002

Bitmap Image Filters
This column reenters the realm of Cocoa graphics with a look at how to work with bitmap images on a pixel basis. Cocoa represents bitmap images using the NSImageRep subclass called NSBitmapImageRep. This subclass can work with data formats for many file types: TIFF, GIF, JPEG, PNG, BMP, and even raw, untagged data. Aug. 6, 2002

Adding Spit and Polish to Your Cocoa App
A look at two of NSApplication's delegate methods, plus a discussion about how to control the document window's title to display arbitrary information. And finally, how to endow ImageApp with a customized "about" panel. Jun. 14, 2002

All About the Little Green Glob
Polish your Cocoa applications by implementing intelligent "zoom" buttons at the top of the windows. Mike Beam shows you how. May. 17, 2002

Working With Bitmap Images; Document-Based Application Redux
Roll up your sleeves for this comprehensive tutorial that shows you an elegant way to build an image viewer from scratch in Cocoa. In subsequent columns, Mike Beam will add functionality to this app to make it an image editor. Apr. 19, 2002

Creating Toolbars for Mac OS X
Mac OS X toolbars are a great addition to Apple's GUI. Mike Beam takes you on an in-depth journey into their realm and explains how they work and how to create your own. Mar. 15, 2002

Cocoa Diversions; More on Views
This week Mike Beam looks at two Aqua enhancements—-one seemingly frivolous and the other not. What are they? Animated window resizing and drawers.  Feb. 15, 2002

Movies and Menus
A look at how to incorporate QuickTime media into Cocoa applications, plus a few words about menus, including dock menus. Jan. 25, 2002

Animating Graphics in Cocoa, Part 1
In his latest column, Mike Beam shows you how to put your Cocoa graphics in motion and introduces you to several new classes, including NSAffineTransform, NSTimer, and NSThread, as well as a new method of an old class, NSBezierPath. Jan. 4, 2002

Building a Scratch Pad with Cocoa
As Mike Beam continues his journey into the world of Cocoa graphics, he takes a look at how NSView objects can respond to mouse and keyboard events, which is useful for letting users interact with objects onscreen.  Nov. 30, 2001

Introduction to Cocoa Graphics, Part 2
In his previous column, Mike Beam explained the tools for drawing simple objects in Cocoa. This week, he explores more complicated shapes using Bezier curves, and shares some hands-on examples for you to experiment with. Nov. 6, 2001

Introduction to Cocoa Graphics
You can draw 2D shapes and even create animations directly in Cocoa. Mike Beam shows you how to implement NSRect, NSSize, and NSPoint in his latest column. Oct. 19, 2001

Working with Sheets in Cocoa
A feature of Mac OS X is a new way to handle dialog boxes, called sheets. This is a special kind of window that is actually attached to another window. This article explores two different ways to implement sheets in Cocoa. Oct. 5, 2001

Adding a Preferences Window to Your Application
Up to this point, this column's Cocoa projects have been single window applications. This week we'll delve into the multi-window world by adding a Preferences window, which is a staple of any application. Sep. 17, 2001

Mac OS X's Preferences System (and More!)
After tying up a few loose ends from the previous column on "Writing an Address Book Application" in Cocoa, this article will explore a couple ways to save the data for the address book program between launches, and then examine memory management issues and Mac OS X's preferences system. Aug. 24, 2001

Working with Tables: Writing an Address Book Application
Database tables are used to organize and display information. Mike Beam discusses how to use tables in Cocoa by showing you how to build an address book application. Aug. 10, 2001

Memory Management in Objective-C
The goal of memory management is to keep your application running like a well-oiled machine. Mike Beam discusses how to reduce memory leaks and keep your application from becoming a sluggish mess. Jul. 27, 2001

Strings in Cocoa, Part 2
A detailed look at NSString's path manipulation tools, and NSString's subclass, NSMutableString, which allows us to create strings with content that can be edited after their creation -- something not possible with NSString alone. Part 2 of a two-part series on strings in Cocoa. Jul. 13, 2001

Strings in Cocoa: Part I
Mike Beam takes a look at the two classes that make up the majority of Cocoa's string-handling ability -- NSString and NSMutableString -- and includes a peek at various ways to create strings.  Jun. 29, 2001

Creating a Color Meter Using Cocoa
Here's how to create a simple Cocoa app that allows you to explore interfaces and obtain information from user controls. The color meter consists of four sliders, four text fields, and one color well. Jun. 15, 2001

Giving the Simple Text Editor 'Legs'
This week, in part two of a two-part series, Mike Beam shows you how to complete your text editor project in Cocoa. Jun. 1, 2001

Build Your First Cocoa App
Now the fun begins. This week, Mike Beam shows you how to build your first Cocoa application -- and it's not just a "Hello, World" screen -- it's a real text editor. May. 18, 2001

The Objective-C Language
In this third installment of Programming With Cocoa, Mike Beam explains how to send messages to objects, as well as other basics of Objective-C authoring. May. 4, 2001

Talking About Life With Mac OS X
A pilot installment of a new series called "Writers' Talk" where O'Reilly Network editor Derrick Story chats with Network columnists on AIM about Mac OS X. Apr. 27, 2001

Components of Object-Oriented Programming
Mike Beam describes the OOP components used in Mac OS X's Cocoa programming environment -- including classes, message passing, inheritance, encapsulation, and polymorphism. Apr. 20, 2001

Digging Deeper into Mac OS X
Cocoa is the native Mac OS X developer environment. The tools are solid, and with them you can begin writing OS X applications. This is the introduction to O'Reilly's Cocoa column that will run regularly on the Mac DevCenter. Apr. 6, 2001