I am trying to expand the subviews in a uiscrollview on tapping, exactly like how the twitter #music app does.I am confused with the flow calculations to make this happen.Have attached the screenshot below.Any help could be greatly appreciated.Thanks.
Related
Question is simple, it is about adding gestures to horizontal stackView that has gestures like tableview. Think of horizontal tableView but also has certain stop points.(Avoiding view to stop any point.) To be more clear, A horizontal working tableView with its gesture features (bouncing, sliding, etc) and has tableViewCell's that has same size of the UIWindow. Finally let's after sliding, it can not stop at a point that reveal's 2 cell's at the same time. I hope it's clear.
Purpose of this making a background to tell people about the app in Login page. I thought stackView would be best for that job but if you have better way, please inform me.
I think you are looking for UIPageViewController instead of using a stackView. A great tutorial can be found here: https://spin.atomicobject.com/2015/12/23/swift-uipageviewcontroller-tutorial/
Im not sure what you mean with "A horizontal working tableView" but if you are looking for a PageViewController that can scroll up and down check this out: https://github.com/stefanceriu/SCPageViewController You can do a lot more with this.
Is it possible to change the scrolling on a UITableView? Such as the following?
http://dribbble.com/shots/1176252-Events-iOS7?list=users
In this example, the cells have an accordion effect to them. It's like when the user drags a cell from the top of the page down the ones underneath the dragged location pinch into it, and the ones above it pull away.
I feel like I could do this if I were just use UIView's as cells and custom animate them but I believe that I would be wasting so much making a ton of UIViews.
Any tips, or direction would be so helpful. Thanks!
I have got a uitableview inside of a uiscrollview.
So the uitableview is smaller than the uiscrollview. And when I start to scroll down on the uitableview and it reaches the bottom, I am able to scroll in the uiscrollview.
And it works fairly. But not perfectly.
I would like to make the ux perfect so the scrollview would be kind of an extension (or another section of the uitableview). I don't want to add any section or footerview at the bottom of the tableview.
I was wondering on doing this by implementing something like this:
//
if tableview didscroll to bottom
then scrollview scrolltorect xxx
//
but it would only work if the uitableview was scrolling down.
I am not sure if this would replicate the correct ux behaviour.
Could you guys give me your advice on how to do this?
Thank you and best regards.
I found this very hard and difficult to execute so I changed my UI in order to put the bottom of the interface inside the tableview footer's view. This way the experience of scrolling my app got much smoother.
I was trying to replicate something similar to the new Path app in the fact that the UIScrollview houses the main content view, and when it scrolls over it shows the menus. My current implementation is I have the menu behind the scroll view and I have a transparent UIView covering where the menu is in the scroll view. That way when the scroll view swipes over you can fully see the menu. Problem is, you can;t interact behind the UIScrollview.
Does anyone know how to replicate the path type of functionality or be able to interact behind a UIScrollView?
Thanks a lot for the help.
For anyone else that is trying to accomplish this i solved it by implementing the didenddecelerating method and trimming the frame down to not cover the page UIView.
Then whenever the user begins to interact with the part of the main scrollview view the frame resizes again
What I want to accomplish is something like this:
Two different scrollViews, and each one scrolls horizontically. Each showing 3 images, and a half one (or 1/3th) piece of the next image in the datasource of the scrollview.
Does anyone know how to accomplish such a scrollview?
I also want to be able to tap an image to flip it and show some information and a button to the detail. (See lower scrollview).
Tapping it again would just show back the image, much like the coverflow ui inside itunes, but without the coverflow being 3D...
Any help is welcome :)
Thanks in advance,
Lewion
Scroll view doesn't have a datasource. What you are looking for is standard scrolling and nothing special.. So it is definitely doable... Check the scrolling and photo scroller sample codes from apple developer samples. For more implementations of scroll view check the scroll view suite sample code and read the scroll view programming guide.
The flip animation is also a standard animation for a view and is easily doable. For example, create a utility application for iphone. It has a flip side view. See how that animation is done.