• 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: Matthew Delves <email@hidden>
  • Date: Mon, 4 Jun 2007 16:43:27 +1000


On 04/06/2007, at 4:28 PM, mmalc Crawford wrote:


On Jun 3, 2007, at 11:14 PM, Matthew Delves wrote:

I'm beginning to play around with cocoa and have some data stored in an NSArrayController object.

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.



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?


mmalc


Thanks, Matthew Delves

Attachment: PGP.sig
Description: This is a digitally signed message part

_______________________________________________

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

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

  • Prev by Date: Re: Question about NSArrayController
  • Next by Date: Re: Cocoa controls on top of an OpenGL view
  • Previous by thread: Re: Question about NSArrayController
  • Next by thread: Re: Question about NSArrayController
  • Index(es):
    • Date
    • Thread