Skip to content
プロジェクト

概要

iOS向けの、スクロール中にカスタムエフェクトを適用できるScrollViewです。

Web・アプリ開発

この数値の測り方

計測したスター増加

24時間
0
7日間
0
15日間
0
1か月
履歴を収集中

期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。

JT3DScrollView

CI Status Version License Platform

JT3DScrollView is a UIScrollView with custom effects during the scroll.

Installation

With CocoaPods, add this line to your Podfile.

pod 'JT3DScrollView', '~> 2.0'

Screenshots

Example

Usage

You can use it like a classic UIScrollView, the isPagingEnabled is set to true by default and clipsToBounds is set to false.

import UIKit
import JT3DScrollView

class ViewController: UIViewController {

    @IBOutlet weak var scrollView: JT3DScrollView?

    override func viewDidLoad() {
        super.viewDidLoad()
        scrollView?.effect = .cards
    }
}

You can disable the effect and act like a classic UIScrollView by setting effect to .none.

Effects are just preset for some properties used for the animations, you can adjust all effects with:

  • angleRatio
  • rotationX
  • rotationY
  • rotationZ
  • translateX
  • translateY

All this properties are relative to the position X of the subview.

Requirements

  • iOS 8 or higher
  • Swift 3.0

Author

License

JT3DScrollView is released under the MIT license. See the LICENSE file for more info.

関連プロジェクトを探す

読み込み中…