Before our recent changes, the Swift output followed the order of the header (.h
) file.
Private declarations (present only in the implementation file) appeared at the end of the Swift output.
A few of our users suggested revising this behavior since the implementation (.m
) file is considered more important to follow than the header (.h
) file.
Now the Swift output is structured as follows:
- Declarations present in the
.h
file only (but not in the.m
file) are listed first. - Declarations from the
.m
file are listed afterward, preserving the original ordering.
See this GitHub issue for the details and rationale.
Comments
0 comments
Please sign in to leave a comment.