{"id":13685333,"url":"https://github.com/steipete/PSStackedView","last_synced_at":"2025-05-01T04:30:41.212Z","repository":{"id":62450238,"uuid":"2046531","full_name":"steipete/PSStackedView","owner":"steipete","description":"open source implementation of Twitter/iPad stacked ui - done right.","archived":false,"fork":false,"pushed_at":"2015-03-25T09:23:04.000Z","size":676,"stargazers_count":1954,"open_issues_count":11,"forks_count":277,"subscribers_count":103,"default_branch":"master","last_synced_at":"2025-04-26T23:12:07.771Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://twitter.com/steipete","language":"Objective-C","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/steipete.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2011-07-14T08:49:39.000Z","updated_at":"2025-01-23T03:09:21.000Z","dependencies_parsed_at":"2022-11-01T23:31:29.976Z","dependency_job_id":null,"html_url":"https://github.com/steipete/PSStackedView","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steipete%2FPSStackedView","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steipete%2FPSStackedView/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steipete%2FPSStackedView/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steipete%2FPSStackedView/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/steipete","download_url":"https://codeload.github.com/steipete/PSStackedView/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251824076,"owners_count":21649800,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-02T14:00:48.963Z","updated_at":"2025-05-01T04:30:40.917Z","avatar_url":"https://github.com/steipete.png","language":"Objective-C","readme":"## PSStackedView - put your UIViewControllers in a stack, inspired by Twitter's iPAD UI.\n\n\nNOTE: This component was made for iOS 4. There surely are better ways to do this right now and I'm only keeping this up for historical reasons. Don't use it anymore.\n\n\n\n\nAfter reviewing other stacked implementations, i wrote my own solutions from scratch.\nThis one lets you add plain UIViewControllers to a PSStackedViewRootViewController, working much like a UINavigationController.\n\nAll the hard parts, moving, shadows, rounded borders is taken care of.\n\nI made it for the iPad-Version of the popular austrian TV app [\"3MobileTV\"](http://itunes.apple.com/at/app/3mobiletv/id404154552?mt=8).\n(You need an austrian 3-SIM to test it, but you can check out the screenshots to get the idea what's possible with it).\n\nCurrently there is a positioning bug with small view controllers, I'll fix that in the foreseeable future. Otherwise, it's pretty much a drop-in-replacement for UINavigationController, using regular UIViewControllers. It supports iOS4 upwards, with some special support for iOS5's new view controller containment coming.\n\nIt works on the iPad and the iPhone, but the _concept_ is better suited for the iPad.\n\n![PSStackedView](http://f.cl.ly/items/2O1p18263a2Q27223R3h/Screen%20Shot%202011-11-01%20at%206.03.02%20PM.png)\n\n... and custom-skinned, you can build pretty hot interfaces:\n\n[![PSStackedView](http://f.cl.ly/items/2Z0w0D1P0y1h2N1V3d1t/mzl.svmxiutd.png)](http://itunes.apple.com/at/app/3mobiletv/id404154552?mt=8)\n\n## Getting Started\n\nMuch like UINavigationController, it's a good idea to put your PSStackedViewRootController in the AppDelegate:\n\n```objc\n@property (nonatomic, retain) PSStackedViewRootController *stackController;\n```\n\nCreate the stack in application:didFinishLaunchingWithOptions:\n\n```objc\nExampleMenuRootController *menuController = [[[ExampleMenuRootController alloc] init] autorelease];\nself.stackController = [[[PSStackedViewRootController alloc] initWithRootViewController:menuController] autorelease];\n[self.stackController pushViewController:demoViewController fromViewController:nil animated:NO];\nwindow.rootViewController = self.stackController;\n```\n\nPSStackedViewRootController's rootViewController is in the background and its left part is always visible. Adjust the size with leftInset and largeLeftInset.\n\n## Roadmap\n- Add (conditional) support for the new child view controller system in iOS5\n- Appledoc\n- lots more\n\n## License\nLicensed under MIT. Use it for whatever you want, in commercial apps or open source.\nI just wand a little contribution somewhere in your about box.\n\n## Alternatives\nThere are some open source and commerical stacked implementations out there, yet none of them were flexible enough to fit my needs.\nSpecial thanks to Cocoacontrols for [this article](http://cocoacontrols.com/posts/how-to-build-the-twitter-ipad-user-experience).\n\n* [StackScrollView](https://github.com/raweng/StackScrollView) (BSD)\n* [CLCascade](https://github.com/creativelabs/CLCascade) (Apache 2.0)\n* [stackcordion.git](https://github.com/openfinancedev/stackcordion.git) (CCPL)\n","funding_links":[],"categories":["Objective-C","etc"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsteipete%2FPSStackedView","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsteipete%2FPSStackedView","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsteipete%2FPSStackedView/lists"}