ina
ina

Reputation: 19534

Using Apple Frameworks directly with Swift

Is it possible to use CFNetwork and other frameworks directly with Swift?

(Note: not having to use the Obj-C bridge)

Upvotes: 0

Views: 117

Answers (1)

Connor
Connor

Reputation: 64644

Yes.

import CFNetwork

It doesn't require any bridging files or Objective-C code on your part, but the Foundation frameworks have not been completely rewritten to use Swift.

Upvotes: 2

Related Questions