18
18
<summary>Defines the pacing of an animation.</summary>
19
19
<remarks>To be added.</remarks>
20
<related type="sample" href="http://samples.xamarin.com/Samples/ByGuid?guid=afab3ce5-a98f-43d8-a981-c803ca8b9738">Example_CoreAnimation</related>
21
<related type="sample" href="http://samples.xamarin.com/Samples/ByGuid?guid=109bd2a4-3437-4919-b556-3b44433ccc70">ViewTransitions</related>
22
24
<Member MemberName=".ctor">
67
72
<AssemblyVersion>0.0.0.0</AssemblyVersion>
76
<AttributeName>System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)</AttributeName>
70
80
<Parameter Name="t" Type="MonoMac.Foundation.NSObjectFlag" />
73
83
<param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
74
<summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
84
<summary>Constructor to call on derived classes when the derived class has an [Export] constructor.</summary>
76
<para>This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the NSObject. This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object. When you invoke the constructor that takes the NSObjectFlag.Empty you taking advatnage of a direct path that goes all the way up to NSObject to merely allocate the object's memory and bind the Objective-C and C# objects together. The actual initialization of the object is up to you.</para>
77
<para>This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place. Once the allocation has taken place, the constructor has to initialize the object. With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.</para>
78
<para>It is your responsability to completely initialize the object if you chain up using the NSObjectFlag.Empty path.</para>
79
<para>In general, if your constructors invokes the NSObjectFlag.Empty base implementation, then it should be calling an Objective-C init method. If this is not the case, you should instead chain to the proper constructor in your class. </para>
80
<para>The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic NSObject allocation and runtime type registration. Typically the chaining would look like this:</para>
86
<para>This constructor should be called by derived classes when they are initialized using an [Export] attribute. The argument value is ignore, typically the chaining would look like this:</para>
84
// The NSObjectFlag merely allocates the object and registers the
85
// C# class with the Objective-C runtime if necessary, but no actual
86
// initXxx method is invoked, that is done later in the constructor
88
// This is taken from MonoMac's source code:
90
[Export ("initWithFrame:")]
91
public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
93
// Invoke the init method now.
94
var initWithFrame = new Selector ("initWithFrame:").Handle;
96
Handle = MonoMac.ObjCRuntime.Messaging.IntPtr_objc_msgSend_RectangleF (this.Handle, initWithFrame, frame);
98
Handle = MonoMac.ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_RectangleF (this.SuperHandle, initWithFrame, frame);
89
public class MyClass : BaseClass {
90
[Export ("initWithFoo:")]
91
public MyClass (string foo) : base (NSObjectFlag.Empty)
163
163
<remarks>Each MonoMac class mirrors an unmanaged Objective-C class. This value contains the pointer to the Objective-C class, it is similar to calling objc_getClass with the object name.</remarks>
166
<Member MemberName="Default">
167
<MemberSignature Language="C#" Value="public static MonoMac.Foundation.NSString Default { get; }" />
168
<MemberSignature Language="ILAsm" Value=".property class MonoMac.Foundation.NSString Default" />
169
<MemberType>Property</MemberType>
171
<AssemblyVersion>0.0.0.0</AssemblyVersion>
174
<ReturnType>MonoMac.Foundation.NSString</ReturnType>
177
<summary>To be added.</summary>
178
<value>To be added.</value>
179
<remarks>To be added.</remarks>
166
182
<Member MemberName="EaseIn">
167
183
<MemberSignature Language="C#" Value="public static MonoMac.Foundation.NSString EaseIn { get; }" />
168
184
<MemberSignature Language="ILAsm" Value=".property class MonoMac.Foundation.NSString EaseIn" />
174
190
<ReturnType>MonoMac.Foundation.NSString</ReturnType>
177
<summary>To be added.</summary>
178
<value>To be added.</value>
193
<summary>Represents the value associated with the constant kCAMediaTimingFunctionEaseIn</summary>
179
196
<remarks>To be added.</remarks>
190
207
<ReturnType>MonoMac.Foundation.NSString</ReturnType>
193
<summary>To be added.</summary>
194
<value>To be added.</value>
210
<summary>Represents the value associated with the constant kCAMediaTimingFunctionEaseInEaseOut</summary>
195
213
<remarks>To be added.</remarks>
206
224
<ReturnType>MonoMac.Foundation.NSString</ReturnType>
209
<summary>To be added.</summary>
210
<value>To be added.</value>
227
<summary>Represents the value associated with the constant kCAMediaTimingFunctionEaseOut</summary>
211
230
<remarks>To be added.</remarks>
245
264
<Member MemberName="FromName">
265
<MemberSignature Language="C#" Value="public static MonoMac.CoreAnimation.CAMediaTimingFunction FromName (MonoMac.Foundation.NSString name);" />
266
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class MonoMac.CoreAnimation.CAMediaTimingFunction FromName(class MonoMac.Foundation.NSString name) cil managed" />
267
<MemberType>Method</MemberType>
269
<AssemblyVersion>0.0.0.0</AssemblyVersion>
273
<AttributeName>MonoMac.Foundation.Export("functionWithName:")</AttributeName>
277
<ReturnType>MonoMac.CoreAnimation.CAMediaTimingFunction</ReturnType>
280
<Parameter Name="name" Type="MonoMac.Foundation.NSString" />
283
<param name="name">To be added.</param>
284
<summary>To be added.</summary>
285
<returns>To be added.</returns>
286
<remarks>To be added.</remarks>
289
<Member MemberName="FromName">
246
290
<MemberSignature Language="C#" Value="public static MonoMac.CoreAnimation.CAMediaTimingFunction FromName (string name);" />
247
291
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class MonoMac.CoreAnimation.CAMediaTimingFunction FromName(string name) cil managed" />
248
292
<MemberType>Method</MemberType>
267
311
<remarks>To be added.</remarks>
314
<Member MemberName="GetControlPoint">
315
<MemberSignature Language="C#" Value="public System.Drawing.PointF GetControlPoint (int index);" />
316
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance valuetype System.Drawing.PointF GetControlPoint(int32 index) cil managed" />
317
<MemberType>Method</MemberType>
319
<AssemblyVersion>0.0.0.0</AssemblyVersion>
322
<ReturnType>System.Drawing.PointF</ReturnType>
325
<Parameter Name="index" Type="System.Int32" />
328
<param name="index">To be added.</param>
329
<summary>To be added.</summary>
330
<returns>To be added.</returns>
331
<remarks>To be added.</remarks>
270
334
<Member MemberName="Linear">
271
335
<MemberSignature Language="C#" Value="public static MonoMac.Foundation.NSString Linear { get; }" />
272
336
<MemberSignature Language="ILAsm" Value=".property class MonoMac.Foundation.NSString Linear" />
278
342
<ReturnType>MonoMac.Foundation.NSString</ReturnType>
281
<summary>To be added.</summary>
282
<value>To be added.</value>
345
<summary>Represents the value associated with the constant kCAMediaTimingFunctionLinear</summary>
283
348
<remarks>To be added.</remarks>