SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and iOS Chart & Android Chart Components
I’m attempting to integrate some of the tutorial swift code into my app and I’m getting stuck on this error. Seems like some macro isn’t running.
“Use of unresolved identifier ‘SCIGeneric'”
Code is like this: lineDataSeries.appendX(SCIGeneric(i), y: SCIGeneric(sin(Double(i))*0.01))
I’ve done “import SciChart” and most things seem to work fine except this. Any ideas? Thanks
Hello, this problem occurs in Swift projects when SwiftGenericWrapper file wasn’t added.
Please follow the https://www.scichart.com/documentation/ios/v2.x/webframe.html#Tutorial%2001%20-%20Linking%20SciChart%20Framework.html (Adding SCIGenericWrapper.swift file section).
I hadn’t followed the linking instructions here:
Please login first to submit.