Best way implementing infinite scrolling with Sprite Kit - ios

I found some good answers about infinite horizontal scrolling
But what I would like to do is an infinite scrolling background, horizontal and vertical.
So far I thought about setting 9 backgrounds and replace 3 of each every time one goes away from the screen.
Can anyone tell me if this is the best solution or if there is other easier way to do this?
Thank you in advance

Related

Using Swift gestures to move(or swipe) to fill-in collectionViewCells in a collectionView, or maybe some other solutions?

What I want to is to achieve something like swipe to right to fill-in colors(time availability) on a time-axes.
Basically like below:
My solution right now is to use a UICollectionView and make it horizontal and expect to swipe on the UICollectionViewCells in it to fill-in color. But seems like I don't have solid solution to do this. Do you guys have any other better solutions? We actually don't have to use my way like UICollectionView to solve this. Thanks.
Below is what I achieved, currently you can only tap-to-fill-colors, not swipe:
don't worry about the upper sliders, it's because the with is too long since I divided the width into 24 hours. the grey thin graduations are just UIView

Make UIScrollView scroll from scrolling inside OR outside of it

Say I have a UIScrollView that scrolls horizontally just fine. It's height is around 50px. After usability testing, a lot of people are trying to scroll the contents by panning outside of it. Here is the setup:
Where it says "Amount" is the scrollview
I am wondering if it is possible to attach a UIPanGestureRecognizer on the blurred background it sits on top of and have it scroll along with that as well. If this is possible, could someone give me a start on what that approach would possibly look like?
Nah, the simple solution is simply make the scroll view bigger .. it's just that simple.
Have it mostly transparent, with your content sitting where you want it.
What you describe in your question is a good idea but it's extremely! hard to really implement well, a total pain. You simply "make the scroll view bigger".
Nice looking app.
These may be relevant to you...
The UICollectionView "swipe-away" in iOS7 app manager?
Show/hide UIToolbar, "match finger movement", precisely as in for example iOS7 Safari

Creating uicollectionview layout 3x3 and horizontal paging

I have a UICollectionView and I want to make it to show at most 9 images on the screen at a time... 3x3 and I want to load 9 at a time by scrolling from the right to the left (and being able to see the ones already loaded, without reloading be scrolling from left to right).
I've been doing some research and I don't think I know how to even ask the correct question.
Does anyone have any idea where I can start to look?
Thanks.
I think this is a good place to start.

How to apply UIView shifts when scrolling between pages

i'm trying to apply a shift effect to subviews of a UIView, but those shifts should'n have the same phase. A good example of that is the welcome screen in SoundClound.
As you can see, in the second image i'm scrolling to the second page, and the label slides more than the image (so it looks that the label moves faster than the image). So the subviews lose the alignment when scrolling, but recover it back if we stop the swipe.
Does anyone know how this effect is named? and where can i find some help to implement it?
Thanks a lot!
"Parallax scrolling" is what you want to search for.
Basically it is done by moving foreground objects faster background objects to simulate depth.
Check out http://blog.denivip.ru/index.php/2013/08/parallax-in-ios-applications/?lang=en for a starting point!

Curved UITableView/UIScrollView

I am trying to build an app that gives users a scroll option on the side (a UITableView or a UIScrollView) that is curved/elliptic, but I don't really know where to start so I would appreciate some help.
The idea would be to have the scroll/table look like this:
A
B
C Rest of screen
D
E
I look forward to hearing some ideas.
I once did a nice looking scroll view where you could scroll through thumbnails horizontally. I created a "curved" effect by making the images towards the center larger, similar to cover flow. It is quite simple, just change the transform based on the position in viewDidScroll. I think that would perhaps be a similar effect to what you are looking for.

Resources