Fwd: Using static NSString as observation context

  • oops meant to copy the list...

    On Sat, May 17, 2008 at 6:59 AM, Christiaan Hofman <cmhofman...> wrote:
    > I have recently changed some KVO observation code to us a static NSString as
    > the context when registering as KVO observation. However now that seems to
    > have introduced a crasher when removing the observer, at least on a Core Duo
    > Intel machine. PPC does not seem to have any problem. So is there some
    > problem using NSStrings as observation context for Intel? The Sketch sample
    > code also uses those.

    Can you be more specific about the crash you are seeing? (backtrace, etc.)

    Are you removing the observation of the same key more then once? I
    have seen a over release bug in the Cocoa framework in situations like
    this (trying to locate my information on that issue...).

    -Shawn
previous month may 2008 next month
MTWTFSS
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31  
Go to today