GNU GPL Controller Layer for Sets
GNU GPL Controller Layer for Sets
- Subject: GNU GPL Controller Layer for Sets
- From: Carl Gieringer <email@hidden>
- Date: Thu, 7 Apr 2005 02:48:44 -0800
Hello,
I have begun implementing an object which provides the controller layer
for NSMutableSet, just like NSArrayController does for NSMutableArray.
The best way I have thought of doing this so far was to make my
controller (ATSSetController) a subclass of NSObjectController and to
use an NSArrayController to do most of the work for me. I am having
difficulty getting an NSTableColumn to bind "value" correctly to my
object's "arrangedObjects" property, though. I think that anyone who
is intimate with NSTableColumn's "value" binding may be able to help me
out, but that is just my hunch. In short, I believe that
ATSSetController is presenting "arrangedObjects" correctly, and also
notifying its observers correctly, but an NSTableColumn does not seem
to populate its rows with objects from "arrangedObjects" even though
the column's "value" property is bound to the "arrangedObjects"
property of an ATSSetController.
The source for this project is available under the GNU GPL at the
following address:
http://gieringer.us/ATSSetController.dmg.sit
This image contains two projects: the ATSController palette (which
contains one palette object, ATSSetController) and a test project. You
should only need to build/load the palette if you want to modify
MainMenu.nib in the test project.
I intend to release all future versions of ATSSetController under the
GNU GPL. If you would like to contribute, please download the source
and feel free to send feedback to me; I will collect improvements into
my version. The test project has a descriptive README.html which
explains how ATSSetController should work, how the test project works,
and how ATSSetController presently misbehaves. The README is also
available at:
http://gieringer.us/software/atssetcontroller/atssetcontroller.php
This is my first time distributing source, so please inform me of any
problems you encounter working with the projects on this image. I
apologize for any difficulties.
-Carl
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden