Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support UIGestureRecognizer #122

Open
wants to merge 15 commits into
base: master
Choose a base branch
from
Open

Support UIGestureRecognizer #122

wants to merge 15 commits into from

Conversation

siemensikkema
Copy link

  • contains rex_action and rex_enabled
  • includes test
  • clean up UIButtonTests

@RuiAAPeres
Copy link
Member

I will test this as soon has I have time. Thanks @siemensikkema !

@RuiAAPeres
Copy link
Member

@siemensikkema can you rebase?

andwaredev-zz and others added 13 commits July 10, 2016 23:44
* Add userInteractionEnabled to UITableViewCell

This allows the binding of a Bool to the cell's userInteractionEnabled attribute.

* Move code into correct file

* Remove UITableViewCell.swift file from root dir

* Revert UITableViewCell.swift to original

* Add userInteractionEnabled to UIView

* Update comments in UIView.swift

sorry for the commit spamming 😁

* Add testUserInteractionEnabledProperty
* Changed `rex_text` bindable property to be an optional string

Fixes #125, #129.

* Updated UILabel's text property test to include nullability
* Provide a `setUp` to properly configure the associated property

The introduced `setUp` is extremely helpful to setup any signals that may
affect the property once.

* Add bindable property to wrap a control's value

This property is common to every `UIControl` and can be used by
providing a getter and a setter for the value wrapped. This property
uses `UIControlEvents.ValueChanged` and `UIControlEvents.EditingChanged`
events to detect changes and keep the value up-to-date. This kind of
logic can be reused instead of being defined and used for each control.

* Use `setUp` to install the dependent signal of `rex_dismissAnimated`

This prevents repetition of events in cases where the property is
accessed more than once (each access adds a new `rac_signalForSelector`
for the dismiss of the view controller).

* Fixes #129 - UITextField's text bindable property should be of optional type
@siemensikkema
Copy link
Author

@RuiAAPeres done!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants