brutella / chatheads Goto Github PK
View Code? Open in Web Editor NEWAn implementation of Facebook's ChatHeads on iOS.
License: ISC License
An implementation of Facebook's ChatHeads on iOS.
License: ISC License
Got a tip from @joericioppo to use spring functions.
"@brutella API usually looks like [layer xx_animateToValue:value forKeyPath:keyPath tension:tension damping:damping];"
File not found.
Sometime we need to hide/show chathead like facebook chat. I would like you could implement that function with smooth animation. btw, multiple chathead is really cool. I think many developer will say thank to you with that feature
BR
Please remove this thread - no issue here. Thanks!
Here's the video preview to make it easier for you to see what's wrong: http://cl.ly/3B1s2r1j0f2O
Steps to reproduce:
Thanks!
Currently ChatHeads are positioned based on a simple rule (move to the edge of the screen based on the release point). But Facebook built a more sophisticated way of interaction. The whole system is based on real physics (e.g. you can throw a ChatHead from one edge to the other, which is definitely done by calculating the physics).
[...] “We built an entire physics engine that everything runs on,” he says. “It’s more like your app is built like a game, as opposed to built with app components.” [...] Source <- maybe that's only related to Android.
I'm not sure if the animations are done by a physics engine or by "simply" calculating the animation path based on gravity and mass and the animation itself is done by CoreAnimation.
In my application, I will not need to use this functionality. I can remove this option in any way?
Would be cool add support to rotate the chathead tableview when the user rotates his device.
Eg. Rotates to the left, the bubble goes to the top and the tableview opens below.
i created 2 or more avatar, it work fine. But when i try to move the first avatar, it crash. Please fix it.
P/S: sorry about my english
Foremost thanks for this awesome work ....
Was working Perfect but seems issue on UITouch when it comes to devices with 3d Touch
On 3d Touch Devices when a touch is made,instead of
it gets detected as drag move, and also noticed few changes on its CGPoint too... Can't get what's the issue on with these devices ???
Thanks for sharing this, it's more than helpful.
But it would be great if there is any working example to illustrate the usage of this library.
Please add a license, preferably a permissive one like BSD, Apache or MIT.
thx!
Hi,
Thanks for sharing this library... it's not an issue.
I wonder how can I remove the avatar when it is placed onto a particular area like the FB app?
Thanks
Hi can any body tell me is this possible to use out side of app like fb messager?
CAAnimation+Blocks.h and CAAnimation+Blocks.m Some Code files are missing
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.