{"id":18270376,"url":"https://github.com/Viacheslav-Radchenko/TSTableView","last_synced_at":"2025-04-05T01:30:35.116Z","repository":{"id":10212946,"uuid":"12308823","full_name":"Viacheslav-Radchenko/TSTableView","owner":"Viacheslav-Radchenko","description":"TSTableView is UI component for displaying multi columns tabular data.","archived":false,"fork":false,"pushed_at":"2013-10-22T11:27:25.000Z","size":1251,"stargazers_count":335,"open_issues_count":5,"forks_count":74,"subscribers_count":37,"default_branch":"master","last_synced_at":"2024-11-05T11:52:49.722Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Viacheslav-Radchenko.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-08-22T21:52:44.000Z","updated_at":"2024-01-05T15:04:48.000Z","dependencies_parsed_at":"2022-09-19T08:51:22.773Z","dependency_job_id":null,"html_url":"https://github.com/Viacheslav-Radchenko/TSTableView","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Viacheslav-Radchenko%2FTSTableView","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Viacheslav-Radchenko%2FTSTableView/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Viacheslav-Radchenko%2FTSTableView/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Viacheslav-Radchenko%2FTSTableView/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Viacheslav-Radchenko","download_url":"https://codeload.github.com/Viacheslav-Radchenko/TSTableView/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247276022,"owners_count":20912285,"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-05T11:38:33.184Z","updated_at":"2025-04-05T01:30:33.253Z","avatar_url":"https://github.com/Viacheslav-Radchenko.png","language":"Objective-C","readme":"TSTableView\n=======\n\n`TSTableView` is UI component for displaying multi columns tabular data with support of hierarchical rows and columns structure.\nIt provides smooth animations for item selection and dynamic content modification. Some features are listed below:\n\n* Suport muti columns data structure.\n* Support hierarchical column definition (i.e. column may have subsections).\n* Support hierarchical row definition (i.e. row may have expand subrows).\n* Optimized to display big sets of data: row and cell views are cached internally and reused during scrolling.\n* Support row and column selection.\n* Allow modification of column width by sliding column border.\n* Allow expand/collapse subrows content.\n* Support simple declarative syntax for columns and rows content definition.\n* Providing your own implementation of TSTableViewDataSource protocol will allow you fully customise structure and appearance of the table.\n* Default TSTableViewModel implements TSTableViewDataSource protocol and includes two built in styles (see screenshots).\n            \n\u003cimg src=\"https://raw.github.com/Viacheslav-Radchenko/TSUIKit/master/Screenshots/TSTableView_SCreenshot1.png\" alt=\"TSTableView examples\" width=\"360\" height=\"480\" /\u003e\n\u003cimg src=\"https://raw.github.com/Viacheslav-Radchenko/TSUIKit/master/Screenshots/TSTableView_SCreenshot2.png\" alt=\"TSTableView examples\" width=\"360\" height=\"480\" /\u003e\n\nExample of TSTableView object instantiation provided below. \n```\n    NSArray *columns = @[\n                         @{ @\"title\" : @\"Column 1\", @\"subtitle\" : @\"This is first column\"},\n                         @{ @\"title\" : @\"Column 2\", @\"subcolumns\" : @[\n                                    @{ @\"title\" : @\"Column 2.1\", @\"headerHeight\" : @20},\n                                    @{ @\"title\" : @\"Column 2.2\", @\"headerHeight\" : @20}]},\n                         @{ @\"title\" : @\"Column 3\", @\"titleColor\" : @\"FF00CF00\"}\n                         ];\n\n    NSArray *rows = @[\n                      @{ @\"cells\" : @[\n                                 @{ @\"value\" : @\"Value 1\"},\n                                 @{ @\"value\" : @1},\n                                 @{ @\"value\" : @2},\n                                 @{ @\"value\" : @3}\n                                 ]\n                         },\n                      @{ @\"cells\" : @[\n                                 @{ @\"value\" : @\"Value 2\"},\n                                 @{ @\"value\" : @2},\n                                 @{ @\"value\" : @3},\n                                 @{ @\"value\" : @4}\n                                 ]\n                         }\n                      ];\n\n    TSTableView *tableView = [[TSTableView alloc] initWithFrame:self.view.bounds];\n    tableView.autoresizingMask = UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight;\n    tableView.delegate = self;\n    [self.view addSubview:tableView];\n    \n    TSTableViewModel  *dataModel = [[TSTableViewModel alloc] initWithTableView:tableView andStyle:kTSTableViewStyleDark];\n    [dataModel setColumns:columns andRows:rows];\n\n```\nResult of code snippet is shown below, as well as more complex example displaying file system tree using `TSTableView`.\n\n\u003cimg src=\"https://raw.github.com/Viacheslav-Radchenko/TSUIKit/master/Screenshots/TSTableView_Screenshot3.png\" alt=\"TSTableView examples\" width=\"360\" height=\"480\" /\u003e\n\u003cimg src=\"https://raw.github.com/Viacheslav-Radchenko/TSUIKit/master/Screenshots/TSTableView_Screenshot4.png\" alt=\"TSTableView examples\" width=\"360\" height=\"480\" /\u003e\n\n## Links\n\n* Parent repository [TSUIKit](https://github.com/Viacheslav-Radchenko/TSUIKit).\n* Demo video [TSTableView](http://youtu.be/Zd2CGbj0yUU).\n\n## Requirements\n\n* Xcode 4.5 or higher\n* Apple LLVM compiler\n* iOS 5.0 or higher\n* ARC\n\n## Demo\n\nBuild and run the `TSTableView` project in Xcode to see examples.\n\n## Installation\n\nThe easiest way to integrate TSUIKit is using CocoaPods. Just add this to your Podfile:\n```\n            pod 'TSUIKit', '~\u003e 0.1' \n```\n\nOther option is to drop source files from `Classes\\TSUIKit` folder into your project and add `#include \"TSTableView.h\"`.\n\n## Contact\n\nViacheslav Radchenko\n\n- https://github.com/Viacheslav-Radchenko\n- radchencko.v.i@gmail.com\n\n## License\n\nTSTableView is available under the MIT license.\n\nCopyright © 2013 Viacheslav Radchenko.\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","funding_links":[],"categories":["etc"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FViacheslav-Radchenko%2FTSTableView","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FViacheslav-Radchenko%2FTSTableView","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FViacheslav-Radchenko%2FTSTableView/lists"}