• 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
coredata 80 KVO problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

coredata 80 KVO problem


  • Subject: coredata 80 KVO problem
  • From: Mu Lin <email@hidden>
  • Date: Wed, 6 Sep 2006 10:11:27 -0700

Here is a bug report I sent to apple, does anyone has the same problem?

Summary:

remove newly created nsmanaged object through nsarray controller will cause KVO's new value as nsnull in coredata version 80, but it is ok for coredata 1.0.

Steps to Reproduce:

1. The sample code Stickies in /Developer/Examples/CoreData
2. append following  code in the end of awakeFromInsert in Sticky.m
               [self addObserver:self
                      forKeyPath:windowFrameKey
                      options:NSKeyValueObservingOptionNew
                      context:NULL];
3. remove the Stickies.xml in application support folder.
4. build and go
5. open one or two window using file->new
6. close on of the window

And you will notice exception is raised due to nsnull change value.

Regression:
coredata 1.0 in Mac OS X 10.4.2 is ok, but coredata 80 in Mac OS X 10.4.7 is not


_______________________________________________
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


  • Prev by Date: Re: NSRunAlertPanel, Correct Usage
  • Next by Date: Re: NSRunAlertPanel, Correct Usage
  • Previous by thread: Re: CoreData issue
  • Next by thread: Newbie problem with NSMutableArray
  • Index(es):
    • Date
    • Thread