文件名称:RxKeyboard:iOS中的React式键盘
文件大小:28KB
文件格式:ZIP
更新时间:2024-02-24 10:59:26
swift keyboard ios rxswift iOSSwift
Rx键盘 RxKeyboard提供了一种观察键盘框架变化的React方式。 忘记键盘通知。 它还与UIScrollViewKeyboardDismissMode.interactive完美配合。 入门 RxKeyboard提供了两个 。 /// An observable keyboard frame. let frame : Driver < CGRect> /// An observable visible height of keyboard. Emits keyboard height if the keyboard is visible /// or `0` if the keyboard is not visible. let visibleHeight : Driver < CGFloat> /// Same with `visibleHeight` but only emits values when keyboard is about to show. This is /// useful when adjusting scroll view content
【文件预览】:
RxKeyboard-master
----.gitignore(271B)
----Sources()
--------RxKeyboard()
----RxKeyboard.podspec(715B)
----Example()
--------RxKeyboardExample.xcodeproj()
--------Sources()
--------Resources()
--------RxKeyboardExample.xcworkspace()
--------README.md(420B)
--------Supporting Files()
--------Podfile.lock(2KB)
--------Podfile(275B)
----.travis.yml(2KB)
----LICENSE(1KB)
----scripts()
--------carthage.sh(1KB)
----README.md(5KB)
----Package.resolved(323B)
----Cartfile.resolved(35B)
----Cartfile(36B)
----Package.swift(385B)
----RxKeyboard.json(1KB)
----Gemfile(74B)
----Gemfile.lock(2KB)