Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom bubbles from UIView #8

Open
filipealva opened this issue Nov 4, 2016 · 0 comments
Open

Custom bubbles from UIView #8

filipealva opened this issue Nov 4, 2016 · 0 comments

Comments

@filipealva
Copy link

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant