iOS: Facebook chat heads behaviour and animations -
this question little out of date, i've been using new facebook ios "chat heads" feature (with chat heads present within app), , wondering how facebook went implementing this? e.g. how did handle drag animations chat heads, , (when clicking on chat head) how did manage overlay uitableview on top of "base" uiviews in background?
is part of uikit, or did create own classes handle this?
to answer @stuartm's question in comments, in last couple of months i've had bit more experience uikit, , think have rough idea on how implement if going it.
what chat head, create styled uibutton , add subview main window. dragging, add gesture recognizer uibutton respond drags, , "snapping edges" use ios 7's new uikit dynamics (http://www.raywenderlich.com/50197/uikit-dynamics-tutorial).
as showing uitableview overlay chat history, use child view controller (https://developer.apple.com/library/ios/featuredarticles/viewcontrollerpgforiphoneos/creatingcustomcontainerviewcontrollers/creatingcustomcontainerviewcontrollers.html#//apple_ref/doc/uid/tp40007457-ch18-sw6) , popping open animation, use default uiview animations, maybe using animation transactions i'm not sure can implicit animations?
and think should it. honest, think has handle on frameworks should able build in ios apps, , if create "chat heads" sample project in spare time, should give pretty indepth knowledge of how frameworks work.
Comments
Post a Comment