[Mono-bugs] [Bug 553888] New: CABasicAnimation.FromValuePath should return back a CABasicAnimation Object.
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Mon Nov 9 14:40:23 EST 2009
http://bugzilla.novell.com/show_bug.cgi?id=553888
Summary: CABasicAnimation.FromValuePath should return back a
CABasicAnimation Object.
Classification: Mono
Product: MonoTouch
Version: unspecified
Platform: Macintosh
OS/Version: Mac OS X 10.6
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Class Libraries
AssignedTo: gnorton at novell.com
ReportedBy: chrisntr at gmail.com
QAContact: mono-bugs at lists.ximian.com
Found By: ---
Created an attachment (id=326336)
--> (http://bugzilla.novell.com/attachment.cgi?id=326336)
Zipped up MD project with code above in.
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
Currently CABasicAnimation.FromValuePath returns a CAPropertyAnimation object
when it should be a CABasicAnimation object so it exposes properties such as
"From" and "To".
See example of CABasicAnimation getting used here:
http://developer.apple.com/iphone/library/documentation/Cocoa/Conceptual/Animation_Types_Timing/Articles/PropertyAnimations.html
Cheers.
Reproducible: Always
Steps to Reproduce:
CABasicAnimation animation = CABasicAnimation.FromKeyPath("position.y");
animation.From = NSNumber.FromFloat(4f);
Actual Results:
CABasicAnimation animation = CABasicAnimation.FromKeyPath("position.y");
Compile error due to animation being a CAPropertyAnimation and not
CABasicAnimatino.
Expected Results:
Should compile and CABasicAnimation.FromKeyPath should return a
CABasicAnimation object.
--
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