Giter Site home page Giter Site logo

Comments (5)

Inferis avatar Inferis commented on June 14, 2024

Hm, those containment APIs are new to me. I'll be watching the WWDC video soon, I guess. ;)

from viewdeck.

myell0w avatar myell0w commented on June 14, 2024

It's pretty simple, maybe I will send over a pull request if I find the time. You basically have to tell the view when it is moving to a new superview and when it moved to a new superview.

The biggest question is: do you want backwards-compatibility with iOS 4? This would keep the need for manual forwarding of messages and would add a few if_iOS_prior_5 - calls to the code, otherwise it would simplify the code.


cheers Matthias
[email protected]

Am 04.01.2012 um 21:53 schrieb Tom Adriaenssen:

Hm, those containment APIs are new to me. I'll be watching the WWDC video soon, I guess.


Reply to this email directly or view it on GitHub:
#2 (comment)

from viewdeck.

nirgolan avatar nirgolan commented on June 14, 2024

From my experience with other controllers of this kind , I think that the combination of containment API + storyboards + some older view controllers (Address book's ABUnknownPersonViewController for example) is a disaster: ABUnknownPersonViewController's create/add to contact displays a modal VC that cannot be dismissed in any way.

I'm so glad I have found this controller , that does not implement the containment API.. If you do add it , maybe it should be added as an option.

from viewdeck.

dlackty avatar dlackty commented on June 14, 2024

Agreed with @louweed.

Actually, before ViewDeck, there're already some Path-like menu clones on GitHub, and all of them use iOS5's view containment API, which means they're all not compatible with iOS 4.

I realized that we, as Cocoa developers, should always try to adopt the new technology by Apple, and I appreciated the elegant design of new APIs.

However, for current projects, it's still not feasible to drop iOS4 support yet.

from viewdeck.

Inferis avatar Inferis commented on June 14, 2024

I'm not planning on dropping it and switch to the containment APIs. I don't see the attached property as a hack, really. Sure, the containment APIs may be a bit cleaner, but the user of the framework shouldn't worry about the innards.

I might take a look on how to implement it using containment APIs, but if and when I implement it, it will be optional.

from viewdeck.

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.