SOLVED: Using NSArrayController programmatically in library class

2008-09-06 Thread dreamcat7
Hi, I have now solved my problem by writing a sample project. Here is the solution: // // MyDocument.h // Arrays // // Created by id on 06/09/2008. // Copyright dreamcat7 2008 . All rights reserved. // #import @interface MyDocument : NSDocument { NSMutableArray* items; N

Re: Using NSArrayController programmatically in library class

2008-09-06 Thread dreamcat7
Can i bind arrayController.contentArray to employees.name ? or bind arrayController.contentArray to employees and then bind an NSMutableArray to arrayController.arrangedObjects.name ? On 6 Sep 2008, at 14:03, dreamcat7 wrote: Hi I am extending a library class which is also one of my applica

Using NSArrayController programmatically in library class

2008-09-06 Thread dreamcat7
Hi I am extending a library class which is also one of my application's model objects. The Library class contains an NSMutableArray of NSData which it absolutely needs to perform its tasks. To extend the class i must now also hold metadata about each NSData object in the array (i.e. the e