Giter Site home page Giter Site logo

Build failure about nappdrawer HOT 7 CLOSED

viezel avatar viezel commented on June 20, 2024
Build failure

from nappdrawer.

Comments (7)

viezel avatar viezel commented on June 20, 2024

NappDrawer is not compiled with that version, so you gotta do some heavy lifting to get it to work with iOS7.

from nappdrawer.

benbahrenburg avatar benbahrenburg commented on June 20, 2024

Great module as always Mads. Was running the 3.1.3 SDK and ran into the same issue. Looks like you are unlucky enough to be the first to run into issues from the Ti Windowing system redesign.

I was able to get it to compile update the below in DkNappDrawerDrawer.m.

UIViewController * ControllerForViewProxy(TiViewProxy * proxy)
{
    [[proxy view] setAutoresizingMask:UIViewAutoresizingNone];

    //make the proper resize !
    TiThreadPerformOnMainThread(^{
        [proxy windowWillOpen];
        [proxy reposition];
        [proxy windowDidOpen];
    },YES);
    return [[[TiViewController alloc] initWithViewProxy:proxy] autorelease];
}

But, that has some interesting side effects, such as moving the min SDK level, and some window height things. Maybe it can be done through ifdef but as it is a protocol xcode seems to be fighting this at the moment.

Let me know if you'd like some help testing on 3.1.3.

@sindresorhus hopefully this gets you moving forward if you are using 3.1.3.

from nappdrawer.

viezel avatar viezel commented on June 20, 2024

@benbahrenburg exactly. I cannot fix that yet. we need ios7 and 3.1.3 released.
Yeah ben, you just opened a box full of surprises. TiViewController is a lot of fun to work with :|

from nappdrawer.

viezel avatar viezel commented on June 20, 2024

@benbahrenburg im getting back to this issue, now that 3.1.3 has been released.
Did you have a solution for this?
Would be very helpful. cheers!

from nappdrawer.

benbahrenburg avatar benbahrenburg commented on June 20, 2024

@viezel I can send a PR, but would require that the minSDK is moved to 3.1.3 is that ok?

from nappdrawer.

viezel avatar viezel commented on June 20, 2024

thats fine. Everyone is going forward with ios7. Otherwise they must use the old version.

from nappdrawer.

beaur avatar beaur commented on June 20, 2024

Would love to use this with 3.1.3 has any progress been made?

from nappdrawer.

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.