{"id":22210561,"url":"https://github.com/jangsy7883/jltablesheet","last_synced_at":"2025-08-16T09:11:14.447Z","repository":{"id":56916219,"uuid":"87707787","full_name":"jangsy7883/JLTableSheet","owner":"jangsy7883","description":"iOS native controller with Android BottomSheet style","archived":false,"fork":false,"pushed_at":"2017-09-27T03:00:31.000Z","size":79,"stargazers_count":3,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-27T10:42:45.506Z","etag":null,"topics":["actionsheet","bottomsheet"],"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/jangsy7883.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":"2017-04-09T12:46:22.000Z","updated_at":"2019-12-13T01:29:33.000Z","dependencies_parsed_at":"2022-08-21T03:50:50.578Z","dependency_job_id":null,"html_url":"https://github.com/jangsy7883/JLTableSheet","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/jangsy7883/JLTableSheet","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jangsy7883%2FJLTableSheet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jangsy7883%2FJLTableSheet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jangsy7883%2FJLTableSheet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jangsy7883%2FJLTableSheet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jangsy7883","download_url":"https://codeload.github.com/jangsy7883/JLTableSheet/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jangsy7883%2FJLTableSheet/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270690870,"owners_count":24628985,"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-08-16T02:00:11.002Z","response_time":91,"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":["actionsheet","bottomsheet"],"created_at":"2024-12-02T20:13:12.508Z","updated_at":"2025-08-16T09:11:14.399Z","avatar_url":"https://github.com/jangsy7883.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# JLTableSheet\n[![Version](https://img.shields.io/cocoapods/v/JLTableSheet.svg?style=flat)](http://cocoadocs.org/docsets/JLTableSheet)\n[![License](https://img.shields.io/cocoapods/l/JLTableSheet.svg?style=flat)](http://cocoadocs.org/docsets/JLTableSheet)\n[![Platform](https://img.shields.io/cocoapods/p/JLTableSheet.svg?style=flat)](http://cocoadocs.org/docsets/JLTableSheet)\n[![Support](https://img.shields.io/badge/support-iOS%208+-blue.svg?style=flat)](https://www.apple.com/nl/ios/)\n\n## Install\n**CocoaPods**\n```ruby\nplatform :ios, '8.0'\npod 'JLTableSheet'\n```\n\n## Usage\n**Import header file**\n```objc\n#import \u003cJLTableSheet/JLTableSheetViewController.h\u003e\n```\n\n**Initialize**\n```objc\nNSArray* fruitNames = @[@\"Apple\",@\"Grape\",@\"Watermelon\",@\"Orange\",@\"Strawberry\",@\"Pineapple\"];\nNSMutableArray \u003cJLTableSheetItem *\u003e *items = [NSMutableArray array];\nfor (NSString *fruitName in fruitNames) {\n    JLTableSheetItem *item = [JLTableSheetItem actionSheetItemTitle:fruitName userInfo:nil];\n    [items addObject:item];\n}\n\nJLTableSheetViewController *tableSheetViewController = [[JLTableSheetViewController alloc] initWithItems:items];\ntableSheetViewController.navigationBar.topItem.title = @\"Choose Fruits\";\n[tableSheetViewController presentInViewController:self];\n```\n\n**block handler**\n```objc\ntableSheetViewController.changedSelectedItems = ^(NSArray\u003cJLTableSheetItem *\u003e *items) {\n    NSLog(@\"changed selected items\");\n};\ntableSheetViewController.completion = ^(BOOL isCompleteAction, NSArray\u003cJLTableSheetItem *\u003e *items) {\n    NSLog(@\"completion\");\n    NSLog(@\"%@\",items);\n};\n```\n\n**dismiss view controller**\n```objc\n[self.tableSheetViewController dismiss];\n```\n\n**allows multiple selection**\n```objc\n@property (nonatomic, assign, getter=isAllowsMultipleSelection) BOOL allowsMultipleSelection;\n```\n\n**custom navigation item**\n```objc\nUIBarButtonItem *item = [[UIBarButtonItem alloc] initWithTitle:@\"Save\"\n                                                         style:UIBarButtonItemStyleDone\n                                                        target:self\n                                                        action:@selector(pressedSaveButton:)];\nitem.enabled = NO;\n\ntableSheetViewController.hidesCompleteButton = YES;\ntableSheetViewController.hidesCancelButton = YES;\ntableSheetViewController.navigationBar.topItem.rightBarButtonItem = item;\n\n//Block\n__block __weak typeof(JLTableSheetViewController) *weakTableSheetViewController = tableSheetViewController;\ntableSheetViewController.changedSelectedItems = ^(NSArray\u003cJLTableSheetItem *\u003e *items) {\n    weakTableSheetViewController.navigationBar.topItem.rightBarButtonItem.enabled = items.count \u003e 0;\n};\n```\n\n**navigationBar Hidden and custom headerView**\n```objc\nUIImageView *headerView = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@\"headerImage\"]];\n\ntableSheetViewController.navigationBarHidden = YES;\ntableSheetViewController.headerView = headerView; \n```\n\n## Inspiration\n\n1.[STPopup](https://github.com/kevin0571/STPopup)\n\n## Licence\nThe MIT License (MIT)\n\nCopyright (c) 2016 jangsy7883\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjangsy7883%2Fjltablesheet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjangsy7883%2Fjltablesheet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjangsy7883%2Fjltablesheet/lists"}