Example #1
0
 public static IProperty <string> TextProperty(this UITextView textView, bool immediate = true)
 {
     if (immediate)
     {
         return(textView.GetProperty(_ => _.Text, TextChangedBinding));
     }
     else
     {
         return(textView.GetProperty(_ => _.Text, EditingDidEndBinding));
     }
 }
Example #2
0
 public static IProperty <CGSize> ContentSizeProperty(this UITextView textView)
 {
     return(textView.GetProperty(_ => _.ContentSize, KVCBindingStrategy.Instance));
 }