One Logo Pool Ball
MessageUI · IOS API REFERENCE

MFMailDraft

class · SDK 27.1

class MFMailDraft

Members (6)

init

init

TypeScript
static init(subject: string, body: _Foundation_NSAttributedString, from: string, to: Array<string>, cc: Array<string>): MFMailDraft
Swift declaration
init(subject: String, body: NSAttributedString, from: String, to: [String], cc: [String])
get

body

TypeScript
get body(): _Foundation_NSAttributedString
Swift declaration
var body: NSAttributedString { get }
get

cc

TypeScript
get cc(): Array<string>
Swift declaration
var cc: [String] { get }
get

from

TypeScript
get from(): (string) | null
Swift declaration
var from: String? { get }
get

subject

TypeScript
get subject(): string
Swift declaration
var subject: String { get }
get

to

TypeScript
get to(): Array<string>
Swift declaration
var to: [String] { get }

Skipped declarations

1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

MFMailDraft.init()

inherited init: cannot prove legal (class declares 1 custom initializer)

All MessageUI types →