wiki:MacPortsFramework

Version 4 (modified by cooljeanius (Eric Gallager), 10 years ago) (diff)

minor formatting and wording

The MacPorts Framework is a Cocoa Framework built around the MacPorts Tcl-based API. The goal of the Framework is to provide a responsive and fully-featured API to MacPorts for Cocoa developers with an emphasis on responsiveness for GUI developers.

Source Code

The source code for the Framework currently resides in source:contrib/MacPorts_Framework and can be checked out in subversion.

Installing

The Framework can be installed by installing the port MacPorts_Framework. Please note that since the Framework is still in development, developers might sometimes change it without also updating the version. You may want to uninstall, clean, and reinstall the port on a regular basis if you are experimenting with it.

Using

  1. Add this Framework to your project in XCode the same way you would add any other Framework.
  2. Add #import <MacPorts/MacPorts.h> to your header files
  3. Plug away!

Classes