• 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: Access to NSArrayController's NSMutableArray?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Access to NSArrayController's NSMutableArray?


  • Subject: Re: Access to NSArrayController's NSMutableArray?
  • From: mmalcolm crawford <email@hidden>
  • Date: Mon, 19 Jan 2004 10:38:15 -0800

On Jan 19, 2004, at 9:37 AM, Dave Sopchak wrote:

I replaced my NSMutableArray of guide stars with an NSArrayController. So far things have been great, I can do more with less code.

As in, you've replaced the array instance variable with a controller?
If so, you shouldn't do that. The controller is a controller -- it shouldn't become part of your model. You should therefore be able to modify the array contents much as you would have before, modulo you'll probably have to use indexed accessor methods to add/remove objects from the array (see archives).

mmalc
_______________________________________________
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: Access to NSArrayController's NSMutableArray?
      • From: Dave Sopchak <email@hidden>
References: 
 >Access to NSArrayController's NSMutableArray? (From: Dave Sopchak <email@hidden>)

  • Prev by Date: Re: Access to NSArrayController's NSMutableArray?
  • Next by Date: Chronological sort descriptor?
  • Previous by thread: Re: Access to NSArrayController's NSMutableArray?
  • Next by thread: Re: Access to NSArrayController's NSMutableArray?
  • Index(es):
    • Date
    • Thread