FROM : Michael Fenske
DATE : Wed Jan 08 23:02:30 2003
Hmm, nobody can explain this:
Ok, I set text in a NSTextView this way:
[textView setString:@"new text"];
No problem. But can someone explain me, why this
[[textView textStorage] setText:@"new text"];
works, too? I get a waring if I compile that (as I expected)
but it really works. So, I'm curious to know why.
Just magic?
Michael
_______________________________________________
cocoa-dev mailing list | <email_removed>
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
DATE : Wed Jan 08 23:02:30 2003
Hmm, nobody can explain this:
Ok, I set text in a NSTextView this way:
[textView setString:@"new text"];
No problem. But can someone explain me, why this
[[textView textStorage] setText:@"new text"];
works, too? I get a waring if I compile that (as I expected)
but it really works. So, I'm curious to know why.
Just magic?
Michael
_______________________________________________
cocoa-dev mailing list | <email_removed>
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
| Related mails | Author | Date |
|---|---|---|
| Michael Fenske | Jan 8, 23:02 | |
| Alex Rice | Jan 9, 05:00 | |
| Michael Fenske | Jan 9, 18:47 |






Cocoa mail archive

