{"id":2462,"url":"https://github.com/ra1028/FloatingActionSheetController","last_synced_at":"2025-08-03T00:30:54.064Z","repository":{"id":56911451,"uuid":"44942391","full_name":"ra1028/FloatingActionSheetController","owner":"ra1028","description":"FloatingActionSheetController is a cool design ActionSheetController library written in Swift2.","archived":false,"fork":false,"pushed_at":"2017-10-26T15:26:52.000Z","size":45,"stargazers_count":139,"open_issues_count":6,"forks_count":20,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-11-27T11:35:09.290Z","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/ra1028.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":"2015-10-26T02:59:27.000Z","updated_at":"2024-01-19T22:29:30.000Z","dependencies_parsed_at":"2022-08-20T20:20:40.040Z","dependency_job_id":null,"html_url":"https://github.com/ra1028/FloatingActionSheetController","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/ra1028%2FFloatingActionSheetController","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ra1028%2FFloatingActionSheetController/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ra1028%2FFloatingActionSheetController/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ra1028%2FFloatingActionSheetController/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ra1028","download_url":"https://codeload.github.com/ra1028/FloatingActionSheetController/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228503227,"owners_count":17930544,"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-01-05T20:16:14.342Z","updated_at":"2024-12-06T17:31:08.876Z","avatar_url":"https://github.com/ra1028.png","language":"Swift","funding_links":[],"categories":["UI"],"sub_categories":["Alert \u0026 Action Sheet","Other free courses"],"readme":"# FloationgActionSheetController\n![Platform](http://img.shields.io/badge/platform-iOS-blue.svg?style=flat)\n[![Language](https://img.shields.io/badge/swift3-compatible-4BC51D.svg?style=flat)](https://developer.apple.com/swift)\n[![CocoaPods Shield](https://img.shields.io/cocoapods/v/FloatingActionSheetController.svg)](https://cocoapods.org/pods/FloatingActionSheetController)\n[![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)\n[![License](http://img.shields.io/badge/license-MIT-green.svg?style=flat)](https://github.com/ra1028/FloatingActionSheetController/blob/master/LICENSE)\n\nFloatingActionSheetController is a cool design ActionSheetController library written in Swift2.  \n\n## Overview\n\u003cimg src=\"http://i.imgur.com/sFyY1nQ.gif\" width=\"320\"\u003e\n\u003cimg src=\"http://i.imgur.com/0InaZwn.gif\" width=\"320\"\u003e\n\u003cimg src=\"http://i.imgur.com/bzKxfyx.png\" width=\"240\"\u003e\n\n## Requirements  \n- Xcode 8+\n- Swift3  \n- iOS 8.0+  \n\n## Installation\n\n### CocoaPods\n```ruby\n# Podfile\nuse_frameworks!\ntarget 'YOUR_TARGET_NAME' do\n  pod \"FloatingActionSheetController\"\nend\n```\n\n### Carthage\n```ruby\n# Cartfile\ngithub \"ra1028/FloatingActionSheetController\"\n```\n\n## Usage\n\n__Import FloationgActionSheetController at first.__\n```swift\nimport FloatingActionSheetController\n```\n\n### example\n```swift\nlet action1 = FloatingAction(title: \"title\") { action in\n    // Do something.\n}\nlet action2 = FloatingAction(title: \"title\") { action in\n    // Do something.\n}\nlet action3 = FloatingAction(title: \"title\", handleImmediately: true) { action in\n    // Do something.\n    // If set to 'true' the handleImmediately, handler will be execute soon when Action was select.\n}\nlet group1 = FloatingActionGroup(action: action1)\nlet group2 = FloatingActionGroup(action: action2, action3)\nFloatingActionSheetController(actionGroup: group1, group2)\n    .present(in: self)\n```\nWe have prepared a rich initializer to each Class. Please refer to the demo app and source code.\n\n### animations\nCustom animation styles.\nPlease check the overview or demo app for animation details\n```swift\npublic enum AnimationStyle {\n    case slideUp\n    case slideDown\n    case slideLeft\n    case slideRight\n    case pop\n}\n```\nHow to use\n```swift\nFloatingActionSheetController(actionGroup: group, animationStyle: .slideLeft)\n```\n```swift\nlet actionSheet = FloatingActionSheetController(actionGroup: group)\nactionSheet.animationStyle = .slideLeft\n```\n\n### appearance customization\n```swift\nlet actionSheet = FloatingActionSheetController(actionGroup: group1)\n// Color of action sheet\nactionSheet.itemTintColor = .white\n// Color of title texts\nactionSheet.textColor = .black\n// Font of title texts\nactionSheet.font = .boldSystemFont(ofSize: 15)\n// background dimming color\nactionSheet.dimmingColor = UIColor(white: 1, alpha: 0.7)\n```\nIf you wants to customize FloatingAction individually.\n```swift\nvar action = FloatingAction(title: \"title\") { action in\n    // Do something.\n}\naction.tintColor = .whiteColor()\naction.textColor = .blackColor()\naction.font = .boldSystemFont(ofSize: 15)\n```\n\n## License\nFloatingActionSheetController 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%2Fra1028%2FFloatingActionSheetController","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fra1028%2FFloatingActionSheetController","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fra1028%2FFloatingActionSheetController/lists"}