passing nsdata in stringwithformat
Posted
by milanjansari
on Stack Overflow
See other posts from Stack Overflow
or by milanjansari
Published on 2010-03-19T13:27:20Z
Indexed on
2010/03/19
13:31 UTC
Read the original article
Hit count: 278
iphone
hello,
How to pass nsdata in below of the string
NSData *myData = [NSData dataWithContentsOfFile:pathDoc];
pathDoc = [NSString stringWithFormat:@"<size>%d</size><type>%d</type><cdate>%@</cdate><file>%c</file><fname>File</fname>",fileSizeVal,filetype,creationDate,file];
Any idea about this?
Thanks you, Milan
© Stack Overflow or respective owner