blob: e7a579be742fa2e203b7ff0e714cf6bd88456ca8 [file] [log] [blame]
{
"name": "SBTextInputView",
"version": "0.2.1",
"summary": "SBTextInputView is a view and inputAccessoryView which auto resizes based on the amount of text.",
"description": "## Usage\n\nTo run the example project, clone the repo, and run `pod install` from the Example directory first.\n\n## Requirements\n\n## Installation\n\nTo install SBTextInputView, simply add the following line to your Podfile:\n\npod \"SBTextInputView\", :git => 'https://github.com/schrockblock/SBTextInputView'\n\n## Usage\n\nThere are a couple options for using this view:\n\n1. Include it right in your xib/storyboard\n2. Use the specialized init method\n\nThe first option is pretty self explanatory. For the second, just do something like:\n\n`[[SBTextInputView alloc] initWithFrame:CGRectMake(x, y, width, height) superView:self.view delegate:self];`\n\n(You can check out the Example folder for more.)\n\nThen, when you want to show the keyboard, just call `becomeFirstResponder` on the instance. To hide it, `resignFirstResponder`.\n\nIf you'd like to make this an inputAccessoryView of something else, just pass in `nil` for the superView param in the constructor, and treat it like any other view.\n\nAll the subviews are exposed properties, so you can style them any way you'd like. The background is a lightweight subclass of `UIToolbar` which overrides some of its more annoying behavior.\n\nYou might also like to edit the text programmatically (perhaps reseting the text to @\"\") and have the view size appropriately. To do this, just set the inputTextView.text as desired, then call `notifyTextChanged` on the `SBTextInputView`.",
"homepage": "https://github.com/schrockblock/SBTextInputView",
"license": "MIT",
"authors": {
"Elliot Schrock": ""
},
"source": {
"git": "https://github.com/schrockblock/SBTextInputView.git",
"tag": "0.2.1"
},
"social_media_url": "https://twitter.com/schrockblock",
"platforms": {
"ios": "7.0"
},
"requires_arc": true,
"source_files": "Pod/Classes",
"resources": "Pod/Classes/*.xib"
}