• 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
NSDocument updateChangeCount when using Bindings
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSDocument updateChangeCount when using Bindings


  • Subject: NSDocument updateChangeCount when using Bindings
  • From: Kevin Bracey <email@hidden>
  • Date: Fri, 7 Jan 2011 15:01:50 +1300

After hours of searching I have to presume I'm doing something wrong or missing something obvious, as no one else has this simple problem:-)
OS X 10.6.6 NSDocument Application.

MyDocument has a
iVar = NSMutableArray *allScenes;
@property( retain ) NSMutableArray *allScenes;
@synthesize allScenes;

In my nib I have a ArrayController bound to allScenes and it is hooked up to a Table and and selected Fields, it is adding and editing my Scene Objects great.

I have these Saving and Loading from a Package using NSKeyArchiver, working great.

How do I get the [MyDocument updateChangeCount:NSChangeDone]; to be called when I add or delete a allScenes object or edit one of there properties?

Thanks
Kevin_______________________________________________

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: NSDocument updateChangeCount when using Bindings
      • From: Quincey Morris <email@hidden>
    • Re: NSDocument updateChangeCount when using Bindings
      • From: Markus Spoettl <email@hidden>
  • Prev by Date: Re: Stupid png icons
  • Next by Date: Thumbs Lists
  • Previous by thread: Re: [SOLVED] Unresponsive CFMessagePort
  • Next by thread: Re: NSDocument updateChangeCount when using Bindings
  • Index(es):
    • Date
    • Thread