RTFDFromRange returns different data
RTFDFromRange returns different data
- Subject: RTFDFromRange returns different data
- From: "gMail.com" <email@hidden>
- Date: Thu, 11 Nov 2010 15:12:59 +0100
- Thread-topic: RTFDFromRange returns different data
RTFDFromRange returns different data even if I do not change the variables
mTextMutableString nor mDocAttributes. I just call several time:
NSData *textData = [mTextMutableString RTFDFromRange:textRange
documentAttributes:mDocAttributes];
NSLog(@"textData %@", textData);
And 'every time' I get a different textData log text.
Of course I compare the text starting from <
For example, at any call I get
(this is the last changing part of the log text)
1) edecdb4c b6010000 00000000 00000000>
2) 2aebdb4c b6010000 00000000 00000000>
3) a6f8db4c b6010000 00000000 00000000>
4) bef8db4c b6010000 00000000 00000000>
Why does RTFDFromRange returns a different data, even if the variables
didn't change? How to get the same data? Is it a bug?
Regards
Leonardo
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden