Just some convenient typealias
es and extension
s to make it easier to use Apple types which are different in their different kits, like UIColor in UIKit and NSColor in AppKit.
CrossKitTypes
1.0.0
Some types and extensions for those using AppKit and UIKit in the same project
appkit
uikit
swiftui
swift
swift-package
swift-package-manager
swiftpackage
swiftpackagemanager
spm
cross-kit-types
cross-platform
protocol
protocol-oriented
protocol-oriented-programming
protocols
swift-protocols
RougeWare/Swift-Cross-Kit-Types
What's New
1.0.0 - MVP
2019-12-09T01:28:49Z
Images, Colors, and Fonts, oh my! This is the first basic step toward making these play nicely across kits.
Cross-Kit Type | UIKit | AppKit |
---|---|---|
NativeImage |
UIImage |
NSImage |
NativeColor |
UIColor |
NSColor |
NativeFont |
UIFont |
NSFont |