[Mono-bugs] [Bug 554744] New: Adding a custom CALayer from extended class crashes.

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Nov 11 18:02:21 EST 2009


http://bugzilla.novell.com/show_bug.cgi?id=554744


           Summary: Adding a custom CALayer from extended class crashes.
    Classification: Mono
           Product: MonoTouch
           Version: unspecified
          Platform: Macintosh
        OS/Version: Mac OS X 10.6
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Runtime
        AssignedTo: gnorton at novell.com
        ReportedBy: chrisntr at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


Created an attachment (id=326975)
 --> (http://bugzilla.novell.com/attachment.cgi?id=326975)
Custom CALayer Example

User-Agent:       Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-GB;
rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5

I've created a ExampleLayer which inherits CALayer.
When trying to add the custom layer as a Sublayer - it crashes with this error:
https://gist.github.com/9920c3758408e1d44d73

I've attached the project/bug in question. 

Reproducible: Always

Steps to Reproduce:
1. Run project
Actual Results:  
Program crashes

Expected Results:  
Layer to be added as a sublayer - uncomment code as an example of how the layer
should look.

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list