SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and iOS Chart & Android Chart Components

Answered
1
0

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

Version
2.0.1.1786
Images
  • arimardan saraswat
    I am facing that same problem as well. Any one have any idea????
  • Andriy Shkinder
    Hello, Arimardan Saraswat. Please, check my answer below.
  • You must to post comments
Best Answer
1
0

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.

  • You must to post comments
Good Answer
Showing 2 results
Your Answer

Please first to submit.