Pre loader

"Use of unresolved identifier 'SCIGeneric'"

Welcome to the SciChart Forums!

  • Please read our Question Asking Guidelines for how to format a good question
  • Some reputation is required to post answers. Get up-voted to avoid the spam filter!
  • We welcome community answers and upvotes. Every Q&A improves SciChart for everyone

WPF Forums | JavaScript Forums | Android Forums | iOS Forums

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.

Try SciChart Today

Start a trial and discover why we are the choice
of demanding developers worldwide

Start TrialCase Studies