Latest 0.1.2
Homepage https://github.com/staeblorette/JMMessageInput
License MIT
Platforms ios 10.0
Dependencies JMContainerControllers
Frameworks UIKit, JMContainerControllers
Authors

CI Status
Version
License
Platform

Adds a messanger like input. You have all seen how this works.

Alt text
Alt text
Alt text

Features

  • Input bar moves along keyboard
  • Dynamic resizing of the input bar when text extends over a line
  • Controll of resizing behaviour with delegates
  • Supports Dynamic Type
  • Manual keyboard dismissal with gesture
  • Aligning input controlls to baseline
  • Respects Safe Area guides
  • Full control of visuals with storyboard or programatically

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Installation

JMMessageInput is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod 'JMMessageInput'

The framework has a dependency on ‘JMContainerControllers’

Storyboard use

The ViewController will manage the layout of the bar. However due to problems of frameworks and IBDesignable, you have to attach trailing, leading and bottom contraint yourself, to avoid interface builder errors. Please make sure, however, to check the ‘Remove at Buildtime’ option. Same is for intrinsic content size.

Author

staeblorette, [email protected]

License

JMMessageInput is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "JMMessageInput",
    "version": "0.1.2",
    "summary": "Yet another mobile chat input field",
    "description": "Adds a messanger like input. You have all seen how this works.",
    "homepage": "https://github.com/staeblorette/JMMessageInput",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "staeblorette": "[email protected]"
    },
    "source": {
        "git": "https://github.com/staeblorette/JMMessageInput.git",
        "tag": "0.1.2"
    },
    "platforms": {
        "ios": "10.0"
    },
    "source_files": "JMMessageInput/Classes/**/*",
    "frameworks": [
        "UIKit",
        "JMContainerControllers"
    ],
    "dependencies": {
        "JMContainerControllers": []
    }
}

Pin It on Pinterest

Share This