Re: NSView vs CALayer
Scott Anguish <scott-i3r0QYmXU3JWk0Htik3J/[email protected]>
| Newsgroups | gmane.comp.macosx.devel |
|---|---|
| Message-ID | <[email protected]> |
Rule #1 You do not use NSView functionality (i.e. drawing) and CALayer drawing in the same view. Rule 2 See rule number 1 On Sep 29, 2009, at 6:32 AM, parfeon wrote: > > Hello everyone. > > Working on project which draws some parts of its UI with CoreAnimation > CALayers. Currently i need create some cover view, which will appear over > whole UI (that NSView always there, coz it will response on user drag n > drop). > I'm stumbled with such problem as shown on screen > > http://www.nabble.com/file/p25659257/nsviewvscalayer.png > > http://img44.imageshack.us/i/nsviewvscalayer.png/ > > Transparent view overlays the view in which I used CALayers for drawing. > Dunno why, but when I change that subview (with CALayers) to any other (w/o > CoreAnimation drawing... some standard IB elements) everything looks great. > > > Can someone help me with this? > > Thanks > -- > View this message in context: http://www.nabble.com/NSView-vs-CALayer-tp25659257p25659257.html > Sent from the OmniGroup - MacOSX-Dev mailing list archive at Nabble.com. > > _______________________________________________ > MacOSX-dev mailing list > [email protected] > http://www.omnigroup.com/mailman/listinfo/macosx-dev