{"id":20678946,"url":"https://github.com/fastred/ahkactionsheet","last_synced_at":"2025-05-16T07:03:48.863Z","repository":{"id":16030066,"uuid":"18773812","full_name":"fastred/AHKActionSheet","owner":"fastred","description":"An alternative to the UIActionSheet inspired by the Spotify app.","archived":false,"fork":false,"pushed_at":"2016-09-13T22:35:34.000Z","size":1156,"stargazers_count":1160,"open_issues_count":6,"forks_count":129,"subscribers_count":36,"default_branch":"master","last_synced_at":"2025-05-08T23:26:25.923Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Objective-C","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/fastred.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":"2014-04-14T19:38:32.000Z","updated_at":"2025-03-23T01:41:26.000Z","dependencies_parsed_at":"2022-08-30T16:00:29.235Z","dependency_job_id":null,"html_url":"https://github.com/fastred/AHKActionSheet","commit_stats":null,"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastred%2FAHKActionSheet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastred%2FAHKActionSheet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastred%2FAHKActionSheet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastred%2FAHKActionSheet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fastred","download_url":"https://codeload.github.com/fastred/AHKActionSheet/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254485053,"owners_count":22078767,"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-11-16T21:23:16.182Z","updated_at":"2025-05-16T07:03:48.813Z","avatar_url":"https://github.com/fastred.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AHKActionSheet\n[![License: MIT](https://img.shields.io/badge/license-MIT-red.svg?style=flat)](https://github.com/fastred/AHKActionSheet/blob/master/LICENSE)\n[![CocoaPods](https://img.shields.io/cocoapods/v/AHKActionSheet.svg?style=flat)](https://github.com/fastred/AHKActionSheet)\n\nAn alternative to the UIActionSheet with a block-based API and a customizable look. Inspired by the Spotify app. It looks a lot better live than on the GIF (because compression).\n\n![Demo GIF](https://raw.githubusercontent.com/fastred/AHKActionSheet/master/example.gif)\n\n## Features\n\n * Modern, iOS 7 look\n * Block-based API\n * Highly customizable\n * Gesture-driven navigation with two ways to hide the control: either quick flick down or swipe and release (at the position when the blur is starting to fade)\n * Use a simple label or a completely custom view above the buttons\n * Use with or without icons (text can be optionally centered)\n * Status bar style matches the one from the presenting controller\n\n## Demo\n\nBuild and run the `AHKActionSheetExample` project in Xcode. `AHKViewController.m` file contains the important code used in the example.\n\n## Requirements\n\n * iOS 6.0 and above\n * ARC\n * Optimized for iPhone\n\n## Installation\n### CocoaPods\n\nAHKActionSheet is available through [CocoaPods](http://cocoapods.org), to install\nit simply add the following line to your Podfile:\n\n    pod \"AHKActionSheet\"\n### Manual\nCopy all files from `Classes/` directory to your project. Then, add `QuartzCore.framework` to your project.\n\n## Usage\nA simple example:\n\n```obj-c\n#import \"AHKActionSheet.h\"\n...\nAHKActionSheet *actionSheet = [[AHKActionSheet alloc] initWithTitle:nil];\n[actionSheet addButtonWithTitle:@\"Test\" type:AHKActionSheetButtonTypeDefault handler:^(AHKActionSheet *as) {\n    NSLog(@\"Test tapped\");\n}];\n[actionSheet show];\n```\n\nThe view is customizable either directly or through a UIAppearance API. See the header file (`Classes/AHKActionSheet.h`) and the example project to learn more.\n\n## Changelog\n\n0.5.4\n\n* Fix `cancelOnTapEmptyAreaEnabled` behavior\n\n0.5.3\n\n* Added `cancelOnTapEmptyAreaEnabled` property\n* Updated the project to compile cleanly on Xcode 7\n\n0.5.2\n\n* Fixed visible cancel button even though its height was set to 0.\n\n0.5.1\n\n* Fixed issues with separators on iOS 8\n\n0.5\n\n* Fixed bugs on iOS 8\n\n0.4.2\n\n* Fixed incorrect orientation of the blurred snapshot on iOS 8\n\n0.4.1\n\n* Improved dismissal error handling\n\n0.4.0\n\n* Added a new button type: `AHKActionSheetButtonTypeDisabled`\n* Added `cancelOnPanGestureEnabled` property, which allows you to disable:\n  \u003e Gesture-driven navigation with two ways to hide the control: either quick flick down or swipe and release (at the position when the blur is starting to fade)\n* Internal scroll view's `bounces` is now disabled when `cancelOnPanGestureEnabled` is turned off and when the scroll view's `contentSize`'s height is smaller than the screen's height.\n\n0.3.0\n\n* Added iOS 6 support\n\n0.2.0\n\n* Added `animationDuration` property\n* Added some basic unit tests\n* Improved comments in the header file\n\n0.1.3\n\n* Ready for projects with [more warnings](https://github.com/boredzo/Warnings-xcconfig/wiki/Warnings-Explained) enabled\n\n0.1.2\n\n* `UIWindow` is now snapshotted instead of `UIViewController's` `view`\n\n0.1.1\n\n* Refactorings\n* Bug fixes\n\n0.1.0\n\n* Initial release\n\n## Author\n\nArkadiusz Holko:\n\n* [Blog](http://holko.pl/)\n* [@arekholko on Twitter](https://twitter.com/arekholko)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffastred%2Fahkactionsheet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffastred%2Fahkactionsheet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffastred%2Fahkactionsheet/lists"}