View google_apps.js
/** | |
* Postされたデータをスプレッドシートに書き込む | |
* | |
* @author Miyake Ryo ( http://miyakeryo.com ) | |
* @instruction http://miyakeryo.com/?p=771 | |
*/ | |
function doPost(request) { | |
try{ | |
var ss = SpreadsheetApp.openById(ScriptProperties.getProperty('active')); |
View Root.plist
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>PreferenceSpecifiers</key> | |
<array> | |
<dict> | |
<key>Title</key> | |
<string>About</string> | |
<key>Type</key> |
View ViewController.m
// 使い方 | |
#import "ViewController.h" | |
#import "myoDatePickerField.h" | |
@implementation ViewController | |
- (void)viewDidLoad | |
{ | |
[super viewDidLoad]; |
View BubbleDraw
- (void)drawRect:(CGRect)rect | |
{ | |
CGContextRef context = UIGraphicsGetCurrentContext(); | |
CGContextBubblePath(context, CGRectMake(60.5, 40.5, 170, 70)); | |
CGContextStrokePath(context); | |
} | |
//角度→ラジアン変換 | |
#if !defined(RADIANS) | |
#define RADIANS(D) (D * M_PI / 180) |