Hi to all,
I want to show in NSTableview some info.
I see in apple developer documents that it shows using bindings and NSArrayController but i don't get it work.
This is my situation :
@interface PersonsList : NSObject
{
NSMutableArray *persons;
NSString *city
}
@interface Person : NSObject
{
NSString *name;
NSString *zipCode;
NSString *address;
}
NSMutableArray persons is an array of person objects.
I want to show in NSTableview the info of Person Object i have in PersonsList NSMutableArray persons.
Thanks.
I want to show in NSTableview some info.
I see in apple developer documents that it shows using bindings and NSArrayController but i don't get it work.
This is my situation :
@interface PersonsList : NSObject
{
NSMutableArray *persons;
NSString *city
}
@interface Person : NSObject
{
NSString *name;
NSString *zipCode;
NSString *address;
}
NSMutableArray persons is an array of person objects.
I want to show in NSTableview the info of Person Object i have in PersonsList NSMutableArray persons.
Thanks.