Hi,

   NSArray *selectedRow = [treeController selectedObjects];

you get an NSArray -> so you should enumerate through the objects of the array

   NSInteger childrenCount = [selectedRow.children count];

Does not get the children count of anything but the NSArray, which it doesn't have. You should get a warning when compiling. Something along struct or union doesn't blah, blah blah.

Told you before: Read the warnings and try to understand them.

Cheers,
Volker


_______________________________________________

Cocoa-dev mailing list ([email protected])

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]

Reply via email to