{"id":26498755,"url":"https://github.com/jo-tools/nssharingservice","last_synced_at":"2026-02-13T15:38:22.776Z","repository":{"id":42707692,"uuid":"449835577","full_name":"jo-tools/nssharingservice","owner":"jo-tools","description":"Xojo example project: NSSharingService","archived":false,"fork":false,"pushed_at":"2025-03-15T15:21:29.000Z","size":4547,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-06T06:51:15.051Z","etag":null,"topics":["apple","declares","framework","macos","xojo"],"latest_commit_sha":null,"homepage":"https://www.jo-tools.ch","language":"Xojo","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/jo-tools.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":null,"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"lfx_crowdfunding":null,"custom":["https://paypal.me/jotools"]}},"created_at":"2022-01-19T19:53:51.000Z","updated_at":"2025-03-15T15:18:05.000Z","dependencies_parsed_at":"2025-03-15T19:31:03.841Z","dependency_job_id":null,"html_url":"https://github.com/jo-tools/nssharingservice","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/jo-tools/nssharingservice","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jo-tools%2Fnssharingservice","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jo-tools%2Fnssharingservice/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jo-tools%2Fnssharingservice/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jo-tools%2Fnssharingservice/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jo-tools","download_url":"https://codeload.github.com/jo-tools/nssharingservice/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jo-tools%2Fnssharingservice/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273595539,"owners_count":25134257,"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-09-04T02:00:08.968Z","response_time":61,"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":["apple","declares","framework","macos","xojo"],"created_at":"2025-03-20T14:39:55.823Z","updated_at":"2026-02-13T15:38:17.738Z","avatar_url":"https://github.com/jo-tools.png","language":"Xojo","funding_links":["https://paypal.me/jotools"],"categories":[],"sub_categories":[],"readme":"# NSSharingService\nXojo example project\n\n[![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](LICENSE)\n\n## Description\nAn example Xojo project to show how to use [NSSharingService](https://developer.apple.com/documentation/appkit/nssharingservice?language=objc) in Xojo-built Applications *(macOS, 64Bit only)*.\nThe following services are implemented in the example project:\n- Compose Email *(Subject, Content, Attachments)*\n- Compose Message *(Content/Text, File/Attachments)*\n- Send via AirDrop *(Files/Attachments)*\n\n### ScreenShots\nExample application - SharingService: **AirDrop**  \n![ScreenShot: Airdrop](screenshots/nssharingservice-airdrop.png?raw=true)\n\nExample application - SharingService: **Messages**  \n![ScreenShot: Messages](screenshots/nssharingservice-messages.png?raw=true)\n\nExample application - SharingService: **E-Mail**  \n![ScreenShot: E-Mail](screenshots/nssharingservice-email.png?raw=true)\n\n## Xojo\n### Requirements\n[Xojo](https://www.xojo.com/) is a rapid application development for Desktop, Web, Mobile \u0026 Raspberry Pi.  \n\nThe Desktop application Xojo example project ```NSSharingService.xojo_project``` is using:\n- Xojo 2024r4.2\n- API 2\n\n### How to use in your own Xojo project?\n1. copy the Module ```modNSSharingService``` to your project.\n2. you can then use the provided convenience methods:\n   1. ```modNSSharingService.SendViaAirDrop()```\n   2. ```modNSSharingService.ComposeMessage()```\n   3. ```modNSSharingService.ComposeEmail()```\n\nNote:  \n- These methods return ```true``` if the sharing service can be invoked, ```false``` if the service is not available.\n- The Sharing Service will run asynchrously *(e.g. when not called to show modally within a window)*. That's why you can pass a ```ResultCallbackDelegate```, which will be invoked and reported back with the result later (e.g.: successfully shared, cancelled by user, ...). \n\n## About\nJuerg Otter is a long term user of Xojo and working for [CM Informatik AG](https://cmiag.ch/). Their Application [CMI LehrerOffice](https://cmi-bildung.ch/) is a Xojo Design Award Winner 2018. In his leisure time Juerg provides some [bits and pieces for Xojo Developers](https://www.jo-tools.ch/).\n\n### Contact\n[![E-Mail](https://img.shields.io/static/v1?style=social\u0026label=E-Mail\u0026message=xojo@jo-tools.ch)](mailto:xojo@jo-tools.ch)\n\u0026emsp;\u0026emsp;\n[![Follow on Facebook](https://img.shields.io/static/v1?style=social\u0026logo=facebook\u0026label=Facebook\u0026message=juerg.otter)](https://www.facebook.com/juerg.otter)\n\u0026emsp;\u0026emsp;\n[![Follow on Twitter](https://img.shields.io/twitter/follow/juergotter?style=social)](https://twitter.com/juergotter)\n\n### Donation\nDo you like this project? Does it help you? Has it saved you time and money?  \nYou're welcome - it's free... If you want to say thanks I'd appreciate a [message](mailto:xojo@jo-tools.ch) or a small [donation via PayPal](https://paypal.me/jotools).  \n\n[![PayPal Dontation to jotools](https://img.shields.io/static/v1?style=social\u0026logo=paypal\u0026label=PayPal\u0026message=jotools)](https://paypal.me/jotools)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjo-tools%2Fnssharingservice","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjo-tools%2Fnssharingservice","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjo-tools%2Fnssharingservice/lists"}