{"id":13769793,"url":"https://github.com/tattn/PullableSheet","last_synced_at":"2025-05-11T02:33:25.656Z","repository":{"id":56921499,"uuid":"142321576","full_name":"tattn/PullableSheet","owner":"tattn","description":"Pullable sheet like a default map app or bottom sheets (Android).","archived":false,"fork":false,"pushed_at":"2019-10-14T11:55:56.000Z","size":2241,"stargazers_count":67,"open_issues_count":4,"forks_count":8,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-14T03:39:37.338Z","etag":null,"topics":["bottomsheet","ios","swift"],"latest_commit_sha":null,"homepage":"","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/tattn.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":"tattn","patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2018-07-25T15:48:10.000Z","updated_at":"2024-07-07T18:01:21.000Z","dependencies_parsed_at":"2022-08-21T04:50:45.095Z","dependency_job_id":null,"html_url":"https://github.com/tattn/PullableSheet","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tattn%2FPullableSheet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tattn%2FPullableSheet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tattn%2FPullableSheet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tattn%2FPullableSheet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tattn","download_url":"https://codeload.github.com/tattn/PullableSheet/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253507210,"owners_count":21919174,"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":["bottomsheet","ios","swift"],"created_at":"2024-08-03T17:00:31.595Z","updated_at":"2025-05-11T02:33:25.307Z","avatar_url":"https://github.com/tattn.png","language":"Swift","funding_links":["https://github.com/sponsors/tattn"],"categories":["Sheet"],"sub_categories":[],"readme":"\u003ch1 align=center\u003e\n\u003cimg src=\"docs/assets/logo/horizontal.png\" width=60%\u003e\n\u003c/h1\u003e\n\n\n\u003ch5 align=\"center\"\u003ePullableSheet is like a sheet in a default map app or Android's bottom sheets.\u003c/h5\u003e\n\n\u003cdiv align=\"center\"\u003e\n  \u003ca href=\"https://github.com/Carthage/Carthage\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat\" alt=\"Carthage compatible\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"http://cocoapods.org/pods/PullableSheet\"\u003e\n    \u003cimg src=\"https://img.shields.io/cocoapods/v/PullableSheet.svg\" alt=\"CocoaPods\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"http://cocoapods.org/pods/PullableSheet\"\u003e\n    \u003cimg src=\"https://img.shields.io/cocoapods/p/PullableSheet.svg\" alt=\"Platform\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://developer.apple.com/swift\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/Swift-5-F16D39.svg\" alt=\"Swift Version\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"./LICENSE\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/license-MIT-green.svg?style=flat-square\" alt=\"license:MIT\" /\u003e\n  \u003c/a\u003e\n\u003c/div\u003e\n\n\n\n\u003cbr /\u003e\n\n\u003cimg src=\"https://github.com/tattn/PullableSheet/raw/master/docs/assets/demo1.gif\" width=300px /\u003e\n\u003cimg src=\"https://github.com/tattn/PullableSheet/raw/master/docs/assets/demo2.gif\" width=300px /\u003e\n\n\n# Installation\n\n## Carthage\n\n```ruby\ngithub \"tattn/PullableSheet\"\n```\n\n## CocoaPods\n\n```ruby\npod 'PullableSheet'\n```\n\n# Usage\n\n```swift\nimport PullableSheet\n\n// ....\n\noverride func viewDidLoad() {\n    super.viewDidLoad()\n    \n    let content = UIViewController() // your view controller\n    content.view.backgroundColor = .clear\n\n    let sheet = PullableSheet(content: content)\n    sheet.snapPoints = [.min, .custom(y: 300), .max] // snap points (if needed)\n    sheet.add(to: self)\n}\n```\n\n## Customize top bar\n\n```swift\nlet topBar = UIView(frame: .init(x: 0, y: 5, width: 300, height: 30))\ntopBar.backgroundColor = .green\nlet sheet = PullableSheet(content: content, topBarStyle: .custom(topBar))\n```\n\n\n# Contributing\n\n1. Fork it!\n2. Create your feature branch: `git checkout -b my-new-feature`\n3. Commit your changes: `git commit -am 'Add some feature'`\n4. Push to the branch: `git push origin my-new-feature`\n5. Submit a pull request :D\n\n# License\n\nPullableSheet is released under the MIT license. See LICENSE for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftattn%2FPullableSheet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftattn%2FPullableSheet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftattn%2FPullableSheet/lists"}