Dashboard + RSS
Dashboard + RSS
- Subject: Dashboard + RSS
- From: Alex Reynolds <email@hidden>
- Date: Mon, 27 Jun 2005 05:52:13 -0400
If I simply add a line to import RSS.h (from the Ranchero open source
Cocoa RSS parser) into my main Dashboard (Cocoa Bundle) header, upon
running the widget I get the following error message in the Console:
2005-06-27 05:40:16.121 DashboardClient[2757] *** -[RSS
initWithWebView:]: selector not recognized [self = 0x330630]
Normally, the widget operates properly and I get something like this
in the Console:
2005-06-27 05:41:12.591 DashboardClient[2770] Entering -
initWithWebView:<DashboardWebView: 0x326f30>
My -initWithWebView: is as follows, taken from the Fortune
developer's example:
- (id) initWithWebView:(WebView*)wview
{
NSLog(@"Entering -initWithWebView:%@", wview);
self = [super init];
srand(time(NULL));
return self;
}
I added the RSS.h+m and NSString+Extras.h+m files to my project, and
I am adding the following line to my Dashboard header file:
#import "RSS.h"
Does anyone have any ideas on what I am doing wrong in importing the
RSS header into my Dashboard header? I simply want to use the Cocoa
RSS methods.
Alternatively, are there other straightforward ways to parse RSS in
Cocoa that work with Dashboard (Cocoa Bundle) plug-ins? I've searched
through the WebKit documentation but I have not found much.
Thanks,
Alex
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden