mohammad-rahchamani / mailview Goto Github PK
View Code? Open in Web Editor NEWSwiftUI Mail Compose
License: MIT License
SwiftUI Mail Compose
License: MIT License
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
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
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
When I include this in my SwiftUI project I get the following errors.
Here are the following errors I get:
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.
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?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.