Re: NSTouchBar in Carbon
Re: NSTouchBar in Carbon
- Subject: Re: NSTouchBar in Carbon
- From: Jens Alfke <email@hidden>
- Date: Mon, 12 Dec 2016 11:22:57 -0800
I haven’t used NSTouchBar at all yet, but from the API in the header file, it looks like you can instantiate one with -init, configure it, and then assign it to the touchBar property of the NSApplication instance.
(I'm assuming that even a Carbon-based app process has an NSApplication these days. You can access it via the global variable NSApp.)
—Jens
_______________________________________________
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