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
- Udi Falkson asked 6 years ago
-
I am facing that same problem as well. Any one have any idea????
-
Hello, Arimardan Saraswat. Please, check my answer below.
- You must login to post comments
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).
Regards,
Andriy.
- Andriy Shkinder answered 5 years ago
- last edited 5 years ago
- You must login to post comments
I hadn’t followed the linking instructions here:
https://www.scichart.com/documentation/ios/v2.x/webframe.html#Tutorial%2001%20-%20Linking%20SciChart%20Framework.html
- Udi Falkson answered 6 years ago
- You must login to post comments
Please login first to submit.