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
// | |
// HelloWorldLayer.m | |
// aaaa | |
// | |
// Created by hatakeis on 2012/09/28. | |
// Copyright __MyCompanyName__ 2012年. All rights reserved. | |
// | |
// Import the interfaces |
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
// jump to AppStore review page | |
- (void)rate:(int)appID { | |
NSString *url = [NSString stringWithFormat:@"itms-apps://ax.itunes.apple.com/WebObjects/MZStore.woa/wa/viewContentsUserReviews?type=Purple+Software&id=%d",appID]; | |
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:url]]; | |
} | |
- (IBAction)rateNow:(id)sender { | |
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
Titanium.UI.setBackgroundColor('#000'); | |
var window = Ti.UI.createWindow({ | |
title:'テスト', | |
backgroundColor:'#FFF' | |
}); | |
var label = Ti.UI.createLabel({ | |
bottom:0, | |
color:'#FFF', |
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
function shakeAnimation(view) { | |
view.transform = Ti.UI.create2DMatrix().rotate(1); | |
var r1 = Ti.UI.create2DMatrix().rotate(2); | |
var r2 = Ti.UI.create2DMatrix().rotate(-2); | |
var anim1 = Ti.UI.createAnimation({ | |
duration:200, | |
transform:r1, | |
}); | |
var anim2 = Ti.UI.createAnimation({ |
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
Titanium.UI.setBackgroundColor('#000'); | |
var notification; | |
var fireDate = null; | |
var hasNotification = true; | |
var win = Titanium.UI.createWindow({ | |
title:'OpenReeder', | |
backgroundColor:'#fff' | |
}); |
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
Titanium.UI.setBackgroundColor('#000'); | |
// ウィンドウ作成 | |
var win = Titanium.UI.createWindow({ | |
title:'サウンドテスト', | |
backgroundColor:'#fff', | |
barColor:'#3366ff' | |
}); | |
var button = Ti.UI.createButton({ |
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
// | |
// HelloWorldLayer.m | |
// CCSendMessageTest | |
// | |
// Created by Keisuke Hata on 11/06/04. | |
// | |
// Import the interfaces | |
#import "HelloWorldLayer.h" |
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
Dir.glob("*.aif").each do |fname| | |
%x{afconvert -f caff -d ima4 #{fname}} | |
end |
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
/* | |
* cocos2d for iPhone: http://www.cocos2d-iphone.org | |
* | |
* Copyright (c) 2008-2010 Ricardo Quesada | |
* | |
* Permission is hereby granted, free of charge, to any person obtaining a copy | |
* of this software and associated documentation files (the "Software"), to deal | |
* in the Software without restriction, including without limitation the rights | |
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
* copies of the Software, and to permit persons to whom the Software is |
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
// | |
// CCGaussianBlurSprite.h | |
// AWTextureFilter | |
// | |
// Created by Keisuke Hata on 11/01/19. | |
// | |
#import <Foundation/Foundation.h> | |
#import "AWTextureFilter.h" | |
#import "CCTexture2DMutable.h" |