Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
How to create your screensaver
This is based on version 3.2.1 of XCode. I am conscious that this is not very elegant. Maybe one day this will evolve into a nice GUI. But for now:
Open MacFlashScreensaverMaker.xcodeproj in XCode
Remove ExampleScreensaver.swf and ExampleConfig.swf from the Resources group
Drag your screensaver swf files and resources into the Resources group. When the panel appears just leave the default settings and click Add.
Step 4 (skip if you don’t want a config panel)
Open OptionsController.m and find this line:
swfFile = [thisBundle pathForResource:@"ExampleConfig" ofType:@"swf"];
ExampleConfig with the name of your config swf minus the swf extension. (aside: you could use HTML file here if you change
Open MacFlashScreensaverMakerView.m and find this line:
NSString *swfFile= [thisBundle pathForResource:@"ExampleScreensaver" ofType:@"swf"];
ExampleScreensaver with the name of your screensaver swf minus the swf extension.
If you don’t want a config panel, find the function
Press command-B to build the project. This will create the screensaver in build/Release/MacFlashScreensaverMaker.saver. You can rename this file to whatever you want your saver to be called.
You can just double-click the file to install it.