-
Notifications
You must be signed in to change notification settings - Fork 806
How to Contribute
There are lots of ways you can contribute to the bridge project:
- File a bug/issue
- Verify fixes for bugs/issues
- Submit a bug fix or feature implementation
- Submit a feature request
- Submit additional tests
- Tell others about the WinObjC project
- Submit feedback on the project
- Submit substantive documentation edits
Be sure to familiarize yourself with our coding standards before contributing code fixes.
In addition to the above coding standards, code should be formatted using ClangFormat.
-
Build the entire solution (\build\build.sln)
-
Run
<Root>\WinObjC\tests\Run-UnitTests.ps1
.
Please note that this defaults to Debug; for Release, take a look at the command line parameters below.
Defaults are in bold.
-
-Verbosity [
Verbose
| Minimal ]
Output verbosity.
-
-Config [
Debug
| Release ]
Switch between testing debug and release builds.
-
-TestDirectory
args
Change the directory of tests to run. args should be a valid directory path.
-
-XMLOutputDirectory
args
Change the directory to place output XML files. args should be a valid directory path. If not specified, no output files will be saved.
-
-ModuleFilter
args
Run only the specified set of modules. args should be valid regex of test modules to look for.
-
-TestFilter
args
Run only the specified set of tests. args should be valid regex of tests to run.
-
The UnitTest project is in under build\UnitTests
-
Add test code under tests\unittests and include it into the UnitTest project
-
For more info on writing the tests, see googletest samples
Squash your change into 1 commit on top of the master branch.
For the commit message, follow the guide below:
The title is a ~50 character summary of the change.
After one blank line, add more detail about the change wrapped to ~80
characters. If there is a github issue that is resolved by the change,
it can be added as below, with one blank line above it.
Fix #42
You will need to sign a Contribution License Agreement (CLA) before submitting your pull request. To complete the CLA, you will need to submit the request via the form and then electronically sign the CLA when you receive an email containing a link to the document.
This process needs to only be done once for any Microsoft open source project.
You do not need to sign a Contribution License Agreement if you are just contributing to the README or the Wiki. However, by submitting a contribution to the README or the Wiki, you are contributing it under the Creative Commons CC0 1.0 Universal Public Domain Dedication.
- bin/ : Various prebuilt tools
- build/ : Projects/solutions to build the SDK
- deps/ : Open source dependencies
- prebuilt/ : Prebuilt binaries for various architectures
- Frameworks/ : Implementation of iOS-style Frameworks
- include/ : SDK headers (including headers for iOS-style Frameworks)
- Platform/ : Headers for Windows Objective-C bindings for various OS versions
- msvc/ : Visual Studio integration files
- samples/ : Assorted samples
- tools/ : Source code to tools
Please ensure that you fork the winobjc repository and work there before submitting a pull request. This way, your updates based on codereview or other feedback show up as updates in the same pull request.
Please ensure the following before submitting a pull request for your changes:
- You have signed the CLA and adhered to it.
- The entire solution (\build\build.sln) builds with no errors for all flavors.
- The changed code follows our code conventions.
- The code is formatted using ClangFormat.
- New tests have been added for all new features.
- All of the automated tests pass with no failures.
What happens after a pull request is submitted?
-
WinObjC team reviews the change, and checks for code convention or any other issues.
-
WinObjC team verifies the change passes build and automated tests with no errors.
-
If the above looks good, the pull request will be accepted, and the change will be merged into the master branch. Otherwise, we will iterate over the changes with the contributor to work through any issues before accepting the pull request.
Project
Using the bridge
- Getting Started
- Using vsimporter
- Using the SDK
- Building From Source
- Adding Objective C to an Existing Project
- UI Guidance
- Changing the SDK Version of a Project
- Debugging
- Debugging Stack Traces from Crash Dumps
- Supported Third Party Libraries
- Creating and Linking Against C++ Static Libraries
- Packaging
Samples and Tutorials
- Quick Start Tutorial
- Building a To-Do List App
- Building a Calculator App
- Mixing and Matching UIKit and XAML
- IOS Bridge Samples Repo
Contributing
Links