/B

A C++ application framework for Mac OS X.

Primary LanguageC++

B was a C++ application framework for Mac OS X, written on top of the Carbon APIs rather than Cocoa which is the norm nowadays.

I worked on it off and on for a few years. Prior to uploading it to GitHub, I last touched it around 2006. The project's raison d'être was to allow me to tinker with various concepts that interested me at the time. For example:

  • Applying the ideas of template metaprogramming, as popularized by the book Modern C++ Design.
  • Design a framework using modern (at the time) concepts such as :
  • Systematic use of exceptions for error detection and propagation
  • Systematic use of the RAII pattern for controlling resource lifetime.
  • Good support for Apple Events, including recording.
  • Some ideas brought over from Cocoa, such as the Undo system.

Please note that the framework was written prior to C++ 11, so it doesn't use any of its nifty features, such as lambdas.

The original documentation can be found here.

This project is made available for historical purposes. I'd be very surprised if much of it compiled on today's systems.