• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Problems with NSOutlineView and NSDictionary
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Prev by Date: Re: NSDate: dates before the year 100
  • Next by Date: Re: Calling a class's methods from within it's +(void)initialize
  • Previous by thread: Re: Race Condition with NSPopUpButton.[Solved]
  • Next by thread: [Core Data - Newbie] predicateWithValue: ?
  • Index(es):
    • Date
    • Thread