-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathBABFrameObservingInputAccessoryView.podspec
47 lines (34 loc) · 2.21 KB
/
BABFrameObservingInputAccessoryView.podspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
Pod::Spec.new do |s|
s.name = "BABFrameObservingInputAccessoryView"
s.version = "0.1.0"
s.summary = "A simple view which allows for an iOS Messages style keyboard input view and panning behavior. "
s.description = <<-DESC
BABFrameObservingInputAccessoryView
===================================
A simple view which allows for an iOS Messages style keyboard input view and panning behavior.
Supports iOS 7.0+
* Free of method swizzling
* No associated objects or other runtime hacks
* Works easily with or without Auto Layout
* Tested on iOS 7, iOS 8, iPhone & iPad
This is a UIView subclass which allows for observing the frame of a UITextView or UITextField's inputAcessoryView. This allows your to keep the text field above the keyboard as it moves. Also this allows for interactive keyboard dismissal using UIScrollView's keyboardDismissMode property.
### More Info
I wrote a [blog post](http://www.brynbodayle.com/messages-style-input-view-in-ios-8/) about the history and my decisions in handling this problem.
###Feedback
I'd love to here any questions, suggestions, or issues you might have. I've been using this in several of my apps, so it will remain in active development. Feel free to reach out on [Twitter](http://twitter.com/brynbodayle) or via issues if you have any feedback.
DESC
s.homepage = "https://github.com/brynbodayle/BABFrameObservingInputAccessoryView"
s.screenshots = "https://camo.githubusercontent.com/ffbb6066decd2c186108248d56ee6d1296813a59/687474703a2f2f7777772e6272796e626f6461796c652e636f6d2f46696c65732f4241424672616d654f6273657276696e67496e7075744163636573736f7279566965772e676966"
s.license = 'MIT'
s.author = { "Bryn Bodayle" => "bryn.bodayle@gmail.com" }
s.source = { :git => "https://github.com/brynbodayle/BABFrameObservingInputAccessoryView.git", :tag => s.version.to_s }
s.social_media_url = 'https://twitter.com/brynbodayle'
s.platform = :ios, '7.0'
s.requires_arc = true
s.source_files = 'Pod/Classes/**/*'
s.resource_bundles = {
'BABFrameObservingInputAccessoryView' => ['Pod/Assets/*.png']
}
s.public_header_files = 'Pod/Classes/**/*.h'
s.frameworks = 'UIKit'
end