Latest 1.0.0
Homepage https://github.com/jamesdouble/JDMailBox
License MIT
Platforms ios 8.0
Authors

(IOS)An animation after the mail send.


Introduction

JDMailBox is basically a MFMailComposeViewController :mailbox_with_mail: , but I think it will be more interesting with an animation.:yum::yum::yum:

JDMailBox

Installation

  1. Cocoapod

    pod 'JDMailBox'
  2. Fork my reop.

Demo

JDMailBox

Usage

:e-mail: JDMailBox is a kind of MFMailComposeViewController, so all you need to do is treat it like this:

Basic

  jdmailbox = JDMailBoxComposeVC(rootVC: self)
  if(JDMailBoxComposeVC.canSendMail())   /* importnat */
  {
  self.present(jdmailbox, animated: true, completion: nil)
  }

Signature :pencil2:

  jdmailbox = JDMailBoxComposeVC(rootVC: self)
  jdmailbox.setSignature(signature: "JamesDouble")
  self.present(jdmailbox, animated: true, completion: nil)

Notice

It is important to call this function
JDMailBoxComposeVC.canSendMail()

More About MFMailComposeViewController Usage

You should reference:
https://developer.apple.com/reference/messageui/mfmailcomposeviewcontroller

Latest podspec

{
    "name": "JDMailBox",
    "version": "1.0.0",
    "summary": "Send Mail Animation",
    "description": "JDMailBox is basically a MFMailComposeViewController ud83dudcec , but I think it will be more interesting with an animation..",
    "homepage": "https://github.com/jamesdouble/JDMailBox",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "JamesDouble": "[email protected]"
    },
    "source": {
        "git": "https://github.com/jamesdouble/JDMailBox.git",
        "tag": "1.0.0"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "JDMailBox/JDMailBox/*",
    "pushed_with_swift_version": "3.0"
}

Pin It on Pinterest

Share This