{"id":30719858,"url":"https://github.com/dankinsoid/vdpresent","last_synced_at":"2025-09-03T10:42:30.358Z","repository":{"id":89409783,"uuid":"584820934","full_name":"dankinsoid/VDPresent","owner":"dankinsoid","description":"Custom present and navigation because native sucks","archived":false,"fork":false,"pushed_at":"2025-02-01T07:46:15.000Z","size":1704,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-01T08:27:55.349Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dankinsoid.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-01-03T15:47:55.000Z","updated_at":"2025-02-01T07:46:19.000Z","dependencies_parsed_at":"2025-02-01T10:45:20.870Z","dependency_job_id":null,"html_url":"https://github.com/dankinsoid/VDPresent","commit_stats":null,"previous_names":[],"tags_count":32,"template":false,"template_full_name":"dankinsoid/iOSLibraryTemplate","purl":"pkg:github/dankinsoid/VDPresent","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dankinsoid%2FVDPresent","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dankinsoid%2FVDPresent/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dankinsoid%2FVDPresent/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dankinsoid%2FVDPresent/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dankinsoid","download_url":"https://codeload.github.com/dankinsoid/VDPresent/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dankinsoid%2FVDPresent/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273431361,"owners_count":25104491,"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","status":"online","status_checked_at":"2025-09-03T02:00:09.631Z","response_time":76,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":"2025-09-03T10:42:29.423Z","updated_at":"2025-09-03T10:42:30.346Z","avatar_url":"https://github.com/dankinsoid.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# VDPresent\n\n## Introduction\n\nVDPresent is a powerful, customizable library for managing view controller transitions and hierarchies in iOS applications. It aims to unify and simplify screen transitions by providing a single way to show/hide view controllers through the UIStackController hierarchy, making it easier to manage custom transition animations and interactions.\n\n## Features\n\n- [x] Manage view controllers with a stack-based approach similar to `UINavigationController`.\n- [x] Customize transitions through `UIPresentation` struct.\n- [x] Simplify showing and hiding of view controllers.\n- [x] Common transitions like `UIPresentation.push`, `UIPresentation.fullScreen` out of the box.\n- [ ] Self-sizing behavior for modals like bottom sheets. (Coming soon)\n- [ ] Integration with SwiftUI. (Coming soon)\n- [ ] Alternatives to native tab and navigation bars. (Coming soon)\n- [ ] Bottom sheet and popover-like transitions. (Coming soon)\n- [ ] Comprehensive Unit and UI tests. (Coming soon)\n\n## Requirements\n\n- iOS 13.0+\n- Xcode 11+\n\n## Usage\n\n#### Create a UIStackController\n\n```swift\nlet rootViewController = YourInitialViewController()\nlet stackController = UIStackController(rootViewController: rootViewController)\n```\n\n#### Show a View Controller\n\n```swift\n// global presentation\nviewController.show(as: .fullScreen(from: .leading, interactive: true))\n\n// local presentation\nstackController.show(viewController, as: .push)\n```\n\n#### Hide a View Controller\n\n```swift\nviewController.hide()\n```\n\n## Upcoming Features\n\n- Self-sizing behavior for modals like bottom sheets.\n- Integration with SwiftUI.\n- Alternatives to standard tab and navigation bars.\n- Comprehensive Unit and UI tests.\n\n## Contribute\n\nWe would love for you to contribute to `VDPresent`, check the `LICENSE` file for more info.\n \n## Installation\n\n1. [Swift Package Manager](https://github.com/apple/swift-package-manager)\n\nCreate a `Package.swift` file.\n```swift\n// swift-tools-version:5.7\nimport PackageDescription\n\nlet package = Package(\n  name: \"SomeProject\",\n  dependencies: [\n    .package(url: \"https://github.com/dankinsoid/VDPresent.git\", from: \"0.30.0\")\n  ],\n  targets: [\n    .target(name: \"SomeProject\", dependencies: [\"VDPresent\"])\n  ]\n)\n```\n```ruby\n$ swift build\n```\n\n2.  [CocoaPods](https://cocoapods.org)\n\nAdd the following line to your Podfile:\n```ruby\npod 'VDPresent'\n```\nand run `pod update` from the podfile directory first.\n\n## Author\n\ndankinsoid, voidilov@gmail.com\n\n## License\n\nVDPresent is available under the MIT license. See the LICENSE file for more info.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdankinsoid%2Fvdpresent","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdankinsoid%2Fvdpresent","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdankinsoid%2Fvdpresent/lists"}