Re: Need for Swift
Re: Need for Swift
- Subject: Re: Need for Swift
- From: Paul Scott via Cocoa-dev <email@hidden>
- Date: Tue, 15 Oct 2019 09:57:17 -0700
- Dkim-filter: OpenDKIM Filter v2.11.0 secure.paul-scott.us 421284058B
> On Oct 15, 2019, at 9:40 AM, Richard Charles via Cocoa-dev
> <email@hidden> wrote:
>
> I have found your comments enlightening. So if I understand correctly you
> have three choices for a native UI on the Mac.
>
> 1. Objective-C which would integrate nicely with your C++ business logic
> using Objective-C++. One problem is you have very little experience with the
> Cocoa frameworks. Another problem is you are hesitant to pursue this path
> fearful that down the road Apple may abandon Objective-C.
>
> 2. Another option is Swift but it has zero integration with C++. So this is
> really not a choice at all.
You can write a simple C or Objective-C wrapper to interface to C++, which
itself is accessible from Swift.
>
> 3. A third option would be to combine all three. Keep your business logic in
> C++ and combine with Objective-C using Objective-C++ and then bridge to
> Swift. That does sound like a nightmare.
>
>
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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