• 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 loading data into NSTableView using a NSArrayController
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problems loading data into NSTableView using a NSArrayController


  • Subject: Problems loading data into NSTableView using a NSArrayController
  • From: deepak gopal <email@hidden>
  • Date: Wed, 26 Sep 2007 07:32:39 +0530 (IST)

Hi

I am using NSArrayController to load two columns of a table View and the method I am using is:

NSArrayController *tableViewController_;

- (void)loadArrayController {

// kPlistPath is the path to the plist file I am using. It has 100 Key-Value Pairs
  NSDictionary *plistDictionary = [NSDictionary dictionaryWithContentsOfFile:kPlistPath];

  NSMutableDictionary *newDictionary = [NSMutableDictionary dictionary];

  [newDictionary setValue:[plistDictionary allKeys] forKey:@"Methods"];

  [newDictionary setValue:[plistDictionary allValues] forKey:@"Address"];

  [tableViewController_ addObject:newDictionary];

}

I have till now managed to get a braket in each column.
What am I doing wrong? or how else should I do
 this?

Thank you
DG



      Unlimited freedom, unlimited storage. Get it now, on http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html/
_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Problems loading data into NSTableView using a NSArrayController
      • From: Shawn Erickson <email@hidden>
  • Prev by Date: Re: Convenience Methods
  • Next by Date: RE: Convenience Methods
  • Previous by thread: Re: NIB bug? Outlets = nil
  • Next by thread: Re: Problems loading data into NSTableView using a NSArrayController
  • Index(es):
    • Date
    • Thread