CALayer with AppKit objects inside
CALayer with AppKit objects inside
- Subject: CALayer with AppKit objects inside
- From: Daniele Margutti <email@hidden>
- Date: Mon, 18 Mar 2013 10:10:55 +0100
Hi guys,
I'm working on a thing that involve CALayer as base container for objects instead of NSView (due to iOS compatibility issues).
Now everything works fine, I can replicate touch events and some other interesting things; however I have a question: for some controls I would to use standard AppKit objects (like NSTextField).
I've tried to put the NSTextField's layer inside my layer but I've noticed that graphical and logical sides are separated and the result is an "image" (?) of my control without any interactive support.
So my question is… should I move to NSView or can I solve this issue?
Any idea
_______________________________________________
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