Trouble with layer-backed view on NSPreferencePane
Trouble with layer-backed view on NSPreferencePane
- Subject: Trouble with layer-backed view on NSPreferencePane
- From: Stefan Hafeneger <email@hidden>
- Date: Sat, 08 Nov 2008 00:29:47 +0100
Hi,
I use a layer-backed view on a preference pane. When I enable layer-
backing the system preferences application does not do smooth
transitions when the I select and deselect the pane.
I could solve the first case. I start with no layer-backing and when
the pane is shown I enable it.
I could also partly solve the second case: In shouldUnselect I switch
off layer-backing, detach a new thread (with 0 seconds delay) and then
return NSUnselectLater. In the second thread I I just call
[replyToShouldUnselect:YES]. Since this method is called in the next
run loop cycle, this works.
Unfortunately the new thread seams not to be detached when the user
wants to quit the application. So the applications never quits. Does
anybody has a better solution for this?
With best wishes, Stefan
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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