• 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: Alex Zavatone <email@hidden>
  • Date: Mon, 12 Dec 2016 11:44:26 -0600

When in our Objective-C app, when we need to create nice interfaces to talk to our c library, we create an interface layer to handle chatting back and forth between the two.

There are lots of samples out there if you know how to look.

Here's one I just found.

http://philjordan.eu/article/mixing-objective-c-c++-and-objective-c++

Hope it helps.

- Alex Zavatone

On Dec 12, 2016, at 10:45 AM, David M. Cotter wrote:

> yes, it IS a carbon app but i can use objectiveC in it, so no problem there, i just need to know how to create an NSTouchBar
>
> i’ve been hacking at the NSTouchBarCatalog demo sample app for days now, but no matter what i try i am unable to transplant that code into my app and have it work.  the documentation provided by apple, which i read, is not the same type of doc that was written back in the days of “inside mac”, it provides no sample or instruction on how to just create one programmatically, that i could find or suss out.
>
> any help would be greatly appreciated, and even be rewarded with a free karaoke jukebox app!  :D  :D
>
> -dave
>
>> On Dec 12, 2016, at 5:08 AM, Richard Charles <email@hidden> wrote:
>>
>>
>>> On Dec 11, 2016, at 11:22 PM, David M. Cotter <email@hidden> wrote:
>>>
>>> So I need to programmatically instantiate an NSTouchBar, somehow
>>
>> This may be somewhat related. I have an app that has an extensive custom toolbar using NSToolbar programmatically in Objective-C. Initially it appeared this was only possible in Interface Builder but as my Cocoa skills increased I found I could do lots of things programmatically that are done in Interface Builder.
>>
>> As for Carbon I have no experience. My guess is that NSTouchBar is not usable with Carbon.
>>
>> --Richard Charles
>>
>
>
> _______________________________________________
>
> 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

_______________________________________________

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: "David M. Cotter" <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>)

  • 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