• 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: App fails on Yosemite - "Cannot remove an observer"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: App fails on Yosemite - "Cannot remove an observer"


  • Subject: Re: App fails on Yosemite - "Cannot remove an observer"
  • From: Kyle Sluder <email@hidden>
  • Date: Mon, 01 Dec 2014 12:54:17 -0800

On Dec 1, 2014, at 10:41 AM, Andreas Höschler <email@hidden> wrote:
>
> Hi Jerry and all,
>
>>> You should look for … overrides of superclass properties
>>
>> Yes, indeed.  Search for the AppKit Release Notes for OS X 10.10 Yosemite and carefully read the section on tab views, wherein Apple has added alot of new stuff, which may be stepping on your old stuff.
>
> Thanks!
>
> Adding
>
> #ifdef __APPLE__
> - (void)setWindow:(NSWindow *)window
> {
> }
> #endif
>
> to my GSScrollView : NSScrollView subclass fixed (or at least worked around) the issue (no exception anymore and no apparent malfunction of the app).

WOAAAAAHHHH. This is NOT the way to solve this problem! NSView and NSScrollView (may) do important work in -setWindow:! You just haven't noticed what you’ve broken yet.

--Kyle Sluder

_______________________________________________

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: App fails on Yosemite - "Cannot remove an observer"
      • From: Andreas Höschler <email@hidden>
References: 
 >Re: App fails on Yosemite - "Cannot remove an observer" (From: Andreas Höschler <email@hidden>)

  • Prev by Date: Re: Deployment Target
  • Next by Date: Re: App fails on Yosemite - "Cannot remove an observer"
  • Previous by thread: Re: App fails on Yosemite - "Cannot remove an observer"
  • Next by thread: Re: App fails on Yosemite - "Cannot remove an observer"
  • Index(es):
    • Date
    • Thread