-
Notifications
You must be signed in to change notification settings - Fork 48
Open
Description
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;
- (nonnull instancetype)initWithCoder:(NSCoder * _Nonnull)aDecoder OBJC_DESIGNATED_INITIALIZER;
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
- (void)reloadGraph;
/// Render the chart in theSCNView. - (void)draw;
/// Remove any highlighting currently active on this chart. - (void)unhighlight;
@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?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
