• 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
Layer-Hosting View on NSTabViewItem and switching Pages
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Layer-Hosting View on NSTabViewItem and switching Pages


  • Subject: Layer-Hosting View on NSTabViewItem and switching Pages
  • From: Joachim Deelen <email@hidden>
  • Date: Wed, 9 Apr 2008 14:15:14 +0200

Hi All,

Maybe someone can Help Me?!

I've created a NSTabView with two Pages (NSTabViewItems). On the second Page I got a Custom-View, that is hosting a Layer-Tree. This tree consist of a CATextLayer, within a CAScrollLayer, within a CALayer. The CALayer is the Root-Layer of the View.

When I switch to the second Page, everything works as expected. But after switching back to the first Page, the Text within the CATextLayer remains displayed for about one second thereby disturbing the appearance of the first page.

I've tried to hide the View, before switching the pages. I stop every Animation of the Layers immediately before the switch actually happens. I even tried to set the opacity of the Layers to 0.0 (and called setNeedsDisplay) but to no avail.

Functionality of both Pages is as expected, but the short remains of the Text are really annoying.

regards
Joachim Deelen

AQUARIUS-software
http://www.aquarius-software.de



_______________________________________________

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: Layer-Hosting View on NSTabViewItem and switching Pages
      • From: Joachim Deelen <email@hidden>
  • Prev by Date: Re: Beginner TableView Questions
  • Next by Date: componentsToDisplayForPath (running as root)
  • Previous by thread: Re:Text With Translucent Background
  • Next by thread: Re: Layer-Hosting View on NSTabViewItem and switching Pages
  • Index(es):
    • Date
    • Thread