In article <google.com>,
net (jimcath) wrote:
You'd be off using the free Boost Graph Library, from
<http://boost.org>. It is C++, so you'd interface to it in files with a
..mm suffix, so they can contain both objective-C and C++. Have a pure
Objective-C user interface, a pure C++ model, and your "controller"
glues them together, reflecting the state of the model in the U.I, and
reflecting changes to the U.I. down to changes in the model.
Boost Graph Library is wonderful: it uses iterators as adapters so that
you separate graph algorithms from data structures. It comes with
multiple data structures for representing graphs, and directions for
adapting arbitrary data structures for use with it. There is a book,
published by Addison Wesley, written by Siek, Lee & Lumsdaine on it.