• 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
Accessing objects in NSMutableArray directly or using the NSArrayController?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Accessing objects in NSMutableArray directly or using the NSArrayController?


  • Subject: Accessing objects in NSMutableArray directly or using the NSArrayController?
  • From: Mikael Wämundson <email@hidden>
  • Date: Wed, 3 Dec 2008 00:48:51 +0100

Hi all!

In my project I'm using instances of NSMutableArray containing various objects. The arrays are used in the user interface through NSArrayControllers with binding. In IB I'm thus accessing the objects in the array through the controller.

In the code I have access to the array contents both through instances of the controllers and instances of the arrays. In my code, when do I use what? What is good programming? For example when sorting the array contents, adding objects, changing values for objects in the array…

Thanks!

/wamund_______________________________________________

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: Accessing objects in NSMutableArray directly or using the NSArrayController?
      • From: Ken Thomases <email@hidden>
  • Prev by Date: NSImageView antialiasing when scaling up images
  • Next by Date: Problems with custom handling of open AppleEvent
  • Previous by thread: Re: NSImageView antialiasing when scaling up images
  • Next by thread: Re: Accessing objects in NSMutableArray directly or using the NSArrayController?
  • Index(es):
    • Date
    • Thread