简体   繁体   中英

Ambiguous use of reloaddata() (CorePlot)

I want to use plot.reloadData() instead of graph.reloadData() with CorePlot but I receive a strange error (Xcode 8 beta 3) : Ambiguous use of reloadData() . I've tried many things :

(plot as CPTPlot).reloadData()

or

graph.plot(withIdentifier: "Plot").reloadData()

But nothing seems to work. Any ideas ?

The new auto-renaming features of Swift 3 when importing Objective-C APIs is causing a name collision. Please drop a bug report on the Core Plot issue tracker . I'll see what I can do to fix it.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM