{"id":19704334,"url":"https://github.com/tinymind/lsactionview","last_synced_at":"2025-04-29T14:31:20.568Z","repository":{"id":26887591,"uuid":"30348627","full_name":"tinymind/LSActionView","owner":"tinymind","description":"Alternative to UIActionSheet with a block-based API and a customizable look.","archived":false,"fork":false,"pushed_at":"2015-02-06T06:03:30.000Z","size":280,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-16T22:25:48.124Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/tinymind.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-02-05T09:55:12.000Z","updated_at":"2016-06-24T11:38:22.000Z","dependencies_parsed_at":"2022-08-31T08:20:57.099Z","dependency_job_id":null,"html_url":"https://github.com/tinymind/LSActionView","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinymind%2FLSActionView","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinymind%2FLSActionView/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinymind%2FLSActionView/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinymind%2FLSActionView/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tinymind","download_url":"https://codeload.github.com/tinymind/LSActionView/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251519015,"owners_count":21602251,"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-11T21:22:02.116Z","updated_at":"2025-04-29T14:31:15.538Z","avatar_url":"https://github.com/tinymind.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LSActionView\nAlternative to UIActionSheet with a block-based API and a customizable look.\n\n## Installation\n\n- Add `LSActionView.h` and `LSActionView.h` to your project. \n- Or use CocoaPods: `pod 'LSActionView'`.\n\n## Requirements\n\nRequires iOS 4.3 and above.\n\n## Usage\n\n``` cpp\n\n  #import \"LSActionView.h\"\n\n  - (void)onShareTapped:(id)sender {\n  \n    //show without button title\n    NSArray *images = @[@\"icon_dropbox\", @\"icon_rss\", @\"icon_facebook\", @\"icon_twitter\"];\n    [[LSActionView sharedActionView] showWithImages:images actionBlock:^(NSInteger index) {\n\t\tNSLog(@\"Action trigger at %ld:\", (long)index);\n\t}]; \n                                            \n    //show with button title\n    NSArray *titles = @[@\"Dropbox\", @\"Rss\", @\"Facebook\", @\"Twitter\"];\n    [[LSActionView sharedActionView] showWithImages:images titles:titles actionBlock:^(NSInteger index) {\n\t\tNSLog(@\"Action trigger at %ld:\", (long)index);\n\t}];                                             \n  }\n  \n```\n\n## Customizable\n\n``` cpp\n\n  @property (strong, nonatomic) UIColor *blankAreaColor;\n  @property (strong, nonatomic) UIColor *containerColor;\n  @property (strong, nonatomic) UIColor *buttonTitleColor;\n  @property (assign, nonatomic) CGFloat buttonFontSize;\n  @property (assign, nonatomic) CGFloat containerMargin;\n  @property (assign, nonatomic) CGFloat buttonIconWidth;\n  @property (assign, nonatomic) CGFloat buttonTitleHeight;\n\n```\n\n## Examples\n\n### Without title\n![LSActionView Example1](https://github.com/tinymind/LSActionView/raw/master/example1.png)  \n\n### With title\n![LSActionView Example2](https://github.com/tinymind/LSActionView/raw/master/example2.png)  \n\n### Landscape\n![LSActionView Example3](https://github.com/tinymind/LSActionView/raw/master/example3.png)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftinymind%2Flsactionview","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftinymind%2Flsactionview","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftinymind%2Flsactionview/lists"}