{"id":13473047,"url":"https://github.com/ptmt/react-native-touchbar","last_synced_at":"2025-04-05T05:10:00.109Z","repository":{"id":141999742,"uuid":"72215020","full_name":"ptmt/react-native-touchbar","owner":"ptmt","description":"TouchBar for react-native-macos","archived":false,"fork":false,"pushed_at":"2018-03-14T08:47:57.000Z","size":8,"stargazers_count":757,"open_issues_count":4,"forks_count":25,"subscribers_count":18,"default_branch":"master","last_synced_at":"2024-10-14T12:36:27.091Z","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/ptmt.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,"governance":null,"roadmap":null,"authors":null}},"created_at":"2016-10-28T14:35:57.000Z","updated_at":"2024-07-13T05:26:47.000Z","dependencies_parsed_at":"2023-07-22T01:15:45.638Z","dependency_job_id":null,"html_url":"https://github.com/ptmt/react-native-touchbar","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/ptmt%2Freact-native-touchbar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ptmt%2Freact-native-touchbar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ptmt%2Freact-native-touchbar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ptmt%2Freact-native-touchbar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ptmt","download_url":"https://codeload.github.com/ptmt/react-native-touchbar/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247289429,"owners_count":20914464,"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-07-31T16:01:00.235Z","updated_at":"2025-04-05T05:10:00.088Z","avatar_url":"https://github.com/ptmt.png","language":"Objective-C","readme":"\n```js\nimport React from 'react';\nimport { View } from 'react-native-macos';\nimport TouchBar from 'react-native-touchbar';\n\nexport default myApp = () =\u003e (\n     \u003cView style={styles.container}\u003e\n        \u003cTouchBar\u003e\n          \u003cButton title=\"Esc\" onClick={() =\u003e alert('Hello, vim!')}/\u003e\n          \u003cButton title=\"Courage\" style={{ fontSize: 12 }} /\u003e\n          \u003cView style={{ backgroundColor: 'red', flex: 1}} /\u003e\n        \u003c/TouchBar\u003e\n        \u003cText style={styles.welcome}\u003e\n          Welcome to React Native macOS!\n        \u003c/Text\u003e\n        \u003cText style={styles.instructions}\u003e\n          To get started, edit index.macos.js\n        \u003c/Text\u003e\n        \u003cText style={styles.instructions}\u003e\n          Press Cmd+R to reload,{'\\n'}\n          Or use Developer Menu\n        \u003c/Text\u003e\n     \u003c/View\u003e\n)\n```\n\u003cimg width=\"1155\" alt=\"screenshot 2016-10-28 16 33 21 copy\" src=\"https://cloud.githubusercontent.com/assets/1004115/19810235/f70fc7ca-9d2c-11e6-81e4-596b53366831.png\"\u003e\n\nYou need Xcode 8.1 on macOS Sierra 10.12.1 (12B2657) or later.\n\nEnable Touchbar simulator in Xcode -\u003e Windows menu:\n![](https://help.apple.com/xcode/mac/8.1/en.lproj/Art/da_menu_show_Touch_Bar.png)\n\nTODO: \n\n- [ ] Different native TouchBarItems (like segmented controls)\n- [ ] Inner touchbar (touchbar inside touchbars)\n- [ ] Customization\n- [ ] Several Touchbar instances per app\n","funding_links":[],"categories":["Objective-C"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fptmt%2Freact-native-touchbar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fptmt%2Freact-native-touchbar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fptmt%2Freact-native-touchbar/lists"}