forked from krzysztofzablocki/SFContainerViewController
-
Notifications
You must be signed in to change notification settings - Fork 0
UIViewController subclass that can have multiple UIViewControllers children and 'it just works'! No keeping in memory when views are not visible, working navigationController, parentController, interfaceOrientation properties
chris124/SFContainerViewController
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
/* * SFContainerViewController for iPhone: http://merowing.info * * Copyright (c) 2012 Krzysztof Zabłocki * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * copies of the Software, and to permit persons to whom the Software is * furnished to do so, subject to the following conditions: * * The above copyright notice and this permission notice shall be included in * all copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. * */ SFContainerViewController is a UIViewController subclass that can have multiple UIViewController children. No memory problems, if this controller is not visible, it will unload its view and all of his children views. From the children view you can use freely navigationController, parentViewController ( will point to container itself ), interfaceOrientation. In children controllers you do not to handle special cases, or call special functions, 'it just works'.
About
UIViewController subclass that can have multiple UIViewControllers children and 'it just works'! No keeping in memory when views are not visible, working navigationController, parentController, interfaceOrientation properties
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published