• 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: NSArrayController, only refreshes after mouse moves random key
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSArrayController, only refreshes after mouse moves random key


  • Subject: Re: NSArrayController, only refreshes after mouse moves random key
  • From: Alexander Reichstadt <email@hidden>
  • Date: Thu, 26 Feb 2009 12:34:13 +0100


On 26.02.2009, at 12:30, Alexander Reichstadt wrote:

Hi,

I try to change a string from the default value to a specific value when a new object is inserted. I observe the NSArrayController that in turn is bound to a table view.
Correction, I observe the managedObjectContext with NSManagedObjectContextObjectsDidChangeNotification



It has been impossible so far to get the value to reliably be changed upon insertion every time.

I am observing the contextDidChange notification but that doesn't get posted every time. Most times it does get posted, and sometimes it doesn't. When I hit the add key bound to my array controller, I see the entry being added, and in those cases where it doesn't get posted when I then move the mouse, it does get triggered too. Why doesn't it always get triggered?

Thanks
Alex


_______________________________________________

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

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

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: 
 >NSArrayController, only refreshes after mouse moves random key (From: Alexander Reichstadt <email@hidden>)

  • Prev by Date: NSArrayController, only refreshes after mouse moves random key
  • Next by Date: Re: One IBAction, multiple results from multiple methods
  • Previous by thread: NSArrayController, only refreshes after mouse moves random key
  • Next by thread: noobie mem management problem
  • Index(es):
    • Date
    • Thread