appleが提供する、developer向けのdocument公式日本語訳。
参考
http://developer.apple.com/jp/devcenter/ios/library/japanese.html
2011年11月20日日曜日
Objective-Cキャスト
プロパティ
((MyClass *)object).property = newValue;
((MyClass *)object).property = newValue;
関数
[((MyClass *)object) setProperty:newValue];
[((MyClass *)object) setProperty:newValue];
CALayerの基本的な使い方
参考
基本
http://www.zuvola.com/wiki/?iPhone/CALayer
プロパティ
http://developer.apple.com/jp/documentation/Cocoa/Conceptual/CoreAnimation_guide/Articles/AnimProps.html#//apple_ref/doc/uid/TP40005942-SW1
アニメーション
http://developer.apple.com/jp/documentation/Cocoa/Conceptual/Animation_Types_Timing/Articles/PropertyAnimations.html
http://blog.moonshine-project.com/ja/?p=486
tips
animationDidStop:finishedの参考
http://d.hatena.ne.jp/captainshadow/20110222/1298352073
基本
http://www.zuvola.com/wiki/?iPhone/CALayer
プロパティ
http://developer.apple.com/jp/documentation/Cocoa/Conceptual/CoreAnimation_guide/Articles/AnimProps.html#//apple_ref/doc/uid/TP40005942-SW1
アニメーション
http://developer.apple.com/jp/documentation/Cocoa/Conceptual/Animation_Types_Timing/Articles/PropertyAnimations.html
http://blog.moonshine-project.com/ja/?p=486
tips
animationDidStop:finishedの参考
http://d.hatena.ne.jp/captainshadow/20110222/1298352073
NSNumber→NSString
label1.text = [[NSNumber numberWithUnsignedInt:i] stringValue];
参考
http://iphone-dev.g.hatena.ne.jp/sohei/20091017/1255766741
参考
http://iphone-dev.g.hatena.ne.jp/sohei/20091017/1255766741
CGRect
CGRectは「構造体」で、それぞれに「CGSize」構造体と、「CGPoint」構造体を持っている。
CGRect hoge;
CGPoint hogePoint = hoge.origin; //widthとheightを持っている。
CGSize hogeSize = hoge.size; //xとyを持っている
参考
http://htmlspecialchars.blog129.fc2.com/blog-entry-5.html
CGRect hoge;
CGPoint hogePoint = hoge.origin; //widthとheightを持っている。
CGSize hogeSize = hoge.size; //xとyを持っている
参考
http://htmlspecialchars.blog129.fc2.com/blog-entry-5.html
登録:
投稿 (Atom)