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
iOS 15 SDK introduced StringStyle struct. So it's conflicting with the one from the framework and causes this error: 'StringStyle' is ambiguous for type lookup in this context
We might want to consider renaming it, because this will affect everyone targeting iOS 15+. In the meantime, you can specify the module like this: BonMot.StringStyle. You can also rename it globally by making a typealias, like typealias GangnamStyle = BonMot.StringStyle.
Activity
ZevEisenberg commentedon Sep 21, 2021
We might want to consider renaming it, because this will affect everyone targeting iOS 15+. In the meantime, you can specify the module like this:
BonMot.StringStyle. You can also rename it globally by making a typealias, liketypealias GangnamStyle = BonMot.StringStyle.chrisballinger commentedon Sep 21, 2021
This is mentioned at the top of the README now: https://github.com/Rightpoint/BonMot#attributedstring
Long term we should probably rename ours with a backwards-compatibility shim / deprecation warning to avoid conflict with the system framework.