• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Carousel - like control for Mac OS
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Carousel - like control for Mac OS


  • Subject: Re: Carousel - like control for Mac OS
  • From: Nick <email@hidden>
  • Date: Wed, 21 Dec 2011 11:22:14 +0200

I am not sure how to do this.
Currently, I have an NSScrollView (whose document view has all the
item views), with hidden scroll bars, and buttons "next" and
"previous". When "next" and "prev"  are clicked, I -scrollToPoint
NSScrollView's content view a bit to the right or to the left.
It seems to be working as I need, except that it doesn't scroll
smoothly (I guess I need to use somehow). I suppose I need to attach a
core animation layer to NSScrollView? Or use somehow CAScrollView?
I've never worked with Core Animation before, except using animator
"proxy", however
[[[[myscrollview] contentView] animator] scrollToPoint:nextPoint];
doesn't add any animation..
What would be the quickest way to make it work?

2011/12/21 Vincent Habchi <email@hidden>:
>> And then,  I do not have much space on the window to put this
>> coverflow (while a strip can be small and still look good), plus a
>> strip can display more than 1 item at once, and the user can click on
>> any of these items without too much of scrolling).
>
> Why don’t you use CALayers (more specifically a CATileLayer and sublayers containing your images)?
>
> Vincent
_______________________________________________

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

  • Follow-Ups:
    • Re: Carousel - like control for Mac OS
      • From: vincent habchi <email@hidden>
    • Re: Carousel - like control for Mac OS
      • From: Olivier Palliere <email@hidden>
References: 
 >Carousel - like control for Mac OS (From: Nick <email@hidden>)
 >Re: Carousel - like control for Mac OS (From: "Stephen J. Butler" <email@hidden>)
 >Re: Carousel - like control for Mac OS (From: Nick <email@hidden>)
 >Re: Carousel - like control for Mac OS (From: Vincent Habchi <email@hidden>)

  • Prev by Date: Re: Carousel - like control for Mac OS
  • Next by Date: Re: Example code eyePhoto-Step8 & IB help needed
  • Previous by thread: Re: Carousel - like control for Mac OS
  • Next by thread: Re: Carousel - like control for Mac OS
  • Index(es):
    • Date
    • Thread