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
When using the objcCompatible option, classes are generated with @objc at the class level. While using these classes from Objective-C, you will receive a compiler error when trying to access any property: Property 'xyz' not found on object of type 'GeneratedSwiftClass *'
Describe the solution you'd like
I'd like to use @objcMembers instead of @objc in the mustache template file. I can send in a PR for this if we can get consensus on this change.
The text was updated successfully, but these errors were encountered:
Describe the issue
When using the
objcCompatible
option, classes are generated with@objc
at the class level. While using these classes from Objective-C, you will receive a compiler error when trying to access any property:Property 'xyz' not found on object of type 'GeneratedSwiftClass *'
Describe the solution you'd like
I'd like to use
@objcMembers
instead of@objc
in the mustache template file. I can send in a PR for this if we can get consensus on this change.The text was updated successfully, but these errors were encountered: