This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<phpunit bootstrap="./application/bootstrap.php"> | |
<testsuite name="default"> | |
<directory suffix=".php">./</directory> | |
</testsuite> | |
<filter> | |
<whitelist> | |
<directory suffix=".php">../application/</directory> | |
<exclude> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@implementation DataDelegate : CPObject | |
- (void)connection:(CPURLConnection)aConnection didReceiveData:(CPString)data | |
{ | |
// Process the data and test it's integrity | |
CPLog.info('Recieved Data'); | |
var unarchiver = [[CPKeyedUnarchiver alloc] initForReadingWithData:[CPData dataWithString:data]]; | |
var presentation = [unarchiver decodeObjectForKey:"DocumentPresentationKey"]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var buttonBar = [self blankButtonBar]; //[buttonBar setBackgroundColor:[CPColor redColor]]; | |
var bounds = [_pageViewInner bounds]; | |
var answers = [aQuestion answers]; | |
// Add the buttons (answers) | |
var padding = 10; | |
var nextXPos = 0; | |
for (var i=0; i<answers.length; i++) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@implementation WizardController : CPWindowController | |
{ | |
} | |
/* | |
* Instance Init Method | |
*/ | |
- (WizardController)init |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-(void)emptySlideNavigator | |
{ | |
console.log('starting: ' + [[_slideNavigatorView subviews] count]); | |
// Remove all the previous buttons | |
if([[_slideNavigatorView subviews] count] > 0) { | |
for (var i=0; i<[[_slideNavigatorView subviews] count]; i++) { | |
console.log('removing:' + [_slideNavigatorView subviews][i] + 'at index:' + i ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@implementation SlideLibraryThumbnailProtoype : CPView | |
{ | |
SlideLibraryTabThumbnail _object; | |
} | |
- (void)setRepresentedObject:(id)theData | |
{ | |
if(! _object) { | |