/
UIDynamicAnimator.xml
919 lines (907 loc) · 50.2 KB
/
UIDynamicAnimator.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
<Type Name="UIDynamicAnimator" FullName="UIKit.UIDynamicAnimator">
<TypeSignature Language="C#" Value="public class UIDynamicAnimator : Foundation.NSObject, System.Collections.Generic.IEnumerable<UIKit.UIDynamicBehavior>" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit UIDynamicAnimator extends Foundation.NSObject implements class System.Collections.Generic.IEnumerable`1<class UIKit.UIDynamicBehavior>, class System.Collections.IEnumerable" />
<TypeSignature Language="DocId" Value="T:UIKit.UIDynamicAnimator" />
<TypeSignature Language="F#" Value="type UIDynamicAnimator = class
 inherit NSObject
 interface seq<UIDynamicBehavior>
 interface IEnumerable" />
<AssemblyInfo>
<AssemblyName>Xamarin.iOS</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>Foundation.NSObject</BaseTypeName>
</Base>
<Interfaces>
<Interface>
<InterfaceName>System.Collections.Generic.IEnumerable<UIKit.UIDynamicBehavior></InterfaceName>
</Interface>
<Interface>
<InterfaceName>System.Collections.IEnumerable</InterfaceName>
</Interface>
</Interfaces>
<Attributes>
<Attribute>
<AttributeName>Foundation.Register("UIDynamicAnimator", true)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)</AttributeName>
</Attribute>
</Attributes>
<Docs>
<summary>Coordinates the UIKit Dynamics of a set of <see cref="T:UIKit.IUIDynamicItem" />s and <see cref="T:UIKit.UIDynamicBehavior" />s.</summary>
<remarks>
<para>
The dynamic animator is responsible for coordinating physics
simulations attached to a UIView. These physics simulations
are implemented as subclasses of the <see cref="T:UIKit.UIDynamicBehavior" /> class, and
include various predefined simulations for gravity, collision
detection, attaching, snapping, forces and controling item
properties.
</para>
<para>
<see cref="T:UIKit.UIDynamicAnimator" /> It provides the overall context for managing the physics
simulation attached to a UIView. Additionally, it defines the
coordinate system for the dynamics and wraps the underlying
animation engine. Finally, it keeps track of the <see cref="T:UIKit.UIDynamicBehavior" />s and <see cref="T:UIKit.IUIDynamicItem" /> that define the
particular behaviors and items for which dynamics are desired.
</para>
<para>
Adding behaviors to a dynamic animator will cause the behavior
to run as part of the physics simulation that UIKit runs. To
stop a behavior from running (and be part of the simulation),
you must remove the behavior from the dynamic animator (use
<see cref="M:UIKit.UIDynamicAnimator.RemoveBehavior(UIKit.UIDynamicBehavior)" /> or <see cref="M:UIKit.UIDynamicAnimator.RemoveAllBehaviors" />.
</para>
<para>It is the application developer's responsibility to create a configuration that can be solved by the physics-like behavior of UI Dynamics.</para>
<para>The following example shows how you can add a couple of behaviors to an animator:</para>
<example>
<code lang="csharp lang-csharp"><![CDATA[
public override void ViewDidLoad ()
{
base.ViewDidLoad ();
// Create a dynamic animator for the specified UIView
// in this case, the property "View" of UIViewController
//
animator = new UIDynamicAnimator (View);
// Creates two dynamic behaviors
// Create a gravity behavior that operates on the `square' UIView
var gravityBehavior = new UIGravityBehavior (square);
// Create a collision behavior that operates on the same `square' UIVew
var collisionBehavior = new UICollisionBehavior (square) {
TranslatesReferenceBoundsIntoBoundary = true
};
// Detect collision, hook up to the events raised by that behavior
collisionBehavior.BeganBoundaryContact += BeganContact;
collisionBehavior.EndedBoundaryContact += EndedContact;
// Add the two behaviors to the dynamic animator
animator.AddBehaviors (gravityBehavior, collisionBehavior);
// The simulation will start running
}
]]></code>
</example>
<para>
These are the predefined behaviors that extend the <see cref="T:UIKit.UIDynamicBehavior" /> class:
<see cref="T:UIKit.UIAttachmentBehavior" />,
<see cref="T:UIKit.UICollisionBehavior" />,
<see cref="T:UIKit.UIDynamicItemBehavior" />,
<see cref="T:UIKit.UIGravityBehavior" />,
<see cref="T:UIKit.UIPushBehavior" /> and
<see cref="T:UIKit.UISnapBehavior" />.
</para>
</remarks>
<related type="externalDocumentation" href="https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIDynamicAnimator_Class/index.html">Apple documentation for <c>UIDynamicAnimator</c></related>
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public UIDynamicAnimator ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor() cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.UIDynamicAnimator.#ctor" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>Foundation.Export("init")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)</AttributeName>
</Attribute>
</Attributes>
<Parameters />
<Docs>
<summary>Default constructor, initializes a new instance of this class.</summary>
<remarks>
</remarks>
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="protected UIDynamicAnimator (Foundation.NSObjectFlag t);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig specialname rtspecialname instance void .ctor(class Foundation.NSObjectFlag t) cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.UIDynamicAnimator.#ctor(Foundation.NSObjectFlag)" />
<MemberSignature Language="F#" Value="new UIKit.UIDynamicAnimator : Foundation.NSObjectFlag -> UIKit.UIDynamicAnimator" Usage="new UIKit.UIDynamicAnimator t" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)</AttributeName>
</Attribute>
</Attributes>
<Parameters>
<Parameter Name="t" Type="Foundation.NSObjectFlag" />
</Parameters>
<Docs>
<param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
<summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
<remarks>
<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 developers invoke the constructor that takes the NSObjectFlag.Empty they take advantage 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 the developer.</para>
<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>
<para>It is the developer's responsibility to completely initialize the object if they chain up using the NSObjectFlag.Empty path.</para>
<para>In general, if the developer's constructor invokes the NSObjectFlag.Empty base implementation, then it should be calling an Objective-C init method. If this is not the case, developers should instead chain to the proper constructor in their class. </para>
<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>
<example>
<code lang="csharp lang-csharp"><![CDATA[
//
// The NSObjectFlag merely allocates the object and registers the
// C# class with the Objective-C runtime if necessary, but no actual
// initXxx method is invoked, that is done later in the constructor
//
// This is taken from Xamarin.iOS's source code:
//
[Export ("initWithFrame:")]
public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
{
// Invoke the init method now.
var initWithFrame = new Selector ("initWithFrame:").Handle;
if (IsDirectBinding)
Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
else
Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
}
]]></code>
</example>
</remarks>
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="protected internal UIDynamicAnimator (IntPtr handle);" />
<MemberSignature Language="ILAsm" Value=".method familyorassemblyhidebysig specialname rtspecialname instance void .ctor(native int handle) cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.UIDynamicAnimator.#ctor(System.IntPtr)" />
<MemberSignature Language="F#" Value="new UIKit.UIDynamicAnimator : nativeint -> UIKit.UIDynamicAnimator" Usage="new UIKit.UIDynamicAnimator handle" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)</AttributeName>
</Attribute>
</Attributes>
<Parameters>
<Parameter Name="handle" Type="System.IntPtr" />
</Parameters>
<Docs>
<param name="handle">Pointer (handle) to the unmanaged object.</param>
<summary>A constructor used when creating managed representations of unmanaged objects; Called by the runtime.</summary>
<remarks>
<para>This constructor is invoked by the runtime infrastructure (<see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object. Developers should not invoke this method directly, instead they should call the GetNSObject method as it will prevent two instances of a managed object to point to the same native object.</para>
</remarks>
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public UIDynamicAnimator (UIKit.UICollectionViewLayout layout);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(class UIKit.UICollectionViewLayout layout) cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.UIDynamicAnimator.#ctor(UIKit.UICollectionViewLayout)" />
<MemberSignature Language="F#" Value="new UIKit.UIDynamicAnimator : UIKit.UICollectionViewLayout -> UIKit.UIDynamicAnimator" Usage="new UIKit.UIDynamicAnimator layout" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>Foundation.Export("initWithCollectionViewLayout:")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
</Attributes>
<Parameters>
<Parameter Name="layout" Type="UIKit.UICollectionViewLayout" />
</Parameters>
<Docs>
<param name="layout">To be added.</param>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public UIDynamicAnimator (UIKit.UIView referenceView);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(class UIKit.UIView referenceView) cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.UIDynamicAnimator.#ctor(UIKit.UIView)" />
<MemberSignature Language="F#" Value="new UIKit.UIDynamicAnimator : UIKit.UIView -> UIKit.UIDynamicAnimator" Usage="new UIKit.UIDynamicAnimator referenceView" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>Foundation.Export("initWithReferenceView:")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.DesignatedInitializer</AttributeName>
</Attribute>
</Attributes>
<Parameters>
<Parameter Name="referenceView" Type="UIKit.UIView" />
</Parameters>
<Docs>
<param name="referenceView">To be added.</param>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Add">
<MemberSignature Language="C#" Value="public void Add (UIKit.UIDynamicBehavior behavior);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void Add(class UIKit.UIDynamicBehavior behavior) cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.UIDynamicAnimator.Add(UIKit.UIDynamicBehavior)" />
<MemberSignature Language="F#" Value="member this.Add : UIKit.UIDynamicBehavior -> unit" Usage="uIDynamicAnimator.Add behavior" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="behavior" Type="UIKit.UIDynamicBehavior" />
</Parameters>
<Docs>
<param name="behavior">To be added.</param>
<summary>Adds the specified behavior.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="AddBehavior">
<MemberSignature Language="C#" Value="public virtual void AddBehavior (UIKit.UIDynamicBehavior behavior);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void AddBehavior(class UIKit.UIDynamicBehavior behavior) cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.UIDynamicAnimator.AddBehavior(UIKit.UIDynamicBehavior)" />
<MemberSignature Language="F#" Value="abstract member AddBehavior : UIKit.UIDynamicBehavior -> unit
override this.AddBehavior : UIKit.UIDynamicBehavior -> unit" Usage="uIDynamicAnimator.AddBehavior behavior" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>Foundation.Export("addBehavior:")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="behavior" Type="UIKit.UIDynamicBehavior" />
</Parameters>
<Docs>
<param name="behavior">
<para>Behavior to add to the animator.</para>
<para tool="nullallowed">This parameter can be <see langword="null" />.</para>
</param>
<summary>Adds the specified behavior to the animator.</summary>
<remarks>
<para>The following example shows how you can add a simple behavior to an animator:</para>
<example>
<code lang="csharp lang-csharp"><![CDATA[
//
// Add gravity to the "simpleView" subview, this will make it fall
//
public override void ViewDidLoad ()
{
base.ViewDidLoad ();
animator = new UIDynamicAnimator (View);
animator.AddBehavior (new UIGravityBehavior (simpleView));
}
]]></code>
</example>
</remarks>
</Docs>
</Member>
<Member MemberName="AddBehaviors">
<MemberSignature Language="C#" Value="public void AddBehaviors (params UIKit.UIDynamicBehavior[] behaviors);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void AddBehaviors(class UIKit.UIDynamicBehavior[] behaviors) cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.UIDynamicAnimator.AddBehaviors(UIKit.UIDynamicBehavior[])" />
<MemberSignature Language="F#" Value="member this.AddBehaviors : UIKit.UIDynamicBehavior[] -> unit" Usage="uIDynamicAnimator.AddBehaviors behaviors" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="behaviors" Type="UIKit.UIDynamicBehavior[]">
<Attributes>
<Attribute>
<AttributeName>System.ParamArray</AttributeName>
</Attribute>
</Attributes>
</Parameter>
</Parameters>
<Docs>
<param name="behaviors">Behaviors that you want to add to the animator</param>
<summary>Adds the array of specified behaviors.</summary>
<remarks>
<para>The following example shows how you can add a couple of behaviors to an animator:</para>
<example>
<code lang="csharp lang-csharp"><![CDATA[
public override void ViewDidLoad ()
{
base.ViewDidLoad ();
var gravityBehavior = new UIGravityBehavior (square);
var collisionBehavior = new UICollisionBehavior (square) {
TranslatesReferenceBoundsIntoBoundary = true
};
collisionBehavior.BeganBoundaryContact += BeganContact;
collisionBehavior.EndedBoundaryContact += EndedContact;
animator = new UIDynamicAnimator (View);
// Add the two behaviors at once
animator.AddBehaviors (gravityBehavior, collisionBehavior);
}
]]></code>
</example>
</remarks>
</Docs>
</Member>
<Member MemberName="Behaviors">
<MemberSignature Language="C#" Value="public virtual UIKit.UIDynamicBehavior[] Behaviors { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class UIKit.UIDynamicBehavior[] Behaviors" />
<MemberSignature Language="DocId" Value="P:UIKit.UIDynamicAnimator.Behaviors" />
<MemberSignature Language="F#" Value="member this.Behaviors : UIKit.UIDynamicBehavior[]" Usage="UIKit.UIDynamicAnimator.Behaviors" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>get: Foundation.Export("behaviors", ObjCRuntime.ArgumentSemantic.Copy)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>UIKit.UIDynamicBehavior[]</ReturnType>
</ReturnValue>
<Docs>
<summary>Array containing the current list of behaviors running on this UIDynamicAnimator.</summary>
<value>
</value>
<remarks>
</remarks>
</Docs>
</Member>
<Member MemberName="ClassHandle">
<MemberSignature Language="C#" Value="public override IntPtr ClassHandle { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance native int ClassHandle" />
<MemberSignature Language="DocId" Value="P:UIKit.UIDynamicAnimator.ClassHandle" />
<MemberSignature Language="F#" Value="member this.ClassHandle : nativeint" Usage="UIKit.UIDynamicAnimator.ClassHandle" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.IntPtr</ReturnType>
</ReturnValue>
<Docs>
<summary>The handle for this class.</summary>
<value>The pointer to the Objective-C class.</value>
<remarks>Each Xamarin.iOS 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>
</Docs>
</Member>
<Member MemberName="Delegate">
<MemberSignature Language="C#" Value="public UIKit.IUIDynamicAnimatorDelegate Delegate { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance class UIKit.IUIDynamicAnimatorDelegate Delegate" />
<MemberSignature Language="DocId" Value="P:UIKit.UIDynamicAnimator.Delegate" />
<MemberSignature Language="F#" Value="member this.Delegate : UIKit.IUIDynamicAnimatorDelegate with get, set" Usage="UIKit.UIDynamicAnimator.Delegate" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>UIKit.IUIDynamicAnimatorDelegate</ReturnType>
</ReturnValue>
<Docs>
<summary>An instance of the UIKit.IUIDynamicAnimatorDelegate model class which acts as the class delegate.</summary>
<value>The instance of the UIKit.IUIDynamicAnimatorDelegate model class</value>
<remarks>
<para>The delegate instance assigned to this object will be used to handle events or provide data on demand to this class.</para>
<para>When setting the Delegate or WeakDelegate values events will be delivered to the specified instance instead of being delivered to the C#-style events</para>
<para>This is the strongly typed version of the object, developers should use the WeakDelegate property instead if they want to merely assign a class derived from NSObject that has been decorated with [Export] attributes.</para>
</remarks>
</Docs>
</Member>
<Member MemberName="Dispose">
<MemberSignature Language="C#" Value="protected override void Dispose (bool disposing);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig virtual instance void Dispose(bool disposing) cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.UIDynamicAnimator.Dispose(System.Boolean)" />
<MemberSignature Language="F#" Value="override this.Dispose : bool -> unit" Usage="uIDynamicAnimator.Dispose disposing" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="disposing" Type="System.Boolean" />
</Parameters>
<Docs>
<param name="disposing">
<para>If set to <see langword="true" />, the method is invoked directly and will dispose manage and unmanaged resources; If set to <see langword="false" /> the method is being called by the garbage collector finalizer and should only release unmanaged resources.</para>
</param>
<summary>Releases the resources used by the UIDynamicAnimator object.</summary>
<remarks>
<para>This Dispose method releases the resources used by the UIDynamicAnimator class.</para>
<para>This method is called by both the Dispose() method and the object finalizer (Finalize). When invoked by the Dispose method, the parameter disposing <paramref name="disposing" /> is set to <see langword="true" /> and any managed object references that this object holds are also disposed or released; when invoked by the object finalizer, on the finalizer thread the value is set to <see langword="false" />. </para>
<para>Calling the Dispose method when the application is finished using the UIDynamicAnimator ensures that all external resources used by this managed object are released as soon as possible. Once developers have invoked the Dispose method, the object is no longer useful and developers should no longer make any calls to it.</para>
<para> For more information on how to override this method and on the Dispose/IDisposable pattern, read the ``Implementing a Dispose Method'' document at https://msdn.microsoft.com/en-us/library/fs2xkftw.aspx</para>
</remarks>
</Docs>
</Member>
<Member MemberName="ElapsedTime">
<MemberSignature Language="C#" Value="public virtual double ElapsedTime { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance float64 ElapsedTime" />
<MemberSignature Language="DocId" Value="P:UIKit.UIDynamicAnimator.ElapsedTime" />
<MemberSignature Language="F#" Value="member this.ElapsedTime : double" Usage="UIKit.UIDynamicAnimator.ElapsedTime" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>get: Foundation.Export("elapsedTime")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Double</ReturnType>
</ReturnValue>
<Docs>
<summary>The time interval since the UIDynamicAnimator began running.</summary>
<value>To be added.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="GetDynamicItems">
<MemberSignature Language="C#" Value="public virtual UIKit.IUIDynamicItem[] GetDynamicItems (CoreGraphics.CGRect rect);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class UIKit.IUIDynamicItem[] GetDynamicItems(valuetype CoreGraphics.CGRect rect) cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.UIDynamicAnimator.GetDynamicItems(CoreGraphics.CGRect)" />
<MemberSignature Language="F#" Value="abstract member GetDynamicItems : CoreGraphics.CGRect -> UIKit.IUIDynamicItem[]
override this.GetDynamicItems : CoreGraphics.CGRect -> UIKit.IUIDynamicItem[]" Usage="uIDynamicAnimator.GetDynamicItems rect" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>Foundation.Export("itemsInRect:")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>UIKit.IUIDynamicItem[]</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="rect" Type="CoreGraphics.CGRect" />
</Parameters>
<Docs>
<param name="rect">To be added.</param>
<summary>The dynamic items that intersect the specified RectangleF.</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="GetLayoutAttributesForCell">
<MemberSignature Language="C#" Value="public virtual UIKit.UICollectionViewLayoutAttributes GetLayoutAttributesForCell (Foundation.NSIndexPath cellIndexPath);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class UIKit.UICollectionViewLayoutAttributes GetLayoutAttributesForCell(class Foundation.NSIndexPath cellIndexPath) cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.UIDynamicAnimator.GetLayoutAttributesForCell(Foundation.NSIndexPath)" />
<MemberSignature Language="F#" Value="abstract member GetLayoutAttributesForCell : Foundation.NSIndexPath -> UIKit.UICollectionViewLayoutAttributes
override this.GetLayoutAttributesForCell : Foundation.NSIndexPath -> UIKit.UICollectionViewLayoutAttributes" Usage="uIDynamicAnimator.GetLayoutAttributesForCell cellIndexPath" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>Foundation.Export("layoutAttributesForCellAtIndexPath:")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>UIKit.UICollectionViewLayoutAttributes</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="cellIndexPath" Type="Foundation.NSIndexPath" />
</Parameters>
<Docs>
<param name="cellIndexPath">To be added.</param>
<summary>The layout attributes for a UICollectionView cell.</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="GetLayoutAttributesForDecorationView">
<MemberSignature Language="C#" Value="public virtual UIKit.UICollectionViewLayoutAttributes GetLayoutAttributesForDecorationView (Foundation.NSString viewKind, Foundation.NSIndexPath viewIndexPath);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class UIKit.UICollectionViewLayoutAttributes GetLayoutAttributesForDecorationView(class Foundation.NSString viewKind, class Foundation.NSIndexPath viewIndexPath) cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.UIDynamicAnimator.GetLayoutAttributesForDecorationView(Foundation.NSString,Foundation.NSIndexPath)" />
<MemberSignature Language="F#" Value="abstract member GetLayoutAttributesForDecorationView : Foundation.NSString * Foundation.NSIndexPath -> UIKit.UICollectionViewLayoutAttributes
override this.GetLayoutAttributesForDecorationView : Foundation.NSString * Foundation.NSIndexPath -> UIKit.UICollectionViewLayoutAttributes" Usage="uIDynamicAnimator.GetLayoutAttributesForDecorationView (viewKind, viewIndexPath)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>Foundation.Export("layoutAttributesForDecorationViewOfKind:atIndexPath:")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>UIKit.UICollectionViewLayoutAttributes</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="viewKind" Type="Foundation.NSString" />
<Parameter Name="viewIndexPath" Type="Foundation.NSIndexPath" />
</Parameters>
<Docs>
<param name="viewKind">To be added.</param>
<param name="viewIndexPath">To be added.</param>
<summary>The layout attributes for a UICollectionView decoration view.</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="GetLayoutAttributesForSupplementaryView">
<MemberSignature Language="C#" Value="public virtual UIKit.UICollectionViewLayoutAttributes GetLayoutAttributesForSupplementaryView (Foundation.NSString viewKind, Foundation.NSIndexPath viewIndexPath);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class UIKit.UICollectionViewLayoutAttributes GetLayoutAttributesForSupplementaryView(class Foundation.NSString viewKind, class Foundation.NSIndexPath viewIndexPath) cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.UIDynamicAnimator.GetLayoutAttributesForSupplementaryView(Foundation.NSString,Foundation.NSIndexPath)" />
<MemberSignature Language="F#" Value="abstract member GetLayoutAttributesForSupplementaryView : Foundation.NSString * Foundation.NSIndexPath -> UIKit.UICollectionViewLayoutAttributes
override this.GetLayoutAttributesForSupplementaryView : Foundation.NSString * Foundation.NSIndexPath -> UIKit.UICollectionViewLayoutAttributes" Usage="uIDynamicAnimator.GetLayoutAttributesForSupplementaryView (viewKind, viewIndexPath)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>Foundation.Export("layoutAttributesForSupplementaryViewOfKind:atIndexPath:")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>UIKit.UICollectionViewLayoutAttributes</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="viewKind" Type="Foundation.NSString" />
<Parameter Name="viewIndexPath" Type="Foundation.NSIndexPath" />
</Parameters>
<Docs>
<param name="viewKind">To be added.</param>
<param name="viewIndexPath">To be added.</param>
<summary>The layout attributes for a UICollectioNView supplementary view.</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="ReferenceView">
<MemberSignature Language="C#" Value="public virtual UIKit.UIView ReferenceView { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class UIKit.UIView ReferenceView" />
<MemberSignature Language="DocId" Value="P:UIKit.UIDynamicAnimator.ReferenceView" />
<MemberSignature Language="F#" Value="member this.ReferenceView : UIKit.UIView" Usage="UIKit.UIDynamicAnimator.ReferenceView" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>get: Foundation.Export("referenceView")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>UIKit.UIView</ReturnType>
</ReturnValue>
<Docs>
<summary>The UIView that the UIDynamicAnimator was initialized with. Read-only.</summary>
<value>To be added.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="RemoveAllBehaviors">
<MemberSignature Language="C#" Value="public virtual void RemoveAllBehaviors ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void RemoveAllBehaviors() cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.UIDynamicAnimator.RemoveAllBehaviors" />
<MemberSignature Language="F#" Value="abstract member RemoveAllBehaviors : unit -> unit
override this.RemoveAllBehaviors : unit -> unit" Usage="uIDynamicAnimator.RemoveAllBehaviors " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>Foundation.Export("removeAllBehaviors")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Removes all of the behaviors attached to this animator.</summary>
<remarks>
</remarks>
</Docs>
</Member>
<Member MemberName="RemoveBehavior">
<MemberSignature Language="C#" Value="public virtual void RemoveBehavior (UIKit.UIDynamicBehavior behavior);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void RemoveBehavior(class UIKit.UIDynamicBehavior behavior) cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.UIDynamicAnimator.RemoveBehavior(UIKit.UIDynamicBehavior)" />
<MemberSignature Language="F#" Value="abstract member RemoveBehavior : UIKit.UIDynamicBehavior -> unit
override this.RemoveBehavior : UIKit.UIDynamicBehavior -> unit" Usage="uIDynamicAnimator.RemoveBehavior behavior" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>Foundation.Export("removeBehavior:")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="behavior" Type="UIKit.UIDynamicBehavior" />
</Parameters>
<Docs>
<param name="behavior">
<para>Behavior to be removed from the animator.</para>
<para tool="nullallowed">This parameter can be <see langword="null" />.</para>
</param>
<summary>Removes the specified behavior from the animator.</summary>
<remarks>
</remarks>
</Docs>
</Member>
<Member MemberName="RemoveBehaviors">
<MemberSignature Language="C#" Value="public void RemoveBehaviors (params UIKit.UIDynamicBehavior[] behaviors);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void RemoveBehaviors(class UIKit.UIDynamicBehavior[] behaviors) cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.UIDynamicAnimator.RemoveBehaviors(UIKit.UIDynamicBehavior[])" />
<MemberSignature Language="F#" Value="member this.RemoveBehaviors : UIKit.UIDynamicBehavior[] -> unit" Usage="uIDynamicAnimator.RemoveBehaviors behaviors" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="behaviors" Type="UIKit.UIDynamicBehavior[]">
<Attributes>
<Attribute>
<AttributeName>System.ParamArray</AttributeName>
</Attribute>
</Attributes>
</Parameter>
</Parameters>
<Docs>
<param name="behaviors">Array of behaviors to be removed from the animator.</param>
<summary>Removes the listed behaviors from the animator.</summary>
<remarks>
</remarks>
</Docs>
</Member>
<Member MemberName="Running">
<MemberSignature Language="C#" Value="public virtual bool Running { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance bool Running" />
<MemberSignature Language="DocId" Value="P:UIKit.UIDynamicAnimator.Running" />
<MemberSignature Language="F#" Value="member this.Running : bool" Usage="UIKit.UIDynamicAnimator.Running" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>get: Foundation.Export("isRunning")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Docs>
<summary>Whether the UIDynamicAnimator is running. Read-only.</summary>
<value>To be added.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="System.Collections.Generic.IEnumerable<UIKit.UIDynamicBehavior>.GetEnumerator">
<MemberSignature Language="C#" Value="System.Collections.Generic.IEnumerator<UIKit.UIDynamicBehavior> IEnumerable<UIDynamicBehavior>.GetEnumerator ();" />
<MemberSignature Language="ILAsm" Value=".method hidebysig newslot virtual instance class System.Collections.Generic.IEnumerator`1<class UIKit.UIDynamicBehavior> System.Collections.Generic.IEnumerable<UIKit.UIDynamicBehavior>.GetEnumerator() cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.UIDynamicAnimator.System#Collections#Generic#IEnumerable<UIKit#UIDynamicBehavior>#GetEnumerator" />
<MemberType>Method</MemberType>
<Implements>
<InterfaceMember>M:System.Collections.Generic.IEnumerable`1.GetEnumerator</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>System.Runtime.CompilerServices.IteratorStateMachine(typeof(UIKit.UIDynamicAnimator/<System-Collections-Generic-IEnumerable<UIKit-UIDynamicBehavior>-GetEnumerator>d__3))</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Collections.Generic.IEnumerator<UIKit.UIDynamicBehavior></ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Returns an enumerator that iterates over the dynamic behaviors in the animator.</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="System.Collections.IEnumerable.GetEnumerator">
<MemberSignature Language="C#" Value="System.Collections.IEnumerator IEnumerable.GetEnumerator ();" />
<MemberSignature Language="ILAsm" Value=".method hidebysig newslot virtual instance class System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.UIDynamicAnimator.System#Collections#IEnumerable#GetEnumerator" />
<MemberType>Method</MemberType>
<Implements>
<InterfaceMember>M:System.Collections.IEnumerable.GetEnumerator</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>System.Runtime.CompilerServices.IteratorStateMachine(typeof(UIKit.UIDynamicAnimator/<System-Collections-IEnumerable-GetEnumerator>d__4))</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Collections.IEnumerator</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Retrieves the behaviors via an enumerator.</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="UpdateItemUsingCurrentState">
<MemberSignature Language="C#" Value="public virtual void UpdateItemUsingCurrentState (UIKit.IUIDynamicItem uiDynamicItem);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void UpdateItemUsingCurrentState(class UIKit.IUIDynamicItem uiDynamicItem) cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.UIDynamicAnimator.UpdateItemUsingCurrentState(UIKit.IUIDynamicItem)" />
<MemberSignature Language="F#" Value="abstract member UpdateItemUsingCurrentState : UIKit.IUIDynamicItem -> unit
override this.UpdateItemUsingCurrentState : UIKit.IUIDynamicItem -> unit" Usage="uIDynamicAnimator.UpdateItemUsingCurrentState uiDynamicItem" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>Foundation.Export("updateItemUsingCurrentState:")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="uiDynamicItem" Type="UIKit.IUIDynamicItem" />
</Parameters>
<Docs>
<param name="uiDynamicItem">To be added.</param>
<summary>Reads the current state of a dynamic item, replacing the UIDynamicAnimator's internal representation of that item's state.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="WeakDelegate">
<MemberSignature Language="C#" Value="public virtual Foundation.NSObject WeakDelegate { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance class Foundation.NSObject WeakDelegate" />
<MemberSignature Language="DocId" Value="P:UIKit.UIDynamicAnimator.WeakDelegate" />
<MemberSignature Language="F#" Value="member this.WeakDelegate : Foundation.NSObject with get, set" Usage="UIKit.UIDynamicAnimator.WeakDelegate" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>get: Foundation.Export("delegate", ObjCRuntime.ArgumentSemantic.UnsafeUnretained)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>set: Foundation.Export("setDelegate:", ObjCRuntime.ArgumentSemantic.UnsafeUnretained)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Foundation.NSObject</ReturnType>
</ReturnValue>
<Docs>
<summary>An object that can respond to the delegate protocol for this type</summary>
<value>The instance that will respond to events and data requests.</value>
<remarks>
<para>The delegate instance assigned to this object will be used to handle events or provide data on demand to this class.</para>
<para>When setting the Delegate or WeakDelegate values events will be delivered to the specified instance instead of being delivered to the C#-style events</para>
<para> Methods must be decorated with the [Export ("selectorName")] attribute to respond to each method from the protocol. Alternatively use the Delegate method which is strongly typed and does not require the [Export] attributes on methods.</para>
</remarks>
</Docs>
</Member>
</Members>
</Type>