Ask a Question related to Mac Programming, Design and Development.
-
Jeff Crouse #1
WebView in ScreenSaver
Hello everyone,
I am pretty new to Objective-C and Cocoa, and I am trying to make a
screen saver that will display a web page. I have installed the
WebKit SDK and successfully completed the ScreenSaver and
MyOneLineOfCodeBrowser tutorials on Cocoa Dev Central, so I have some
idea of how the two work, but apparently not enough.
In my ScreenSaverView subclass, I have imported the WebKit header and
defined the animateOneFrame method with the following:
-(void)animateOneFrame
{
WebView *webView;
webView = [[WebView alloc] initWithFrame:[self frame] frameName:
nil groupName: nil];
[[webView mainFrame] loadRequest:[NSURLRequest
requestWithURL:[NSURL URLWithString:@"http://www.google.com"]]];
[self stopAnimation];
}
I get no errors when compiling, but when I run the screen saver, it
only shows black. I have a feeling that I could be going about this
all wrong.
Any suggestions would be greatly appreciated.
Thanks,
-Jeff
Jeff Crouse Guest
-
getTimer Screensaver Help
Hi, I'm a newbie to ActionScript. I working on a kiosk that has several scenes. I want the playhead to go to Scene 2 and play when the kiosk has... -
A question on screensaver...
Hi, I am planning to create a screensaver from a director projector. Is there any free software to do the conversion. I know of cinemac but is very... -
Wicked screensaver
Please see the attached file for details. -
wanted: the cruel screensaver
I have no impulse control, and there are times when I want to lock up my machine for a couple of hours yet leave the background server processes... -
screensaver
Go into your Control Panel (should be able to get to it from your main menu) double click on Display, Click the Sceensaver tab and you should see a...



Reply With Quote

