RE: Get RTF or HTML from web and show in NSTextView
RE: Get RTF or HTML from web and show in NSTextView
- Subject: RE: Get RTF or HTML from web and show in NSTextView
- From: "Jake A. Repp" <email@hidden>
- Date: Tue, 22 Apr 2003 17:03:31 -0700
- Thread-topic: Get RTF or HTML from web and show in NSTextView
I have some sample code you can look at for doing just such a thing, the original author is unknown
but I have added the most important part of it which is to register for the undocumented notification:
// register for notifications that the html updated (images may be available)
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(HTMLChanged:) name:@"HTMLDocumentChangedNotification" object:nil];
This sample code should be easily adaptable to load RTF as well.
good luck!
-jake
http://jrepp.com/cocoabb
-----Original Message-----
From: Chad Eckles [
mailto:email@hidden]
Sent: Tuesday, April 22, 2003 1:20 PM
To: Cocoa
Subject: Get RTF or HTML from web and show in NSTextView
Hello how can I get a RTF or HTML file from my Server and show it in a
NSTextView
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.