{"id":15888876,"url":"https://github.com/markrickert/jsontablemotion","last_synced_at":"2025-04-02T16:46:59.933Z","repository":{"id":5665294,"uuid":"6874758","full_name":"markrickert/JSONTableMotion","owner":"markrickert","description":"Example project on how to use nested JSON to create a bunch of nested UITableViews in RubyMotion","archived":false,"fork":false,"pushed_at":"2012-11-27T00:16:07.000Z","size":112,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-08T07:27:20.948Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","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/markrickert.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":"2012-11-27T00:02:43.000Z","updated_at":"2022-02-06T14:39:37.000Z","dependencies_parsed_at":"2022-08-24T17:41:10.566Z","dependency_job_id":null,"html_url":"https://github.com/markrickert/JSONTableMotion","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/markrickert%2FJSONTableMotion","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markrickert%2FJSONTableMotion/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markrickert%2FJSONTableMotion/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markrickert%2FJSONTableMotion/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/markrickert","download_url":"https://codeload.github.com/markrickert/JSONTableMotion/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246854257,"owners_count":20844732,"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-10-06T06:40:25.381Z","updated_at":"2025-04-02T16:46:59.897Z","avatar_url":"https://github.com/markrickert.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# JSONTableMotion\n\n## What is this?\n\nThis RubyMotion project is an example of how to use nesting inside a JSON file to create a series of UITableViews. You could extend this to pull the JSON from a server somewhere to dynamically update your menu structure.\n\nThe project has 3 main files:\n\n1. The ```AppDelegate``` class\n2. The ```NestingTableViewController``` class\n3. The JSON data file.\n\nWhen a table row that has nested data is tapped, ```NestingTableViewController``` creates a new instance of itself (while correctly passing down the nested data) and pushes that new instance onto the navigation stack.\n\n\n## OK, Sounds interesting... how do I get started?\n\n###Prerequisites:\n\n1. XCode 4.5 with iOS 6 SDK.\n2. You must have a registered and licensed copy or RubyMotion on your computer. If you do not, you will need to [purchase a license here](http://www.rubymotion.com/).\n5. Valid Apple Developer signing certificate (if you want to install on a device).\n\n*This project has been tested using RubyMotion 1.29 and iOS SDK 6*\n\n\n###Compiling:\n\n1. Clone the respoitory and ```cd``` into the directory\n2. Run ```bundle update``` then ```rake``` and the application will build and launch the iOS simulator.\n\n## Looks like I can do a bunch of things with the JSON, huh?\n\nYup! There's no limit to the nesting you can do with this project! In fact, check out the very last row in the table and you'll see what I mean ;)\n\nExplore the JSON and modify it to suit your needs. Just make sure to [validate your JSON](http://jsonlint.com/) or it'll crash the app at runtime.\n\n## Feedback\n\nI'd love [feedback](mailto:mjar81@gmail.com) on if you find this useful. If you find an issue, please fork fix, fix it, and submit a pull request (or submit an issue through github).\n\n#### Credits\n\nInspiration to do this came from [@diemer](https://github.com/diemer)'s [JSONTableView](https://github.com/diemer/JSONTableView) project. I simply wanted more control over how the data was presented and needed nesting. Check out his project for an example of loading the data from a server.\n\nThanks to Laurent Sansonetti for creating RubyMotion!","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarkrickert%2Fjsontablemotion","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarkrickert%2Fjsontablemotion","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarkrickert%2Fjsontablemotion/lists"}