dotnet / dotnet/xcsync

Generate headers (*.h) files for xibs and storyboards in order to be able to create outlets

Open
#183 11 comments 2 reactions 1 assignee Claimed by @mcumming View on GitHub
Dominant language
C#
Stars
25
Forks
10
Avg merge
12h 50m
Merged PRs (30d)
10

Description

### Is there an existing issue for this?

- [x] I have searched the existing issues

### Is your feature request related to a problem? Please describe the problem.

Currently one of the key features is missing in this console tool, that is available in VS4Mac (and Rider): generating view outlets for xib and storyboard files

### Describe the solution you'd like

Usual scenario is the following:
1. Open xib or storyboard file in generated Xcode project
2. Open in the right window relevant to this view file *.h headers file
3. Right click on any view/contraint click and hold on "New referencing outlet" circle, and drag it to the right into the *.h file window.
4. Name new referencing outlet with convention that will hold to C# property name for this view or constraint
5. Save and close xcode project, sync it with your C# project

Expected result: C# property will be auto-genereted in the respected *.designer.cs file for the xib/storyboard file.

### Additional context

This question has mention about similar problem, but it was closed due to the migration of xcsync into a separate repository, and no new issue was created here: https://github.com/microsoft/vscode-dotnettools/issues/571#issuecomment-2324349715

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.