-
Notifications
You must be signed in to change notification settings - Fork 31
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
VC's did/will (dis)appear #100
Conversation
private func triggerForSelector(selector: Selector) -> Signal<(), NoError> { | ||
return self | ||
.rac_signalForSelector(selector) | ||
.rex_toSignal() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use rex_toTriggerSignal()
from #99 ?
It might be nice to add the appear methods while you're at it. It seems natural to want both if you want one. |
return triggerForSelector(#selector(UIViewController.viewWillAppear(_:))) | ||
} | ||
|
||
private func triggerForSelector(selector: Selector) -> Signal<(), NoError> { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should triggerForSelector
be inside extension of NSObject
(or UIResponder
) ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@335g Looking at UIResponder
documentation, I don't think so. I might be missing something.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Now, It might be good in this 👍
Awesome! |
No description provided.