Swipe up UITableView from bottom - ios

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.

Related

iOS customise user interface

Hi all I would like to make a horizontal scroll bar like below in iOS APP.
I read through lots of iOS programming book, none of them teaches me how to do custom UI. Can someone tell me, what knowledge I should learn in order to make this?
Thank you.
You should be using UICollectionView to make your life easier. There are many tutorials on that in which you probably just want to lay out your cells in one row and many columns to achieve the horizontal scrolling effect. Otherwise you may want to employ external libraries like this if you prefer a plug and play solution.

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.

How can I slow down UINavigationController's swipe back animation?

So UINavigationController's swipe-to-go-back functionality, that was introduced with iOS 7, has an annoying "snap" at the end of the animation. It's really jarring to me as a user, and I feel like if the animation could be tinkered with, then it might feel a bit better.
An example would be Instagram's update on 12/12/13. They somehow slowed down the swipe-back animation so that it feels much more fluid. Would this require completely custom functionality, or is there a way to hijack UINavigationController's existing functionality? How can this be achieved?
EDIT
Okay, so I know that custom transitions are the way to go. However, I'm confused on exactly how to implement them. I've seen references to several delegate methods, but no clear examples of how to achieve custom animations. Could someone provide a basic example, specifically for overriding UINavigationController's push/pop animations?
Yes, you can create your own interactive transitions to completely customise how they work!
I followed a fairly decent tutorial in the "iOS 7 By Tutorials" PDF by Ray Wenderlich.
I've also had a quick google and this might help: http://www.doubleencore.com/2013/09/ios-7-custom-transitions/

AlertView? Alert? What is it?

I've seen some cool looking "windows" / "alerts" /whatever they are called. I wish I knew. Here's some examples of them:
These shouldn't be Apple exclusive, since I've seen 3rd party apps use them! I'd like to know what are these windows?
It Custom UIActivityIndicator that you can found in this link
https://github.com/jdg/MBProgressHUD
MBProgressHUD is an iOS drop-in class that displays a translucent HUD with an indicator and/or labels while work is being done in a background thread. The HUD is meant as a replacement for the undocumented, private UIKit UIProgressHUD with some additional features.......
For mor information go to above Link
Thanks :)
These is not apple specific controls. You can create them.
The pop up shown in first image is very easy to make. You'll have to use 3 controls to make it.
Background UIImageView with the image.
UIActivityIndicatory
UILabel with whatever message you want to display.
You just have to load this UIImageView and Animate the UIActivityIndicatory to get this pop up. I've used these pop up in a lot of apps Apple don't object this.
Your first view is a UIProgressHUD. Original Apple HUD is in a private API and it is not recommended to use it.
http://cocoadev.com/wiki/UIProgressHUD
However, numerous implementations have appeared that emulate the original HUD. For one, have a look here:
https://github.com/y0n3l/LGViewHUD
though I am sure Google will give you a dozen similar implementations.

Do a Custom Animation with UISwipeGestureRecognizer

I want to implement an animation like the Calendar ipad application but in a bit different way. Is there any sample applications available or can someone suggest me any pdf's which can help?
I'd suggest reading the animation section of the View Programming Guide. You might also want some familiarity with gesture recognizers, too.
If this doesn't answer your question, you'll have to provide more specifics, examples of the code you're currently using to transition, what you've tried, etc.

Resources