• 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
Re: NSTouchBar in Carbon
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: NSTouchBar in Carbon
      • From: "Gary L. Wade" <email@hidden>
References: 
 >NSTouchBar in Carbon (From: "David M. Cotter" <email@hidden>)
 >Re: NSTouchBar in Carbon (From: Richard Charles <email@hidden>)
 >Re: NSTouchBar in Carbon (From: "David M. Cotter" <email@hidden>)
 >Re: NSTouchBar in Carbon (From: Alex Zavatone <email@hidden>)
 >Re: NSTouchBar in Carbon (From: "David M. Cotter" <email@hidden>)

  • Prev by Date: Re: NSTouchBar in Carbon
  • Next by Date: Re: NSTouchBar in Carbon
  • Previous by thread: Re: NSTouchBar in Carbon
  • Next by thread: Re: NSTouchBar in Carbon
  • Index(es):
    • Date
    • Thread