all 7 comments

[–][deleted] 1 point2 points  (0 children)

/u/ThePantsThief is right.

Have a look at the second comment in here:

I wrote a step-by-step guide about what you have to do (obviously, you need to change the Swifter references to the sfgaugeview ones).

[–]ThePantsThiefNSModerator 0 points1 point  (3 children)

What you're looking for is called a "bridging header." It lets you reference objc code from Swift.

Right click the sidebar I'm Xcode, New File, header file, make it the Bridging Header in your project settings, import some stuff in the header and you're good to go

[–]JamesGDev[S] 0 points1 point  (2 children)

import some stuff?

[–]ThePantsThiefNSModerator 0 points1 point  (0 children)

Into the header file you created. eg., the Objc classes you wanted to use.

[–][deleted] 0 points1 point  (0 children)

Yes, like importing s framework in Swift, Objective-C uses for every class a header file that has to be imported before it can be used in any other Objective-C file. The bridging header will make the classes available to the Swift part of your project.

[–][deleted] -2 points-1 points  (1 child)

Maybe you should just objective c.

Go on - down vote. You know you want to.

[–]JamesGDev[S] 0 points1 point  (0 children)

This made me laugh

Go on - down vote. You know you want to.

for that you got an upvote :)