Generate headers (*.h) files for xibs and storyboards in order to be able to create outlets
@mcumming is already working on this.
Since May 2, 2025.
Assessment
This issue has not been assessed yet.
Description
Is there an existing issue for this?
- 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:
- Open xib or storyboard file in generated Xcode project
- Open in the right window relevant to this view file *.h headers file
- 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.
- Name new referencing outlet with convention that will hold to C# property name for this view or constraint
- 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
- Dominant language
- C#
- Stars
- 25
- Forks
- 10
- Avg merge
- 12h 50m
- Merged PRs (30d)
- 10
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from dotnet/xcsync
-
Difficulty 3/5 1-2 days Newbie friendliness 48/100
-
Difficulty 5/5 Over a week Newbie friendliness 20/100
-
Difficulty 3/5 1-2 days Newbie friendliness 55/100
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
Similar issues
-
type/automation type/tech-debt
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
t/bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
ci-failure-cause test-failure
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
area:auth FE mvp P3
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
klasolsson81/jobbliggaren#1788 ·