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
On OS X, AppKit uses NSImage and NSColor instead of UIImage and UIColor. We should use Swift’s target conditional macros to switch between these types. A couple strategic typealiases could make these even easier.
Added framework and test bundle targets for OS X. Strategically placed some type aliases to keep conditional compilation to a minimum. Added a playground nearly identical to the iOS one.
Fixes#15.
On OS X, AppKit uses NSImage and NSColor instead of UIImage and UIColor. We should use Swift’s target conditional macros to switch between these types. A couple strategic
typealias
es could make these even easier./cc @tmcw
The text was updated successfully, but these errors were encountered: