You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It appears this project grabs many UI object definitions (e.g. NSTextAlignment) through Charts.h, yet includes for iOS UIKit separately in many files:
#if !os(OSX)
import UIKit
#endif
Either Charts.h should include all, else the above swift import should be changed to the following, and perhaps imported in a separate included swift module to avoid duplication:
I'm not sure what the issue is either. Most, if not all, of the
#if !os(OSX)
import UIKit
#endif
are leftover from older versions of the library and can be removed. They don't impact anything as the UIKit and AppKit imports are done in Platform.swift
What did you do?
It appears this project grabs many UI object definitions (e.g. NSTextAlignment) through Charts.h, yet includes for iOS UIKit separately in many files:
#if !os(OSX)
import UIKit
#endif
Either Charts.h should include all, else the above swift import should be changed to the following, and perhaps imported in a separate included swift module to avoid duplication:
#if !os(OSX)
import UIKit
#else
import AppKit
#endif
Charts Environment
Charts version/Branch/Commit Number:
3.1
Xcode version:
9.2
Swift version:
4.0
Platform(s) running Charts:
macOS
macOS version running Xcode:
10.13.3
The text was updated successfully, but these errors were encountered: