class UITextView_Delegate

Public Instance Methods

textView(textView, shouldChangeTextInRange:range, replacementText:text) click to toggle source
# File lib/formotion/patch/ui_text_view.rb, line 97
def textView(textView, shouldChangeTextInRange:range, replacementText:text)
  if self.shouldChangeCharactersInRange_callback
    return self.shouldChangeCharactersInRange_callback.call(textView, range, text)
  end
  true
end
textViewDidBeginEditing(theTextView) click to toggle source
# File lib/formotion/patch/ui_text_view.rb, line 84
def textViewDidBeginEditing(theTextView)
  if self.textViewDidBeginEditing_callback
    return self.textViewDidBeginEditing_callback.call(theTextView)
  end
end
textViewDidChange(theTextView) click to toggle source
# File lib/formotion/patch/ui_text_view.rb, line 110
def textViewDidChange(theTextView)
  if self.textViewDidChange_callback
    self.textViewDidChange_callback.call(theTextView)
  end
end
textViewDidEndEditing(theTextView) click to toggle source
# File lib/formotion/patch/ui_text_view.rb, line 104
def textViewDidEndEditing(theTextView)
  if self.textViewDidEndEditing_callback
    return self.textViewDidEndEditing_callback.call(theTextView)
  end
end
textViewShouldBeginEditing(theTextView) click to toggle source
# File lib/formotion/patch/ui_text_view.rb, line 77
def textViewShouldBeginEditing(theTextView)
  if self.textViewShouldBeginEditing_callback
    return self.textViewShouldBeginEditing_callback.call(theTextView)
  end
  true
end
textViewShouldEndEditing(theTextView) click to toggle source
# File lib/formotion/patch/ui_text_view.rb, line 90
def textViewShouldEndEditing(theTextView)
  if self.textViewShouldEndEditing_callback
    return self.textViewShouldEndEditing_callback.call(theTextView)
  end
  true
end