タグ

2012年3月6日のブックマーク (3件)

  • Adobe Flash Player - Downloads

    We have retired Flash. Support for Flash ended on December 31, 2020. Find out more https://main--cc--adobecom.hlx.page/cc-shared/assets/img/product-icons/svg/express.svg | Adobe Express Ready for standout content? Meet Adobe Express. Make and share beautiful content with ease. Choose from thousands of professional-designed templates for fast social posts, flyers, banners, and more. Get Adobe Expre

    Adobe Flash Player - Downloads
    syug
    syug 2012/03/06
  • iPadで動く電子書籍アプリを作ってみる(4)

    初めに あけましておめでとうございます。ponpoko1968です。昨年中はご愛読ありがとうございました。2011年も若手ブログをよろしくお願いいたします。 さて、今回はズーム機能の説明です。 通常のズーム機能 これまでの記事で何度かご説明したように、今回のアプリでは、文書のページイメージを表示するビューをUIScrollViewのサブビューとするようビューの階層構造を作っています。 これは、UIScrollViewのズーム機能を活用することが目的の一つでした。 早速、ページ表示画面にズーム機能を追加してみましょう。 UIScrollVeiwは、UIScrollViewDelegateというプロトコルをサポートしており、UIScrollViewに対してユーザが操作を行うタイミングの節目節目でこのプロトコルで定義されているメソッドをデリゲートに対して送ります。 デリゲートとなるオブジェ

  • UIScrollView のタッチイベントを取得する - happy lie, happy life

    UIScrollView のタッチイベントを取得するには UIScrollView のサブクラスを作って、タッチイベント関連のメソッドをオーバーライドします。大体の場合、フリックやピンチとは別でタッチイベントを取りたいと思うので、その方法を。 まずは UIScrollView のサブクラスを定義します。名前は MyScrollview とでも名付けます。次に、以下のように touchesEnded メソッドをオーバーライドします。 -(void)touchesEnded:(NSSet *)touches withEvent:(UIEvent *)event { if (!self.dragging) { [self.nextResponder touchesEnded: touches withEvent:event]; } [super touchesEnded: touches wit

    UIScrollView のタッチイベントを取得する - happy lie, happy life