nicklockwood / iCarousel

A simple, highly customisable, data-driven 3D carousel for iOS and Mac OS
http://www.charcoaldesign.co.uk/source/cocoa#icarousel
Other
12.01k stars 2.58k forks source link

Left Indent the first View rather than center align #239

Closed MiteshBhadrecha closed 12 years ago

MiteshBhadrecha commented 12 years ago

HI Nick

I need to set the offset of my first view to start from (0,0) instead of showing it from the middle of the screen. I am using the Carousel Type Linear. Any help is highly apprieciated. Thank you

nicklockwood commented 12 years ago

Use my SwipeView library instead of iCarousel.

MiteshBhadrecha commented 12 years ago

I checked ur SwipeView library too. but found the same issue here too. The first index starts from middle and not from (0,0). If you could direct me to class/line of code in your icarousel Library to tweak, it will be a real help.

nicklockwood commented 12 years ago

In SwipeView you can just set the alignment property to edge mode. There's no way to do this in iCarousel.