-
Notifications
You must be signed in to change notification settings - Fork 42
/
UITextView+Notifications.xml
416 lines (391 loc) · 23.2 KB
/
UITextView+Notifications.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
<Type Name="UITextView+Notifications" FullName="UIKit.UITextView+Notifications">
<TypeSignature Language="C#" Value="public static class UITextView.Notifications" />
<TypeSignature Language="ILAsm" Value=".class nested public auto ansi abstract sealed beforefieldinit UITextView/Notifications extends System.Object" />
<TypeSignature Language="DocId" Value="T:UIKit.UITextView.Notifications" />
<TypeSignature Language="F#" Value="type UITextView.Notifications = class" />
<AssemblyInfo>
<AssemblyName>Xamarin.iOS</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Object</BaseTypeName>
</Base>
<Interfaces />
<Docs>
<summary>Notification posted by the <see cref="T:UIKit.UITextView" /> class.</summary>
<remarks>
<para>This is a static class which contains various helper methods that allow developers to observe events posted in the iOS notification hub (<see cref="T:Foundation.NSNotificationCenter" />).</para>
<para>The methods defined in this class post events invoke the provided method or lambda with a <see cref="T:Foundation.NSNotificationEventArgs" /> parameter which contains strongly typed properties for the notification arguments.</para>
</remarks>
</Docs>
<Members>
<Member MemberName="ObserveCurrentInputModeDidChange">
<MemberSignature Language="C#" Value="public static Foundation.NSObject ObserveCurrentInputModeDidChange (EventHandler<Foundation.NSNotificationEventArgs> handler);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class Foundation.NSObject ObserveCurrentInputModeDidChange(class System.EventHandler`1<class Foundation.NSNotificationEventArgs> handler) cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.UITextView.Notifications.ObserveCurrentInputModeDidChange(System.EventHandler{Foundation.NSNotificationEventArgs})" />
<MemberSignature Language="F#" Value="static member ObserveCurrentInputModeDidChange : EventHandler<Foundation.NSNotificationEventArgs> -> Foundation.NSObject" Usage="UIKit.UITextView.Notifications.ObserveCurrentInputModeDidChange handler" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Foundation.NSObject</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="handler" Type="System.EventHandler<Foundation.NSNotificationEventArgs>" />
</Parameters>
<Docs>
<param name="handler">Method to invoke when the notification is posted.</param>
<summary>Strongly typed notification for the <see cref="P:UIKit.UITextView.CurrentInputModeDidChangeNotification" /> constant.</summary>
<returns>Token object that can be used to stop receiving notifications by either disposing it or passing it to <see cref="M:Foundation.NSNotificationCenter.RemoveObservers(System.Collections.Generic.IEnumerable{Foundation.NSObject})" /></returns>
<remarks>
<para id="tool-remark">This method can be used to subscribe for <see cref="P:UIKit.UITextView.CurrentInputModeDidChangeNotification" /> notifications.</para>
<example>
<code lang="csharp lang-csharp"><![CDATA[
// Listen to all notifications posted for any object
var token = UITextView.Notifications.ObserveCurrentInputModeDidChange ((notification) => {
Console.WriteLine ("Observed CurrentInputModeDidChangeNotification!");
};
// Listen to all notifications posted for a single object
var token = UITextView.Notifications.ObserveCurrentInputModeDidChange (objectToObserve, (notification) => {
Console.WriteLine ($"Observed CurrentInputModeDidChangeNotification for {nameof (objectToObserve)}!");
};
// Stop listening for notifications
token.Dispose ();
]]></code>
</example>
</remarks>
</Docs>
</Member>
<Member MemberName="ObserveCurrentInputModeDidChange">
<MemberSignature Language="C#" Value="public static Foundation.NSObject ObserveCurrentInputModeDidChange (Foundation.NSObject objectToObserve, EventHandler<Foundation.NSNotificationEventArgs> handler);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class Foundation.NSObject ObserveCurrentInputModeDidChange(class Foundation.NSObject objectToObserve, class System.EventHandler`1<class Foundation.NSNotificationEventArgs> handler) cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.UITextView.Notifications.ObserveCurrentInputModeDidChange(Foundation.NSObject,System.EventHandler{Foundation.NSNotificationEventArgs})" />
<MemberSignature Language="F#" Value="static member ObserveCurrentInputModeDidChange : Foundation.NSObject * EventHandler<Foundation.NSNotificationEventArgs> -> Foundation.NSObject" Usage="UIKit.UITextView.Notifications.ObserveCurrentInputModeDidChange (objectToObserve, handler)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Xamarin.iOS</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Foundation.NSObject</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="objectToObserve" Type="Foundation.NSObject" />
<Parameter Name="handler" Type="System.EventHandler<Foundation.NSNotificationEventArgs>" />
</Parameters>
<Docs>
<param name="objectToObserve">The object to observe.</param>
<param name="handler">Method to invoke when the notification is posted.</param>
<summary>Strongly typed notification for the <see cref="P:UIKit.UITextView.CurrentInputModeDidChangeNotification" /> constant.</summary>
<returns>Token object that can be used to stop receiving notifications by either disposing it or passing it to <see cref="M:Foundation.NSNotificationCenter.RemoveObservers(System.Collections.Generic.IEnumerable{Foundation.NSObject})" /></returns>
<remarks>
<para id="tool-remark">This method can be used to subscribe for <see cref="P:UIKit.UITextView.CurrentInputModeDidChangeNotification" /> notifications.</para>
<example>
<code lang="csharp lang-csharp"><![CDATA[
// Listen to all notifications posted for any object
var token = UITextView.Notifications.ObserveCurrentInputModeDidChange ((notification) => {
Console.WriteLine ("Observed CurrentInputModeDidChangeNotification!");
};
// Listen to all notifications posted for a single object
var token = UITextView.Notifications.ObserveCurrentInputModeDidChange (objectToObserve, (notification) => {
Console.WriteLine ($"Observed CurrentInputModeDidChangeNotification for {nameof (objectToObserve)}!");
};
// Stop listening for notifications
token.Dispose ();
]]></code>
</example>
</remarks>
</Docs>
</Member>
<Member MemberName="ObserveTextDidBeginEditing">
<MemberSignature Language="C#" Value="public static Foundation.NSObject ObserveTextDidBeginEditing (EventHandler<Foundation.NSNotificationEventArgs> handler);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class Foundation.NSObject ObserveTextDidBeginEditing(class System.EventHandler`1<class Foundation.NSNotificationEventArgs> handler) cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.UITextView.Notifications.ObserveTextDidBeginEditing(System.EventHandler{Foundation.NSNotificationEventArgs})" />
<MemberSignature Language="F#" Value="static member ObserveTextDidBeginEditing : EventHandler<Foundation.NSNotificationEventArgs> -> Foundation.NSObject" Usage="UIKit.UITextView.Notifications.ObserveTextDidBeginEditing handler" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Foundation.NSObject</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="handler" Type="System.EventHandler<Foundation.NSNotificationEventArgs>" />
</Parameters>
<Docs>
<param name="handler">Method to invoke when the notification is posted.</param>
<summary>Strongly typed notification for the <see cref="P:UIKit.UITextView.TextDidBeginEditingNotification" /> constant.</summary>
<returns>Token object that can be used to stop receiving notifications by either disposing it or passing it to <see cref="M:Foundation.NSNotificationCenter.RemoveObservers(System.Collections.Generic.IEnumerable{Foundation.NSObject})" /></returns>
<remarks>
<para>The following example shows how you can use this method in your code</para>
<example>
<code lang="csharp lang-csharp"><![CDATA[
//
// Lambda style
//
// listening
notification = UITextView.Notifications.ObserveTextDidBeginEditing ((sender, args) => {
/* Access strongly typed args */
Console.WriteLine ("Notification: {0}", args.Notification);
});
// To stop listening:
notification.Dispose ();
//
//Method style
//
NSObject notification;
void Callback (object sender, Foundation.NSNotificationEventArgs args)
{
// Access strongly typed args
Console.WriteLine ("Notification: {0}", args.Notification);
}
void Setup ()
{
notification = UITextView.Notifications.ObserveTextDidBeginEditing (Callback);
}
void Teardown ()
{
notification.Dispose ();
}]]></code>
</example>
</remarks>
</Docs>
</Member>
<Member MemberName="ObserveTextDidBeginEditing">
<MemberSignature Language="C#" Value="public static Foundation.NSObject ObserveTextDidBeginEditing (Foundation.NSObject objectToObserve, EventHandler<Foundation.NSNotificationEventArgs> handler);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class Foundation.NSObject ObserveTextDidBeginEditing(class Foundation.NSObject objectToObserve, class System.EventHandler`1<class Foundation.NSNotificationEventArgs> handler) cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.UITextView.Notifications.ObserveTextDidBeginEditing(Foundation.NSObject,System.EventHandler{Foundation.NSNotificationEventArgs})" />
<MemberSignature Language="F#" Value="static member ObserveTextDidBeginEditing : Foundation.NSObject * EventHandler<Foundation.NSNotificationEventArgs> -> Foundation.NSObject" Usage="UIKit.UITextView.Notifications.ObserveTextDidBeginEditing (objectToObserve, handler)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Xamarin.iOS</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Foundation.NSObject</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="objectToObserve" Type="Foundation.NSObject" />
<Parameter Name="handler" Type="System.EventHandler<Foundation.NSNotificationEventArgs>" />
</Parameters>
<Docs>
<param name="objectToObserve">The object to observe.</param>
<param name="handler">Method to invoke when the notification is posted.</param>
<summary>Strongly typed notification for the <see cref="P:UIKit.UITextView.TextDidBeginEditingNotification" /> constant.</summary>
<returns>Token object that can be used to stop receiving notifications by either disposing it or passing it to <see cref="M:Foundation.NSNotificationCenter.RemoveObservers(System.Collections.Generic.IEnumerable{Foundation.NSObject})" /></returns>
<remarks>
<para id="tool-remark">This method can be used to subscribe for <see cref="P:UIKit.UITextView.TextDidBeginEditingNotification" /> notifications.</para>
<example>
<code lang="csharp lang-csharp"><![CDATA[
// Listen to all notifications posted for any object
var token = UITextView.Notifications.ObserveTextDidBeginEditing ((notification) => {
Console.WriteLine ("Observed TextDidBeginEditingNotification!");
};
// Listen to all notifications posted for a single object
var token = UITextView.Notifications.ObserveTextDidBeginEditing (objectToObserve, (notification) => {
Console.WriteLine ($"Observed TextDidBeginEditingNotification for {nameof (objectToObserve)}!");
};
// Stop listening for notifications
token.Dispose ();
]]></code>
</example>
</remarks>
</Docs>
</Member>
<Member MemberName="ObserveTextDidChange">
<MemberSignature Language="C#" Value="public static Foundation.NSObject ObserveTextDidChange (EventHandler<Foundation.NSNotificationEventArgs> handler);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class Foundation.NSObject ObserveTextDidChange(class System.EventHandler`1<class Foundation.NSNotificationEventArgs> handler) cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.UITextView.Notifications.ObserveTextDidChange(System.EventHandler{Foundation.NSNotificationEventArgs})" />
<MemberSignature Language="F#" Value="static member ObserveTextDidChange : EventHandler<Foundation.NSNotificationEventArgs> -> Foundation.NSObject" Usage="UIKit.UITextView.Notifications.ObserveTextDidChange handler" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Foundation.NSObject</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="handler" Type="System.EventHandler<Foundation.NSNotificationEventArgs>" />
</Parameters>
<Docs>
<param name="handler">Method to invoke when the notification is posted.</param>
<summary>Strongly typed notification for the <see cref="P:UIKit.UITextView.TextDidChangeNotification" /> constant.</summary>
<returns>Token object that can be used to stop receiving notifications by either disposing it or passing it to <see cref="M:Foundation.NSNotificationCenter.RemoveObservers(System.Collections.Generic.IEnumerable{Foundation.NSObject})" /></returns>
<remarks>
<para>The following example shows how you can use this method in your code</para>
<example>
<code lang="csharp lang-csharp"><![CDATA[
//
// Lambda style
//
// listening
notification = UITextView.Notifications.ObserveTextDidChange ((sender, args) => {
/* Access strongly typed args */
Console.WriteLine ("Notification: {0}", args.Notification);
});
// To stop listening:
notification.Dispose ();
//
//Method style
//
NSObject notification;
void Callback (object sender, Foundation.NSNotificationEventArgs args)
{
// Access strongly typed args
Console.WriteLine ("Notification: {0}", args.Notification);
}
void Setup ()
{
notification = UITextView.Notifications.ObserveTextDidChange (Callback);
}
void Teardown ()
{
notification.Dispose ();
}]]></code>
</example>
</remarks>
</Docs>
</Member>
<Member MemberName="ObserveTextDidChange">
<MemberSignature Language="C#" Value="public static Foundation.NSObject ObserveTextDidChange (Foundation.NSObject objectToObserve, EventHandler<Foundation.NSNotificationEventArgs> handler);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class Foundation.NSObject ObserveTextDidChange(class Foundation.NSObject objectToObserve, class System.EventHandler`1<class Foundation.NSNotificationEventArgs> handler) cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.UITextView.Notifications.ObserveTextDidChange(Foundation.NSObject,System.EventHandler{Foundation.NSNotificationEventArgs})" />
<MemberSignature Language="F#" Value="static member ObserveTextDidChange : Foundation.NSObject * EventHandler<Foundation.NSNotificationEventArgs> -> Foundation.NSObject" Usage="UIKit.UITextView.Notifications.ObserveTextDidChange (objectToObserve, handler)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Xamarin.iOS</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Foundation.NSObject</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="objectToObserve" Type="Foundation.NSObject" />
<Parameter Name="handler" Type="System.EventHandler<Foundation.NSNotificationEventArgs>" />
</Parameters>
<Docs>
<param name="objectToObserve">The object to observe.</param>
<param name="handler">Method to invoke when the notification is posted.</param>
<summary>Strongly typed notification for the <see cref="P:UIKit.UITextView.TextDidChangeNotification" /> constant.</summary>
<returns>Token object that can be used to stop receiving notifications by either disposing it or passing it to <see cref="M:Foundation.NSNotificationCenter.RemoveObservers(System.Collections.Generic.IEnumerable{Foundation.NSObject})" /></returns>
<remarks>
<para id="tool-remark">This method can be used to subscribe for <see cref="P:UIKit.UITextView.TextDidChangeNotification" /> notifications.</para>
<example>
<code lang="csharp lang-csharp"><![CDATA[
// Listen to all notifications posted for any object
var token = UITextView.Notifications.ObserveTextDidChange ((notification) => {
Console.WriteLine ("Observed TextDidChangeNotification!");
};
// Listen to all notifications posted for a single object
var token = UITextView.Notifications.ObserveTextDidChange (objectToObserve, (notification) => {
Console.WriteLine ($"Observed TextDidChangeNotification for {nameof (objectToObserve)}!");
};
// Stop listening for notifications
token.Dispose ();
]]></code>
</example>
</remarks>
</Docs>
</Member>
<Member MemberName="ObserveTextDidEndEditing">
<MemberSignature Language="C#" Value="public static Foundation.NSObject ObserveTextDidEndEditing (EventHandler<Foundation.NSNotificationEventArgs> handler);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class Foundation.NSObject ObserveTextDidEndEditing(class System.EventHandler`1<class Foundation.NSNotificationEventArgs> handler) cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.UITextView.Notifications.ObserveTextDidEndEditing(System.EventHandler{Foundation.NSNotificationEventArgs})" />
<MemberSignature Language="F#" Value="static member ObserveTextDidEndEditing : EventHandler<Foundation.NSNotificationEventArgs> -> Foundation.NSObject" Usage="UIKit.UITextView.Notifications.ObserveTextDidEndEditing handler" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Foundation.NSObject</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="handler" Type="System.EventHandler<Foundation.NSNotificationEventArgs>" />
</Parameters>
<Docs>
<param name="handler">Method to invoke when the notification is posted.</param>
<summary>Strongly typed notification for the <see cref="P:UIKit.UITextView.TextDidEndEditingNotification" /> constant.</summary>
<returns>Token object that can be used to stop receiving notifications by either disposing it or passing it to <see cref="M:Foundation.NSNotificationCenter.RemoveObservers(System.Collections.Generic.IEnumerable{Foundation.NSObject})" /></returns>
<remarks>
<para>The following example shows how you can use this method in your code</para>
<example>
<code lang="csharp lang-csharp"><![CDATA[
//
// Lambda style
//
// listening
notification = UITextView.Notifications.ObserveTextDidEndEditing ((sender, args) => {
/* Access strongly typed args */
Console.WriteLine ("Notification: {0}", args.Notification);
});
// To stop listening:
notification.Dispose ();
//
//Method style
//
NSObject notification;
void Callback (object sender, Foundation.NSNotificationEventArgs args)
{
// Access strongly typed args
Console.WriteLine ("Notification: {0}", args.Notification);
}
void Setup ()
{
notification = UITextView.Notifications.ObserveTextDidEndEditing (Callback);
}
void Teardown ()
{
notification.Dispose ();
}]]></code>
</example>
</remarks>
</Docs>
</Member>
<Member MemberName="ObserveTextDidEndEditing">
<MemberSignature Language="C#" Value="public static Foundation.NSObject ObserveTextDidEndEditing (Foundation.NSObject objectToObserve, EventHandler<Foundation.NSNotificationEventArgs> handler);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class Foundation.NSObject ObserveTextDidEndEditing(class Foundation.NSObject objectToObserve, class System.EventHandler`1<class Foundation.NSNotificationEventArgs> handler) cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.UITextView.Notifications.ObserveTextDidEndEditing(Foundation.NSObject,System.EventHandler{Foundation.NSNotificationEventArgs})" />
<MemberSignature Language="F#" Value="static member ObserveTextDidEndEditing : Foundation.NSObject * EventHandler<Foundation.NSNotificationEventArgs> -> Foundation.NSObject" Usage="UIKit.UITextView.Notifications.ObserveTextDidEndEditing (objectToObserve, handler)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Xamarin.iOS</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Foundation.NSObject</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="objectToObserve" Type="Foundation.NSObject" />
<Parameter Name="handler" Type="System.EventHandler<Foundation.NSNotificationEventArgs>" />
</Parameters>
<Docs>
<param name="objectToObserve">The object to observe.</param>
<param name="handler">Method to invoke when the notification is posted.</param>
<summary>Strongly typed notification for the <see cref="P:UIKit.UITextView.TextDidEndEditingNotification" /> constant.</summary>
<returns>Token object that can be used to stop receiving notifications by either disposing it or passing it to <see cref="M:Foundation.NSNotificationCenter.RemoveObservers(System.Collections.Generic.IEnumerable{Foundation.NSObject})" /></returns>
<remarks>
<para id="tool-remark">This method can be used to subscribe for <see cref="P:UIKit.UITextView.TextDidEndEditingNotification" /> notifications.</para>
<example>
<code lang="csharp lang-csharp"><![CDATA[
// Listen to all notifications posted for any object
var token = UITextView.Notifications.ObserveTextDidEndEditing ((notification) => {
Console.WriteLine ("Observed TextDidEndEditingNotification!");
};
// Listen to all notifications posted for a single object
var token = UITextView.Notifications.ObserveTextDidEndEditing (objectToObserve, (notification) => {
Console.WriteLine ($"Observed TextDidEndEditingNotification for {nameof (objectToObserve)}!");
};
// Stop listening for notifications
token.Dispose ();
]]></code>
</example>
</remarks>
</Docs>
</Member>
</Members>
</Type>