keiromidori / sbmessageinputview Goto Github PK
View Code? Open in Web Editor NEWA home made iMessage textview with an accessory button
License: MIT License
A home made iMessage textview with an accessory button
License: MIT License
For example setTextView()
contains corner radius, content insets and font changes which I don't want to use in my project.
layoutSubviews()
contains even custom corner radius which is impossible to change properly and your control looks like awful with it (ran your example on iphone 5s, ios 12)
I want to add inputaccessorview on uitextview that will appear on keyboard top how can I add in this library??
UITextView
is created twice - inside both SBMessageInputView
on creation and setTextView()
. The only reason you should use that is if you want to use it without constraints but in setTextView()
you declare constraints, so it should work anyways.
Additional linked bug is you forbid to setup the initial text because the whole text view is recreated. The same is for mainView
and button
delegate
variable must be weak or you get memory leak because an object is retained by this control
For example in my case I need to move content in table view according to current textView
height but your control don't send any event about size change. Or should I check heightConstraint.constant
after each symbol input?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.