Giter VIP home page Giter VIP logo

Comments (4)

HarrisonXi avatar HarrisonXi commented on July 29, 2024

可以提供简单的工程方便调试么

from tangram-ios.

jxbaoweiyj avatar jxbaoweiyj commented on July 29, 2024

我在 NSString *layoutMapString = [dict tgrm_objectForKeyCheck:@"layoutMap" class:[NSString class]];
NSString *layoutMapPath = [[NSBundle mainBundle] pathForResource:layoutMapString ofType:@"plist"];
这一步的时候,你们的layoutMapString是nil,但是获取到了一个正确的layoutMapPath
而我的工程里,还有其他的plist,导致我这边的layoutMapPath变成了我自己工程里的pllist,随之就出现问题了,我看你们的TangramHelperMapping.plist里,为什么有的dict里的key有layoutMap,有的又没有?

from tangram-ios.

jxbaoweiyj avatar jxbaoweiyj commented on July 29, 2024

我在你们的demo里随意拖进去一个plist,然后你们的demo也崩了。。恳请你们能解决一下这个问题,我目前的解决办法只能是判断如果layoutMapString是nil,我就
if (!layoutMapString) {
layoutMapString=@"TangramHelperCustomMapping";
}
这样写了,暂时这么解决了。。

from tangram-ios.

HarrisonXi avatar HarrisonXi commented on July 29, 2024

好的,感谢你提供的信息

from tangram-ios.

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.