https://bugzilla.novell.com/show_bug.cgi?id=643408
https://bugzilla.novell.com/show_bug.cgi?id=643408#c0 Summary: When creating property animations, you must use the obj-c name of the property, rather than the MT property name. Classification: Mono Product: MonoTouch Version: unspecified Platform: Other OS/Version: Other Status: NEW Severity: Major Priority: P5 - None Component: Runtime AssignedTo: [email protected] ReportedBy: [email protected] QAContact: [email protected] Found By: Customer Blocker: No If you want to create a property based animation, you must use the name of the property that is in the underlying obj-c object. for example, let's say i want to animation based on a layers "Position" property. i have to use the following: CAKeyFrameAnimation keyFrameAnimation = (CAKeyFrameAnimation)CAKeyFrameAnimation.FromKeyPath("position"); notice that the property name is lowercase "position" rather than "Position" it would be nice to not have to know the obj-c property names, and instead pass "Position" better yet, it would be super nice to remove the magic string altogether and pass the property directly (via an underlying lambda): CAKeyFrameAnimation keyFrameAnimation = (CAKeyFrameAnimation)CAKeyFrameAnimation.FromKeyPath(item.PropertyName); -- 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. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
