Giter VIP home page Giter VIP logo

emailcomposer's Introduction

EmailComposer

Compose and send emails in SwiftUI using a view modifier.

EmailComposer code snippet

About EmailComposer

EmailComposer 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.

A Useful Note

The Swift package in this repository is meant to be used in Xcode 13 and above. If you are working in Xcode 12 and want to integrate EmailComposer in your project, then take a look at this repository that contains a modified package compatible to Xcode 12. The difference between the two is the version of the used Swift tools; this one uses Swift tools version 5.5 in order to take advantage of the new documentation features and DocC archives that are new to Xcode 13.

Integration

Copy this repository's URL, and in Xcode 13 and above, go to File > Add Packages... menu and paste the URL to the search bar of the window that shows up.

Follow the on-screen steps to finish adding the package. Do not forget to:

  • Add EmailComposer library to the Frameworks, Libraries, and Embedded Content section in the General tab of your app's target.
  • Import it in any source file you are going to use it:
import EmailComposer

Documentation

This short guide demonstrates how to use EmailComposer library.

Also, documentation for this library has been generated using the DocC compiler in Xcode 13. You may download a DocC archive (.doccarchive) and open it with Developer Documentation in Xcode (Note: Xcode 13 and above is required).

Reading Material

There is a text tutorial to read about how to implement email composer in SwiftUI on SerialCoder.dev, and on Medium.

Author

Gabriel Theodoropoulos, Copyright © 2021 - Explore more content and material at SerialCoder.dev.

Legal Note: It 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.

License

EmailComposer is licensed under the MIT license.

emailcomposer's People

Contributors

nbapps avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.