Code Monkey home page Code Monkey logo

chatheads's People

Contributors

brutella avatar elfenlaid avatar pedrovieira avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

chatheads's Issues

hide/show chathead + support multiple tab

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

Current implementation doesn't animate ChatHeads based on physics

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.

Rotation Support

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.

Touch Issue on new iOS 3d Touch

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

  • (void)draggableViewTouched:(CHDraggableView *)view

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 ???

License

Please add a license, preferably a permissive one like BSD, Apache or MIT.

thx!

Need advice

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

Out of view bounds ChatHead

User is able to drag chat head out of bounds.
In case of top border it's all right, ChatHead only start in strange position, but if ChatHead was touched, then it return to right position. It would be great if ChatHead respects a down border too.

iOS Simulator Screen shot 29 Apr 2013 16 31 32
iOS Simulator Screen shot 29 Apr 2013 16 31 27

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.