Hi,
I'm kind of stupid today, my question is probably very easy to answer.
I haven't been in programming for some time and somehow cannot manage
solution for my following simple problem..
I got an array 'peeps' populated in apps delegate:
peeps = [[NSArray arrayWithArray:[[ABAddressBook sharedAddressBook]
people]] retain];
I created an ABPerson category to get lastName easily...
- (NSString*) lastName
{
return [self valueForProperty:kABLastNameProperty];
}
and I'm trying to display all last names in the table.
- I created NSArrayController ABPeople and set content to my delagate,
key path: peeps
- I bound table content to ABPeople, controller key: arrangedObjects
- I bound table column value to ABPeople, controller key:
arrangedObjects, model key path: lastname
and my table becomes full of empty rows (I got 380 addresses in AB, so
I expect I got 380 empty rows in table). What am I missing?
Thanks in advance
Robert
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]