Problems with NSOutlineView and NSDictionary
Problems with NSOutlineView and NSDictionary
- Subject: Problems with NSOutlineView and NSDictionary
- From: email@hidden
- Date: Tue, 2 Aug 2005 15:19:38 +0200
I can't insert values into an OutlineView if I create an NSDictionary
from some Objects like NSString:
EXAMPLE 1 - IT DOESN'T WORK
----------------------------------------------
NSString *title = [[NSMutableString alloc] init];
[title setString: @"EXAMPLE"];
NSDictionary *tempDict = [NSDictionary dictionaryWithObjectsAndKeys:
title, @"title", nil];
EXAMPLE 2 - IT WORKS
----------------------------------
NSDictionary *tempDict = [NSDictionary dictionaryWithObjectsAndKeys:
@"EXAMPLE", @"title", nil];
_______________________________________________
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