You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The @Class and @protocol declarations at the top of every header file take up a ton of room and make it difficult to read the actual interfaces.
I'd suggest doing: "@Class MAIDataAsset, MAILayoutXAxisAnchor, MAILayoutYAxisAnchor, " etc and getting it all taken care of on one line rather than >100 lines being protocol and class declarations.
Additionally, I don't believe it's necessary to to #import TargetConditionals.h if you are importing UIKit and AppKit?
The text was updated successfully, but these errors were encountered:
Absolutely. Improving the readability and formatting of the headers is a high priority for this project, and all those class and protocol declarations are the biggest problems in that regard. They are that way now because I originally envisioned being able to declare just the classes and protocols needed for that header, under the mistaken assumption that the declarations improved the self-documentation of the code, but I never got around to implementing that in the generator.
Combining the declarations into two lines total is a good one, but I think moving them to their own separate header would be even better. Thanks for filing the bug. I'll try to have this fixed soon.
The @Class and @protocol declarations at the top of every header file take up a ton of room and make it difficult to read the actual interfaces.
I'd suggest doing: "@Class MAIDataAsset, MAILayoutXAxisAnchor, MAILayoutYAxisAnchor, " etc and getting it all taken care of on one line rather than >100 lines being protocol and class declarations.
Additionally, I don't believe it's necessary to to #import TargetConditionals.h if you are importing UIKit and AppKit?
The text was updated successfully, but these errors were encountered: