• 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
NSArrayController and bindings
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSArrayController and bindings


  • Subject: NSArrayController and bindings
  • From: Rob Borsuk <email@hidden>
  • Date: Tue, 24 Feb 2004 14:56:18 -0500

Hi All,
I've been spending some time with NSArrayController (I would like to settle down with it and have kids but I keep getting the cold shoulder). Maybe someone could help point me in the right direction.
I would first like to use it in a Cocoa Application not a document based application. Is that okay? I love the table handling capabilities. So I started a new application. Put in an NSArrayController. Set object class as a NSMutableDictionary. This is perfect. Everything works good up to this point. Here's where the problems start.
I would like to be able to count the dictionary objects but it doesn't seem that NSArrayController (though using 'Array' in the name) has a 'count' method.
I would like to be able to write the "array" out as a text file (viola - plist) but it seems that it likes to save as a encoded format.
So I guess what all this is boiling down to is - Is there a way to treat an NSArrayController as a standard mutable array so I can do array sort of things. If there is a way or something in the masm archive I've missed please point me in the right direction.

Thanks
Rob

Rob Borsuk
email: email@hidden
Colourfull Creations
Web: http://www.colourfull.com
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: NSArrayController and bindings
      • From: mmalcolm crawford <email@hidden>
  • Prev by Date: Disappearing link back to the document
  • Next by Date: Re: New to Objective-C/Cocoa Programming
  • Previous by thread: Disappearing link back to the document
  • Next by thread: Re: NSArrayController and bindings
  • Index(es):
    • Date
    • Thread