Git Product home page Git Product logo

Comments (7)

nfarina avatar nfarina commented on June 30, 2024

Super nice for those with all-Swift projects; not so nice for everyone else :)

from calloutview.

hixfield avatar hixfield commented on June 30, 2024

Do you think there could be a reason why its not possible to convert to swift?

from calloutview.

nfarina avatar nfarina commented on June 30, 2024

What are the benefits to doing so in your view?

from calloutview.

hixfield avatar hixfield commented on June 30, 2024

I see your point. Functionality wise I think it would not matter. Currently I am working on a full swift project and included the .h and .m file(s) and I am using a bridging header to use the obj-c code in my swift code. It works fine. However I try to get my project to only use native swift code :) so its more from an idealistic point of view I guess... Do you see any (other) advantages?

from calloutview.

nfarina avatar nfarina commented on June 30, 2024

The only advantage I can think of is for all-Swift projects to be a bit cleaner. What are the downsides? What happens when you drag a swift file into an existing all-ObjC project?

from calloutview.

hixfield avatar hixfield commented on June 30, 2024

If you drag a swift file in an objc project I dont know for sure what happens... Should test it...

from calloutview.

ori-levi avatar ori-levi commented on June 30, 2024

I think there is bridge for swift to obj-c...
https://developer.apple.com/library/prerelease/ios/documentation/Swift/Conceptual/BuildingCocoaApps/MixandMatch.html

There is section called "Importing Swift into Objective-C"

from calloutview.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.