{"id":21437624,"url":"https://github.com/gabrieltheodoropoulos/emailcomposer-xcode12","last_synced_at":"2026-05-21T07:43:07.180Z","repository":{"id":79559029,"uuid":"388573080","full_name":"gabrieltheodoropoulos/EmailComposer-Xcode12","owner":"gabrieltheodoropoulos","description":"A custom view modifier in order to present the system email composer in SwiftUI based iOS apps shipped as a Swift package. For Xcode 12.","archived":false,"fork":false,"pushed_at":"2021-07-22T19:38:20.000Z","size":11,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-23T09:43:38.956Z","etag":null,"topics":["ios","swift","swiftpackage","swiftui","xcode12"],"latest_commit_sha":null,"homepage":"","language":"Swift","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/gabrieltheodoropoulos.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":"2021-07-22T19:20:19.000Z","updated_at":"2021-07-25T16:05:08.000Z","dependencies_parsed_at":"2023-03-13T20:09:49.417Z","dependency_job_id":null,"html_url":"https://github.com/gabrieltheodoropoulos/EmailComposer-Xcode12","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gabrieltheodoropoulos%2FEmailComposer-Xcode12","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gabrieltheodoropoulos%2FEmailComposer-Xcode12/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gabrieltheodoropoulos%2FEmailComposer-Xcode12/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gabrieltheodoropoulos%2FEmailComposer-Xcode12/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gabrieltheodoropoulos","download_url":"https://codeload.github.com/gabrieltheodoropoulos/EmailComposer-Xcode12/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243950792,"owners_count":20373664,"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":["ios","swift","swiftpackage","swiftui","xcode12"],"created_at":"2024-11-23T00:28:00.739Z","updated_at":"2026-05-21T07:43:07.143Z","avatar_url":"https://github.com/gabrieltheodoropoulos.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# EmailComposer for Xcode 12\n\nCompose and send emails in SwiftUI using a view modifier.\n\n![EmailComposer code snippet](https://serialcoder.dev/misc/github_images/emailComposer.png)\n\n## About EmailComposer\n\nEmailComposer library makes it pretty easy to present the system provided controller for composing emails in SwiftUI based iOS applications. All it takes is to use a **view modifier**, providing a few arguments. The rest are handled automatically.\n\n## Special Note\n\nThe EmailComposer Swift package in this repository makes use of the Swift tools version 5.4 *in order to be compatible with Xcode 12*. Original EmailComposer package implementation was done in Xcode 13 with Swift tools version 5.5, taking advantage of the new documentation features and Documentation Compiler (DocC).\n\nIf you are working in Xcode 12, then use the package of this repository. If you are working in Xcode 13 and above, then look at [this repository](https://github.com/gabrieltheodoropoulos/EmailComposer.git) in order to enjoy all those new documentation features.\n\n## Integration\n\nCopy this repository's URL, and in Xcode 12 go to *File \u003e Swift Packages \u003e Add Package Dependency...* menu. Follow the on-screen steps to finish adding the package. Do not forget to:\n\n- Add EmailComposer library to the *Frameworks, Libraries, and Embedded Content* section in the General tab of your app's target.\n- Import it in any source file you are going to use it:\n\n```swift\nimport EmailComposer\n```\n\n## Documentation\n\n[This short guide](https://github.com/gabrieltheodoropoulos/EmailComposer-Xcode12/wiki) demonstrates how to use EmailComposer library.\n\n**Note:** There is a DocC archive (.doccarchive) available to download and open it with the Developer Documentation. However, this cannot be done in Xcode 12, as DocC archives require Xcode 13 and above. To find out more, look at the [original EmailComposer Swift package repository](https://github.com/gabrieltheodoropoulos/EmailComposer.git) made for Xcode 13+. \n\n## Reading Material\n\nThere is a text tutorial to read about how to implement email composer in SwiftUI on [SerialCoder.dev](https://serialcoder.dev/text-tutorials/swiftui/composing-emails-in-swiftui-using-a-view-modifier/), and on [Medium](https://gabth.medium.com/composing-emails-in-swiftui-using-a-view-modifier-a764a981080a).\n\n## Author\n\nGabriel Theodoropoulos, Copyright © 2021 - Explore more content and material at [SerialCoder.dev](https://serialcoder.dev).\n\n*Legal Note:\nIt is allowed to use EmailComposer library in both personal and commercial projects, as well as to modify it as neccesary. However, it is not allowed to sell it, or claim ownership.*\n\n## License\n\nEmailComposer is licensed under the MIT license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgabrieltheodoropoulos%2Femailcomposer-xcode12","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgabrieltheodoropoulos%2Femailcomposer-xcode12","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgabrieltheodoropoulos%2Femailcomposer-xcode12/lists"}