Re: Carousel - like control for Mac OS
Re: Carousel - like control for Mac OS
- Subject: Re: Carousel - like control for Mac OS
- From: Nick <email@hidden>
- Date: Wed, 21 Dec 2011 10:09:29 +0200
Unfortunately, on Mac OS this control does not support click on items
detection, which makes it useless on Macs.
from README.md:
"On Mac OS there is no easy way to detect clicks on carousel items
currently. You cannot just supply an NSButton as or inside your item
view because the transforms applied to the item views mean that hit
detection doesn't work properly. I'm investigating possible solutions
to this (if you know a good way to fix this, please get in touch, or
fork the project on github)."
2011/12/20 Tom Hohensee <email@hidden>:
> Have a look at iCarousel. Has a port for iOS as well as Mac OS.
>
> Tom
>
> On Dec 20, 2011, at 3:00 PM, Nick wrote:
>
> Hello
> I am wondering, if a component exists similar to this
> http://www.ajaxdaddy.com/demo-jquery-carousel.html
> for Mac OS.
>
> Basically, what I need is just "next" and "previous" buttons (and
> these images smoothly scrolled one image per "next" or "prev" button
> click).
>
> At the moment I am trying to implement it on my own.
> This seems to be a simple NSScrollView with hidden scroll bars whose
> inner view has these image views added as subviews.
>
> However, I am not sure how to implement smooth scrolling of one image
> per click. I guess I need to use Core Animation?
> Are there any simple examples that I could look at?
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
>
>
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden