Continued:

And usng the @import directive in the .m file:

https://github.com/shannah/CN1WebRTC/blob/master/webrtc/native/ios/com_codename1_webrtc_compat_cordova_CordovaNativeImpl.m#L6

On Wed, Dec 2, 2020 at 11:56 AM Steve Hannah <[email protected]>
wrote:

> I recently went through this myself, but I don't remember the details on
> how I generated the bridging header.
>
> But for reference.  Here is the bridging header for my Swift Framework
>
> https://github.com/shannah/CN1WebRTC/blob/master/IosRtcPlugin/IosRtcPlugin/cordova-plugin-iosrtc-Bridging-Header.h
>
> This framework is used by a native interface, using the `@class` keyword
> in the .h file
>
>
> https://github.com/shannah/CN1WebRTC/blob/master/webrtc/native/ios/com_codename1_webrtc_compat_cordova_CordovaNativeImpl.h#L3
>
>
>
>
> On Wed, Dec 2, 2020 at 10:28 AM [email protected] <[email protected]>
> wrote:
>
>> Hi,
>> How do I generate a "Bridging-Header.h" file for importing Swift
>> in Objective-C Native Interface ???
>>
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "CodenameOne Discussions" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/codenameone-discussions/6b532df3-bc10-4e49-be78-cc8fd429e72bn%40googlegroups.com
>> <https://groups.google.com/d/msgid/codenameone-discussions/6b532df3-bc10-4e49-be78-cc8fd429e72bn%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>
>
> --
> Steve Hannah
> Software Developer
> Codename One
> http://www.codenameone.com
>


-- 
Steve Hannah
Software Developer
Codename One
http://www.codenameone.com

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/CAGOYrKWA0dSR8J%2BPt28u%2BMW7phzcW3Nm3xDM%2BkawZcFd2CvFwA%40mail.gmail.com.

Reply via email to