by alextgordon · 10y ago · 0 comments
e.g. -[NSBezierPath setLineDash:count:phase:] takes a C array in Objective-C, but an UnsafePointer<CGFloat> in Swift.
Apple needs new API interfaces for their new language, and that will take time.
https://github.com/apple/swift-evolution/blob/master/proposa...
At some point in the future I imagine we would also see native Swift APIs.