nguyenhuy / asyncmessagesviewcontroller Goto Github PK
View Code? Open in Web Editor NEWA smooth, responsive and flexible messages UI library for iOS.
License: MIT License
A smooth, responsive and flexible messages UI library for iOS.
License: MIT License
Would you create an avatar image event delegate or callback? Or is there any easy way you suggest to add a listener to avatar images?
@nguyenhuy
The example is SO outdated....
Clearly showing that this library is useless..
OMG I waisted time to fix errors, and in the end got error with .some lPods not found...
You are worst programmer ever!!!
⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️
Update
Oh, forget this. It can not be add to CocoaPods...
After installing the pod in XCode 9, I am unable subclass or otherwise use AsyncMessagesViewController. All other dependencies (SLKTextViewController, etc.) are accessible. I have deintegrated and reinstalled my pods. All other pods work.
Hey @nguyenhuy!
Terrific project. I'm excited. I've been thinking for some time now to build something similar but never managed to find time to actually write it, so congrats to you.
Do you have a public roadmap or contributor guidelines?
Is is posiible to have avatar image under the message bubble. Thanks
Will this work with Swift4 ?
Can you update please? :)
I just noticed that when the chat view is at the bottom and I tap the input view, the chat view doesn't scroll up, and the last bubbles of chat get hidden by the keyboard view. When I tap outside the keyboard, the keyboard get dismissed but the chat scrolls back down with it, as if it had been scrolled up before and now "wants to get back" to its initial position. Though, when the chat view is not at the bottom, if I tap the input view, the chat does scroll up in a normal way, and when I tap outside the keyboard it scrolls back to its initial position. How can I fix the scroll behavior when the chat view is at the very bottom? Thank you.
I have yet to find a message Library that will allow me to expand and collapse sections. I want to be able to pull in a "chat history" by date and somehow section it off by date. Thoughts?
Hi! Here is the scenario: my first view controller has an ASTableView containing some dummy cells for testing. Clicking either cell will push a new view controller named ChatViewController (which is exactly the ViewController from your example), with the exception that the collectionView scrolls to bottom after all the messages are inserted with success.
dataSource.collectionView(collectionView, insertMessages: messages) { (success) -> () in
if (success) {
self.scrollCollectionViewToBottom()
}
}
After I click the back button, my app crashes giving this log:
If I scroll back to top in the ChatViewController and click the back button, the app will not crash. Is there any solution? Thank you!
Hey,
First of all: Congrats for this awesome work! The first time I see AsyncDisplayKit
I thought it would be awesome to have a chat library built on top of it.
I don't have played enough with AsyncDisplayKit
to being comfortable to adopt its sizing and designing techniques (i.e. without UIKit and Autolayout), and I'm have a deploy to do in the next days.
I have a .xib within a UIView designed chat bubble I would like to port to AsyncMessagesViewController
. Can I use the following method to inject my custom view into an ASDisplayNode and make it works with your library?
let node = ASDisplayNode(viewBlock: { () -> UIView! in
let view = SomeView();
return view
})
(I've tried it, but I don't know if I'm doing something wrong or if it is not possible)
Thank you in advance!
Please read this guide on writting a custom ASDisplayNode.
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.