New validation features and misc

bundle update ruby_motion_query

Read the updated validation documentation here.

New features

  • Added white_list ability to all validation rules
  • Added custom validation rule which takes a regex param
  • Added add_validator for easy access to add your own named validation methods and you can make them as complex as you’d like (not limited to regex, uses opts etc.)
  • Show a grid overlay. or
  • Added attributed_text styler to UILabel
  • Added line_break_mode styler to UILabel

Bug fixes

  • Changed email regex pattern
  • Fixed “Uninitialized constant RubyMotionQuery::Event::ValidationEvent” bug

Todd Werth /

Coder, designer, and founder of InfiniteRed. Created RMQ and writes the RubyMotion Dispatch.