Giter Site home page Giter Site logo

xibs moved into wrong folder? about synx HOT 10 CLOSED

orta avatar orta commented on July 20, 2024
xibs moved into wrong folder?

from synx.

Comments (10)

kylef avatar kylef commented on July 20, 2024

Sound like this was introduced in 49c5a22 / #30.

from synx.

marklarr avatar marklarr commented on July 20, 2024

😦 as it happens, I didn't really understand completely how localization works. I'm now understanding that a file exists multiple times (en.lproj/View.xib, de.lproj/View.xib, etc).

from synx.

marklarr avatar marklarr commented on July 20, 2024

Starting fixing it here #34 but there still seems to be an issue 😢

from synx.

Mazyod avatar Mazyod commented on July 20, 2024

As it happens, all my projects are localized, so I am giving it a shot. In case I fail, at least what I learned is documented:

First significant finding is related to where the lang.lproj folders are. It seems sometimes it exists as a sibling to the parent group, and sometime as a child. In both cases, Xcode was showing me in the file inspector that the file is in lang.lproj/file.xib(relative to group). Not sure why this discrepancy is there, but it needs to be handled.

from synx.

marklarr avatar marklarr commented on July 20, 2024

Thanks for looking into this @Mazyod! I'll do what I can to help in my free time

from synx.

Mazyod avatar Mazyod commented on July 20, 2024

@marklarr was the main issue you faced the fact that localized data is normalized? With the PBXGroupVariant referencing IDs not files?

from synx.

marklarr avatar marklarr commented on July 20, 2024

If I remember correctly, the issue I was facing was the one you mentioned 2 posts ago (inconsistent placement of the localized xibs by Xcode)

from synx.

 avatar commented on July 20, 2024

I've hit this issue too, it has nothing to do with xibs (for me), just all my localized files are left where they were and the project can't find them anymore.

from synx.

 avatar commented on July 20, 2024

I put together a fix for this, the pull request is at #63

from synx.

marklarr avatar marklarr commented on July 20, 2024

This has been fixed and released in 0.0.6 via #63, thanks @archaeopterasa and everybody else!

from synx.

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.