How to add animation in tableview similar to google+ on scrolling? - ios

I am trying to add animation in tableview similar to google plus similar to google plus, is there any reference form where I can learn or get any idea that how should I implement that animation. I am attaching the image of animation which I have implemented in android, exact animation I am trying to implement in IOS.

Here's a nice tutorial for your problem:
http://www.raywenderlich.com/49311/advanced-table-view-animations-tutorial-drop-in-cards

Related

Scrolling UICollectionViewCell to background instead of vertical

I'm trying to recreate the Shazam Discover UI by subclassing UICollectionView/UICollectionViewFlowLayout.
I've got as far as paging the cells and making them the right size, however, I'm having trouble getting the cells to scroll to the background, as in, I don't have a clue on how to get it done, I've searched everywhere but can't seem to find it.
An example of what I'm trying to achieve:
Any help/tips on how I could do this would be greatly appreciated.
edit: I ended up building my own solution:
https://github.com/JoniVR/VerticalCardSwiper
You could use third party libraries to achieve the same.
You may use StickyCollectionView. This is an Objective C based library. I believe this one with some customization will help you to approve this.

Swipe up UITableView from bottom

I would really like to do this with a MapView as background, and a TableView a foreground: http://youtu.be/ZrZ_B7DRqdo . Does anybody know a way to do this?
I would recommend following this tutorial but be aware, there is an underlying bug in iOS8 using this solution which you can solve easily like others did in this answer.
Another possibility is using SCStackViewControllers library available in github which will provide multiple examples on how to stack and animate transitions between multiple UIViewcontroller.

iOS: Facebook chat heads behaviour and animations

This question is probably a little out of date, but I've been using the new Facebook for iOS with the "chat heads" feature (with the chat heads only present within the app), and was wondering how Facebook went about implementing this? E.g. How did they handle the drag animations for the chat heads, and also (when clicking on the chat head) how did they manage to overlay a UITableView on top of the "base" UIViews in the background?
Is this all part of UIKit, or did they create their own classes to handle this?
To answer #StuartM's question in the comments, in the last couple of months I've had a bit more experience with UIKit, and I think I have a rough idea on how I would implement something like this if I was going to do it.
What I would do is for the chat head, create a styled UIButton and add it as subview to the main Window. For the dragging, I would add a Gesture Recognizer to the UIButton to respond to the drags, and for the "snapping to edges" I would use iOS 7's new UIKit Dynamics (http://www.raywenderlich.com/50197/uikit-dynamics-tutorial).
As for showing the UITableView overlay with the chat history, I would use a Child View Controller (https://developer.apple.com/library/ios/featuredarticles/ViewControllerPGforiPhoneOS/CreatingCustomContainerViewControllers/CreatingCustomContainerViewControllers.html#//apple_ref/doc/uid/TP40007457-CH18-SW6) and as for the popping open animation, I would just use the default UIView animations, maybe using animation transactions as I'm not sure I can do everything with just the implicit animations?
And I think that should be it. To be honest, I think anyone who has a handle on those frameworks should be able to build anything in their iOS apps, and if you were to create a "chat heads" like sample project in your spare time, should give you a pretty indepth knowledge of how those frameworks work.

iOS - View Transition open and close

In the latest Expedia app for iOS, they have a very interesting effect that I am trying to wrap my head around.
When you tap on any tile it flip and zoom animation.
Can you please help me for the same for UIView transition.
I've wanted to use this kind of animations in my app as well, so I have written a simple custom segue that does just that - you can even choose between multiple types of flips!
It's called IBCellFlipSegue, give it a try and let me know what you think!
https://github.com/IBLabs/IBCellFlipSegue

Parallax Effect UIScrollView ShowYou

I was looking at the latest update to the ShowYou application, and the parallax effect they have implemented is absolutely amazing. I am playing around with UITableView and UIScrollView to see if I can sort of mimic it, but I wanted to see if I could touch base with some other folks to see how they would do it.
Any thoughts?

Resources