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
I get the following error message if my project defines a public Font property: Property cannot be declared public because its type uses an internal type
For example:
class MyClass {
public let font: Font
}
Is there some way to disable the Font typealias to 'FontConvertible.Font` ? I see it's deprecated, but I want to disable it now.
btw, SwiftGen is extremely useful! Thanks for maintaining!
The text was updated successfully, but these errors were encountered:
We will remove the aliases in the next major version of SwiftGen, but A) no idea when we'll release that, and B) not helpful to you now.
Unfortunately the only solution that'll work for you now, is creating a custom template. We have some documentation that explains the steps involved, it's very easy! In that custom template, you'd just need to remove the line of the typealias.
I get the following error message if my project defines a public Font property:
Property cannot be declared public because its type uses an internal type
For example:
Is there some way to disable the Font typealias to 'FontConvertible.Font` ? I see it's deprecated, but I want to disable it now.
btw, SwiftGen is extremely useful! Thanks for maintaining!
The text was updated successfully, but these errors were encountered: