Comments (5)
Hm, those containment APIs are new to me. I'll be watching the WWDC video soon, I guess. ;)
from viewdeck.
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.
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.
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.
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)
- question HOT 3
- Does the category of UIViewController change the color of the title in UIAlertAction when I use UIAlertController ? HOT 2
- Any demo for Swift language on implementing this? HOT 1
- Crash in IIViewDeckController HOT 1
- Right side menu not overlapping on Center Controller HOT 2
- hidesBottomBarWhenPushed not working HOT 1
- Unable to set the width left and right HOT 2
- Not reloading sidemenu HOT 3
- How do I change the transition style? HOT 2
- Forbidden Architectures when using the compiled framework HOT 1
- Is it possible to remove the status bar only in the side menu? HOT 2
- Swipe to close or Cancel side menu is not working. HOT 2
- How to navigate between different viewControllers from Side menu?
- carthage is not support
- [self.viewDeckController openSide:IIViewDeckSideLeft animated:NO]
- The BUG is a bit more HOT 1
- changing origin x of centerViewController.view (I don't need parallax center)
- Disable Outside Click
- Open left bar quickly the app get a crash
- How do I set the rightViewController width?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from viewdeck.