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
UIPasteboard *pasteboard = [UIPasteboard generalPasteboard]; | |
number.text = pasteboard.string; |
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
@interface DetaSetTestViewController : UIViewController { | |
IBOutlet UILabel *number; | |
} |
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
UIPasteboard *pasteboard = [UIPasteboard generalPasteboard]; | |
NSString *ds= @"hoge"; | |
[pasteboard setValue:ds forPasteboardType:@"DataSet.text"]; | |
// DataSetアプリのURLスキームを指定する. | |
NSURL *url = [NSURL URLWithString:@"DataSet:"]; | |
[[UIApplication sharedApplication]openURL:url]; |
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
UIPasteboard *pasteboard = [UIPasteboard PasteboardWithName:"DataSet" create:yes]; | |
NSString *ds = @"aaaa"; | |
[pasteboard setValue:ds forPasteboardType:@"DataSet.text"]; | |
NSURL *url = [NSURL URLWithString:@"DataSet:"]; | |
[[UIApplication sharedApplication]openURL:url]; |
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
UIPasteboard *pasteboard = [UIPasteboard pasteboardWithName:@"DataSet" create:NO]; | |
number.text = pasteboard.string; |
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
#pragma strict | |
var Cube:GameObject; | |
function Start () { | |
for(var i=0;i<100;i++){ | |
for(var j=0;j<100;j++){ | |
Instantiate(Cube, Vector3(i,0,j), Quaternion.identity); | |
} | |
} | |
} |
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
<?php | |
$array = array( | |
"foo" => "bar", | |
"bar" => "foo", | |
); |
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
<?php | |
$array = [ | |
"foo" => "bar", | |
"bar" => "foo", | |
]; |
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 Update() { | |
Physics.gravity = new Vector3(0.0f,-9.81f,0.0f); | |
} |
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
Undefined symbols for architecture armv7: | |
"__curOrientation", referenced from: | |
-[UnityAppController application:didFinishLaunchingWithOptions:] in UnityAppController.o | |
ld: symbol(s) not found for architecture armv7 | |
clang: error: linker command failed with exit code 1 (use -v to see invocation) |
OlderNewer