{"id":21903832,"url":"https://github.com/hansemannn/titanium-context-menu","last_synced_at":"2025-04-15T20:43:41.167Z","repository":{"id":142791313,"uuid":"207115944","full_name":"hansemannn/titanium-context-menu","owner":"hansemannn","description":"Use the `UIPreviewInteraction` and `UIMenu` API in the Titanium SDK.","archived":false,"fork":false,"pushed_at":"2024-07-14T21:59:54.000Z","size":9029,"stargazers_count":13,"open_issues_count":1,"forks_count":2,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-03-29T01:11:49.397Z","etag":null,"topics":["appcelerator","axway","context-menu","ios13","titanium"],"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/hansemannn.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-09-08T13:22:44.000Z","updated_at":"2024-07-14T21:59:57.000Z","dependencies_parsed_at":null,"dependency_job_id":"f2ebab94-f02d-41eb-b60d-f7c12367daee","html_url":"https://github.com/hansemannn/titanium-context-menu","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hansemannn%2Ftitanium-context-menu","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hansemannn%2Ftitanium-context-menu/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hansemannn%2Ftitanium-context-menu/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hansemannn%2Ftitanium-context-menu/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hansemannn","download_url":"https://codeload.github.com/hansemannn/titanium-context-menu/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249151949,"owners_count":21221155,"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":["appcelerator","axway","context-menu","ios13","titanium"],"created_at":"2024-11-28T15:29:41.709Z","updated_at":"2025-04-15T20:43:41.143Z","avatar_url":"https://github.com/hansemannn.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Titanium iOS 14+ Context Menus\n\nUse the `UIPreviewInteraction` and `UIMenu` API in the Titanium SDK.\n\n\u003cimg src=\"./example.gif\" width=\"400\" /\u003e\n\n## Requirements\n\n- [x] Titanium SDK 9.2.0+\n- [x] iOS 14+\n\n## How does it work?\n\nSimply include the `ti.contextmenu` module in your tiapp.xml and let the magic happen.\n\n### UIPreviewInteraction\n\nCall the `addInteraction` method on any `Ti.UI.View` subclass (e.g. `Ti.UI.ImageView`).\n\n### UIMenu\n\nAdd the `menu` property to a `Ti.UI.Button`. Since version 2.1.0, the `menu` property also works for buttons in the \nnavigation bar, e.g. `rightNavButton` or `leftNavButton`, but only if you have either a `title` or `image`.\nSince version 2.2.0, the menu also works for the `ListView` and `TableView` API. Since version 4.0.0, you can use nested menus as well.\n\n## Full Example\n\nSee the `example/app.js` for a full-featured example.\n\n## License\n\nMIT\n\n## Author\n\nHans Knöchel\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhansemannn%2Ftitanium-context-menu","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhansemannn%2Ftitanium-context-menu","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhansemannn%2Ftitanium-context-menu/lists"}