Swipe effect for uiimageviews

I have a little question. I've made a little image gallery with a swipe effect to skip through the uiimageviews. That works fine but I want to improve it. The next or previous picture is shown not until the swipe has finished. But I want it to behave like the photo library for example or the home screen, that the imageview 'follows' the touch and skips to the next or previous picture when a certain point is reached. I hope I've made myself clear :-) It's just that I want to simulate the swipe effect of the photo library.


The easiest by far is to use an UIScrollView and to enable paging like that:

 myScrollView.pagingEnabled = YES;

See here for details.

Need Your Help

How to print list elements (which are also lists) in separated lines in Python

python list

I've checked the post and answers on the SO post Printing list elements on separated lines in Python, while I think my problem is a different one.

How to integrate XEP-0055 in xmpp Chat app for search user in ios

ios iphone

I am creating a XMPP chat app on iOS. I am trying to do is search user over XMPP. I checked the opernfire server and it has the search plugin enabled. I gone through XEP:0055 and found the stanza.