quattro_4 scribble

scribble 落書き (調べた事をただ落書きする)

NSScreencast Episode #104 Blur

Blur - NSScreencast

画面下から出るビューにぼかし効果を加える

  • Blur
    • 50% alpha
    • see through
    • スライドするパネルの背景画像の固定など
  • createPanel
    • #if USE_TOOLBAR_METHOD
    • [[UIToolbar alloc] initWithFrame:self.panel.bounds];
      • blurToolbar.barStyle = UIBarStyleBlackTranslucent;
      • blurToolbar.translucent = YES;
      • blurToolbar.alpha = 0.94;
    • #else
      • self.blurImageView.autoresizingMask = UIViewAutoresizingFlexibleHeight;
      • self.blurImageView.contentMode = UIViewContentModeBottom;
  • captureBlurImage
    • UIGraphicsBeginImageContextWithOptions
    • drawViewHierarchyInRect
    • snapshot = UIGraphicsGetImageFromCurrentImageContext();
      • [snapshot applyDarkEffect];
    • save image for developing
      • UIImageJPEGRepresentation(blurImage, .70);
      • NSSearchPathForDirectoriesInDomains
      • imageData writeToFile
  • UIImage+ImageEffects.m
    • Apple Dev center downloads
  • 座標の調整 (background remain fix)
    • closePanel, openPanel, onDrag
    • blurFrame.size.height = self.view.frame.size.height - frame.origin.y;
  • FXBlurView nicklockwood/FXBlurView · GitHub

このレベルの効果を求められることはおそらく無いと思う