Giter VIP home page Giter VIP logo

Comments (9)

nangtrongvuon avatar nangtrongvuon commented on July 22, 2024 1

From what I've experienced with Swift 5, many of its changes are already available if you compile under Xcode 10.2, so there shouldn't be a lot of breaking changes, but I'm wary. I'll still do a quick runthrough of everything and try to get to updating xi-mac this next week (since I'm kind of stuck with family business at the moment).

from xi-mac.

mmatoszko avatar mmatoszko commented on July 22, 2024

Swift 5 changed the string encoding from UTF-16 to UTF-8. Since core uses UTF-8 for the RPC, I think we might get away with just removing the conversions from and to UTF-16 🤔

from xi-mac.

cmyr avatar cmyr commented on July 22, 2024

@mmatoszko That's my hope, but I'd want to test it; it may be that certain API are still expecting indicies to be utf-16 code units? Really not sure. So... 🤞

from xi-mac.

jeremywiebe avatar jeremywiebe commented on July 22, 2024

One thing to note about this upgrade. When we do, some folks who are using older versions of Xcode will no longer be able to compile the app (because this will necessarily require Xcode 10.2).

Xcode 10.2 requires macOS 10.14.3 which I think is a reason some folks haven't upgraded Xcode yet.

I'm fine with this, but raising it as a concern that might affect others. :)

from xi-mac.

nangtrongvuon avatar nangtrongvuon commented on July 22, 2024

That's definitely a good reason to consider. I think some people here uses High Sierra still, which doesn't have Xcode 10.2 IIRC.

from xi-mac.

mmatoszko avatar mmatoszko commented on July 22, 2024

Do you think we're free to migrate to Swift 4.2 right now? Currently we're at 4.0

from xi-mac.

cmyr avatar cmyr commented on July 22, 2024

We could, but is it much advantage over just going straight to 5?

from xi-mac.

mmatoszko avatar mmatoszko commented on July 22, 2024

There are some minor things which need to be resolved in order to go for Swift 4.2 which we could tackle very soon, bc it does not require an update to Mojave.

Swift 5 could happen right after that 😄

from xi-mac.

cmyr avatar cmyr commented on July 22, 2024

Ah gotcha. Yea, I'd be happy to review going to 4.2.

from xi-mac.

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.