• 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: Problem with Core-Data relationship
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem with Core-Data relationship


  • Subject: Re: Problem with Core-Data relationship
  • From: mmalcolm crawford <email@hidden>
  • Date: Fri, 26 Aug 2005 10:36:56 -0700


On Aug 25, 2005, at 1:20 PM, guillaume garcera wrote:

My problem is when i add a bug to a project the inverse relationship is not set to the project.

In BMBug, you override - (void)didChangeValueForKey:(NSString *)key but don't call super.


Add:
	[super didChangeValueForKey:key];
as the first line of the method...

- (void)didChangeValueForKey:(NSString *)key {
    [super didChangeValueForKey:(NSString *)key];
    NSLog(@"%@ key change", key);
    // ...

mmalc

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Problem with Core-Data relationship (From: guillaume garcera <email@hidden>)

  • Prev by Date: Possible CoreData Bug and NSPersistentStoreSaveError Problem
  • Next by Date: Re: Possible CoreData Bug and NSPersistentStoreSaveError Problem
  • Previous by thread: Problem with Core-Data relationship
  • Next by thread: Apple Type Server (ATS) causing crashes?
  • Index(es):
    • Date
    • Thread