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
Write a ObjcC macro and a Swift macro doing extracting the localized error message from an NSError object and taking an optional fallback string that automatically gets wrapped in NSLocalizedString().
Write a ObjcC macro and a Swift macro doing extracting the localized error message from an NSError object and taking an optional fallback string that automatically gets wrapped in
NSLocalizedString()
.The ObjC macro would be this:
Swift macro resources, that should be helpful:
https://www.avanderlee.com/swift/macros/
https://docs.swift.org/swift-book/documentation/the-swift-programming-language/macros/
https://github.com/krzysztofzablocki/Swift-Macros?tab=readme-ov-file
This can be a follow up PR, but don't forget that (we'll need that NSError to string conversion a lot when we use promises)
See #1338 (comment)
The text was updated successfully, but these errors were encountered: