RE: MFMailComposeViewController: referencing attached data in HTML body

2011-06-27 Thread Pierre Fournier
refer to it > within your HTML. Then, you wouldn't have to attach it. > > > -Heath Borders > heath.bord...@gmail.com > Twitter: heathborders > http://heath-tech.blogspot.com > > > > On Sun, Jun 26, 2011 at 6:14 PM, Pierre Fournier wrote: > > >

MFMailComposeViewController: referencing attached data in HTML body

2011-06-26 Thread Pierre Fournier
Hi,is there a way to reference the attached data within the HTML body?[mailController addAttachmentData:pngDataFooter mimeType:@"image/png" fileName:@"footer.png"];[mailController setMessageBody:@"" isHTML:TRUE];When running such code, I get a blue question mark instead of the image, while the

Opening a file for writing text in /private/var/log

2010-06-14 Thread Pierre Fournier
Hi,I want to log something in a file at /private/var/log, using NSFileHandle.With the app launched as root, everything runs ok using [NSFileHandle fileHandleForWritingToURL:url error:&err]. I get a valid handle and can write what I want to. With the app launched as non-root user, I create an Au

RE: IBPlugin Inspector: get contents of the Library Media tab

2009-10-11 Thread Pierre Fournier
Hi all,don't know if its the right place to post a question about IBPlugin development ...Ok, so, I'm developing an IBPlugin for a custom control (among others) which uses two NSImage. I also develop a dedicated Inspector for that control, in which I would let the user choose the two images he