• 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: Setting wantsLayer = YES; crashes on view load.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Setting wantsLayer = YES; crashes on view load.


  • Subject: Re: Setting wantsLayer = YES; crashes on view load.
  • From: Kevin Ross <email@hidden>
  • Date: Mon, 1 Jun 2009 13:27:35 -0700

Thanks Michael,

I do have a few notifications registered throughout the app, but nothing that is connected with any of the CALayers or views. This seems to happen no matter which view or nib I use. I'm trying to see if I can isolate the notification that is causing the crash.



On Jun 1, 2009, at 12:07 AM, Michael Vannorsdel wrote:

Are you registering for any notifications? It looks like it's crashing while trying to notify an object.


On Jun 1, 2009, at 12:31 AM, Kevin Ross wrote:

Hi everyone, I have a Core Data document based app that I've been working on for a while and I now want to change some of the view drawing to use CALayers. The trouble I'm having is that when I set a view's wantsLayer = YES, I end up getting EXC_BAD_ACCESS. This happens when I try to set it on any arbitrary view in any of the nibs in my project, when setting it from code, or from clicking the checkbox in IB. I've tried new CALayer projects from scratch and they work fine, is there something I could have done to my project that would prevent me from setting a view's wantsLayer property to YES?

Thank you for taking time to read this.

_______________________________________________

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


_______________________________________________

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: Setting wantsLayer = YES; crashes on view load.
      • From: Kevin Ross <email@hidden>
References: 
 >Re: Setting wantsLayer = YES; crashes on view load. (From: Michael Vannorsdel <email@hidden>)

  • Prev by Date: Re: Several Questions
  • Next by Date: Re: How determine if file is in Trash, given Path or Alias
  • Previous by thread: Re: Setting wantsLayer = YES; crashes on view load.
  • Next by thread: Re: Setting wantsLayer = YES; crashes on view load.
  • Index(es):
    • Date
    • Thread