• 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
Re: Question about NSArrayController
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Question about NSArrayController


  • Subject: Re: Question about NSArrayController
  • From: mmalc Crawford <email@hidden>
  • Date: Mon, 4 Jun 2007 00:20:49 -0700


On Jun 3, 2007, at 11:43 PM, Matthew Delves wrote:
On 04/06/2007, at 4:28 PM, mmalc Crawford wrote:
On Jun 3, 2007, at 11:14 PM, Matthew Delves wrote:
You are strongly recommended to gain more experience with Cocoa first before using bindings.
I learn best by jumping head first into it, though thanks for the warning.

This is more likely to end up in confusion and frustration...

I've been able to insert the data programmatically into the NSArrayController, though am having problems getting the data from an instance of the class.
What methods have you tried?
<http://developer.apple.com/documentation/Cocoa/Reference/ApplicationKit/Classes/NSArrayController_Class/Reference/Reference.html >


About a couple of minutes after sending the email I tried the arrangedObjects message and just cast the return value to an NSArray. This has worked fine, though am uncertain if this is the best way to go about doing things. Any suggestions about a better solution given the absolute nothing provided relating to the why/ what/how I'm using NSArrayController in my app?

Since you haven't said anything about what it is you're trying to achieve, it's impossible to know what to suggest.

mmalc

_______________________________________________

Cocoa-dev mailing list (email@hidden)

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


References: 
 >Question about NSArrayController (From: Matthew Delves <email@hidden>)
 >Re: Question about NSArrayController (From: mmalc Crawford <email@hidden>)
 >Re: Question about NSArrayController (From: Matthew Delves <email@hidden>)

  • Prev by Date: Custom preview for NSOpenPanel
  • Next by Date: [Moderator] List guidelines and related resources
  • Previous by thread: Re: Question about NSArrayController
  • Next by thread: Re: Question about NSArrayController
  • Index(es):
    • Date
    • Thread