README.md
The Windows Bridge for iOS (also referred to as WinObjC) is a Microsoft open-source project that provides an Objective-C development environment for Visual Studio and support for iOS APIs. The bridge allows you to create Universal Windows Platform (UWP) apps that will run on many Windows devices by re-using your Objective-C code and iOS APIs alongside Windows 10 features like Cortana and Windows Notifications.
| Stable (master) | Pre-release (develop) | |
|---|---|---|
| Build | ||
| GitHub Release | - | |
| winobjc-tools | ||
| WinObjC.Language | ||
| WinObjC.Frameworks |
To use the bridge you'll need:
Windows 10, build 10586 or higher. Validate your version number here.
Visual Studio 2017 with Windows developer tools. Visual Studio 2017 Community is available for free here.
Ensure the following individual components are selected during installation. Selecting the Universal Windows Platform development workflow should give most of the below
NOTE: Please also install the Mobile development with .NET workflow option (Xamarin Tools) due to a bug in Nugetizer (See Issue 5026)
<details><summary><b>(Click to Expand)</b></summary><p>To get started with an existing Xcode Project, you will also need:
choco upgrade winobjc-tools
(more information about this command and its options can be found here. If you want to use develop packages add --pre to the command.)
When using the bridge, the first thing you'll want to do is generate a Visual Studio solution from your Xcode project:
C:\> cd C:\MyProject
C:\MyProject> vsimporter.exe
C:\MyProject> MyProject.sln
For more detailed step by step instructions on how to import a project, see the Quick Start Tutorial page of the wiki. For vsimporter options and known issues, check the Using vsimporter wiki page.
A great way to learn more about the bridge and its features is building and running the samples of the SDK, which contain many code examples. We recommend starting with the WOCCatalog sample app, which demonstrates an assortment of iOS and XAML UI controls:
For more detailed step by step instructions, see the Quick Start Tutorial page of the wiki.
The following resources will help you get started. For more information, check out:
There are many ways to contribute to the Windows Bridge for iOS:
See our contribution guidance in the wiki for more details on how to contribute to the project.
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.
Additional Visual Studio Components Needed for Contributors:
If you want to build the bridge from source instead, you'll also need to install Git LFS before cloning the repo. For more detailed instructions, see the Building From Source wiki page.
If you're having trouble downloading & installing the bridge, see the Known Issues section below and check our FAQ.
See Microsoft's privacy statement for more information.
For details on our planned features and future direction sort the list of issues by milestone and refer to our roadmap.