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

Open
#183 11 comments 2 reactions 1 assignee View on GitHub

@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:

  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

Dominant language
C#
Stars
25
Forks
10
Avg merge
12h 50m
Merged PRs (30d)
10

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from dotnet/xcsync

All issues in dotnet/xcsync

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.