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've been trying to integrate this library with some obj-c code; and I am stuck a bit. It seems like auto-generated file from Xcode has only very limited method set for each class:
`SWIFT_MODULE_NAMESPACE_PUSH("ARCharts") @Class NSCoder;
Hey,
I've been trying to integrate this library with some obj-c code; and I am stuck a bit. It seems like auto-generated file from Xcode has only very limited method set for each class:
`SWIFT_MODULE_NAMESPACE_PUSH("ARCharts")
@Class NSCoder;
SWIFT_CLASS("_TtC8ARCharts10ARBarChart")
@interface ARBarChart : SCNNode
@Property (nonatomic) double animationDuration;
/// Render the chart in the
SCNView
./// Remove any highlighting currently active on this chart.
@end`
I compiled the Swift code; and played around - it seems like the problem is Delegate pattern - adding @objc flag to public method leads to an error:
And then of course the method is not supported:
Does anybody tried to connect the library to obj-c code?
The text was updated successfully, but these errors were encountered: