You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 28, 2025. It is now read-only.
Repository navigation
This repository was archived by the owner on May 28, 2025. It is now read-only.
Building and using Windows Runtime components in Objective-C #20
I would like to see an ability to build Windows Runtime components that can be used from any supported language using the existing Objective-C code. This would make possible for Objective-C devs spending as little effort building Windows Runtime components using the existing code as possible.
For now, there is only info on how to use Windows Runtime APIs from Objective-C code, but there is nothing I can find regarding how Objective-C code can be used from C++/CX. Building Windows Runtime components could be achieved in two ways: building the ability to create WinRT components into Objective-C compiler and linker, and/or enabling interoperability between C++/CX and Obj-C code so WinRT components could be built using C++/CX that imports Obj-C functions.
Also consider the ability to use custom WinRT components written in any WinRT language (C++, C#, etc.) from Objective-C code.
Activity
[-]Building Windows Runtime components in Obj-C[/-][+]Building and using Windows Runtime components in Objective-C[/+]rhaning commentedon May 12, 2016
This is on our backlog and we are actively prototyping. Stay tuned.
jboich commentedon Nov 27, 2017
I would like to have this too!
rajsesh commentedon Nov 27, 2017
https://github.com/Microsoft/WinObjC/tree/master/tools/objc2winmd is the tool. The built version of this is available in the tools package from the latest release. This should work for many common OBJC data types, please check it out.