• 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: controller question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: controller question


  • Subject: Re: controller question
  • From: Quincey Morris <email@hidden>
  • Date: Thu, 29 Sep 2011 09:42:11 -0700

On Sep 29, 2011, at 08:20 , Ariel Feinerman wrote:

>> 2011/9/28 Ariel Feinerman:
>>
>> I try to expline the problem. There is m_array (M) loaded from the file in the one nib, then there is other two view controllers' nibs (C) with views (V). One of them uses array controller to show and delete only, when the other is used for insertion only throw dragging therefor  no need in controller.
>
> sorry for repost, how to safely insert objects in m_array?
>

>> 2011/9/28 Quincey Morris:
>>
>> If you want to add or remove objects from m_array programmatically, then use the various [NSArrayController addObject…], [NSArrayController removeObject…], [NSArrayController insertObject…] methods.
_______________________________________________

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

References: 
 >controller question (From: Ariel Feinerman <email@hidden>)
 >Re: controller question (From: Quincey Morris <email@hidden>)
 >Re: controller question (From: Keary Suska <email@hidden>)
 >Re: controller question (From: Quincey Morris <email@hidden>)
 >Re: controller question (From: Ariel Feinerman <email@hidden>)
 >Re: controller question (From: Quincey Morris <email@hidden>)
 >Re: controller question (From: Ariel Feinerman <email@hidden>)
 >Re: controller question (From: Quincey Morris <email@hidden>)
 >Re: controller question (From: Ariel Feinerman <email@hidden>)

  • Prev by Date: Re: Cleaning up a window with blocks
  • Next by Date: Re: NSDocument-oriented app and -keydown
  • Previous by thread: Re: controller question
  • Next by thread: Re: controller question
  • Index(es):
    • Date
    • Thread