エントリーの編集
エントリーの編集は全ユーザーに共通の機能です。
必ずガイドラインを一読の上ご利用ください。
記事へのコメント1件
- 注目コメント
- 新着コメント
注目コメント算出アルゴリズムの一部にLINEヤフー株式会社の「建設的コメント順位付けモデルAPI」を使用しています
- バナー広告なし
- ミュート機能あり
- ダークモード搭載
関連記事
[iPhone 開発メモ] 画像をドラッグする | Sun Limited Mt.
画面に表示された画像を指でドラッグする方法です。 UIImageView クラスを継承した DragView クラスを作... 画面に表示された画像を指でドラッグする方法です。 UIImageView クラスを継承した DragView クラスを作成する。 @interface DragView : UIImageView { CGPoint startLocation; } @end @implementation DragView - (void) touchesBegan:(NSSet*)touches withEvent:(UIEvent*)event { startLocation = [[touches anyObject] locationInView:self]; [[self superview] bringSubviewToFront:self]; } - (void) touchesMoved:(NSSet*)touches withEvent:(UIEvent*)event { CGPoin
2011/10/26 リンク