[Mono-bugs] [Bug 671111] New: Can't override CALayer:NeedsDisplayForKey as it is marked static

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Feb 10 17:32:42 EST 2011


https://bugzilla.novell.com/show_bug.cgi?id=671111

https://bugzilla.novell.com/show_bug.cgi?id=671111#c0


           Summary: Can't override CALayer:NeedsDisplayForKey as it is
                    marked static
    Classification: Mono
           Product: MonoTouch
           Version: unspecified
          Platform: Other
        OS/Version: Apple iOS 4.2
            Status: NEW
          Severity: Major
          Priority: P5 - None
         Component: Class Libraries
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: robblackadder at yahoo.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: Development
           Blocker: Yes


Description of Problem:
Can't override CALayer:NeedsDisplayForKey as it is marked static.

The documentation states:
"Subclasses should override this method and return true if the layer should be
redisplayed when the value of the specified attribute changes. Animations
changing the value of the attribute will also trigger redisplay."

That is what I need to do.

Steps to reproduce the problem:
1. sub class CALayer  -> MyLayer : CALayer
2. try and override NeedsDisplayForKey
3. you can't because it is static


Actual Results:
Can't override

Expected Results:
Can override

How often does this happen? 
every time

Additional Information:

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


More information about the mono-bugs mailing list