Giter Club home page Giter Club logo

mailview's People

Contributors

mohammad-rahchamani avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

mailview's Issues

Works but can't archive for App Store

Hi Mohammad and thanks for this,

worked great for me until the next time that I tried Product | Archive, then I got a bunch of errors.

image

I'm compiling for iOS 14.1 and up.

Any advice, any troubleshooting I can do at my end? Can anyone else repro?

Thanks!

Nick

Including in project

Hi,

I can get the standalone project to work but when I copy the 3 files MailView.swift, MailView.h and info.plist, I get no such module found.

SPM fails without a manifest, how would you incorporate this into another project?

Cheers

Question

Can you post some images?

Also does this checks for apple email app only or does it open a sheet and then sends the email using some swift library?

Also can you put an example of usage? The one you posted on Stackoverflow is outdated

Thanks

Errors when used in own project

Hi! I have downloaded and built the demo app, it works great!

I tried to install it via SPM but it failed, and when including it into my project I get quite a few errors, mainly

Cannot specialize non-generic type 'Result'
Replace '<MailViewResult, Error>' with ''

Have you encountered this before? I don't seem to be able to get this to work in my own project by dragging it in or creating the same files. Thanks

SwiftUI Issue

When I include this in my SwiftUI project I get the following errors.

Here are the following errors I get:

  1. @binding is only available in iOS 13.0
  2. 'setPreferredSendingEmailAddress' is only available in iOS 11.0 or newer
  3. 'some' return types are only available in iOS 13.0.0 or newer
  4. 'open(_:options:completionHandler:)' is only available in iOS 10.0 or newer
  5. 'Group' is only available in iOS 13.0 or newer
  6. 'EmptyView' is only available in iOS 13.0 or newer

If I go into the Swift Package and into MailView.swift and put the following code: @available(iOS 13.0, *). in a few places all the errors go away. Could you please fix this? I really like this MailView and want to use it as a Swift package.

Sample of adding an attachment

I've been trying to add an attachment to the email but am having some trouble can you update the example to show attaching a pdf?

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.