johnvuko/JT3DScrollView
حول
ScrollView with custom effects during the scroll for iOS
تطوير الويب والتطبيقاتالنمو المقاس للنجوم
- خلال 24 ساعة
- ٠
- خلال 7 أيام
- ٠
- خلال 15 يومًا
- ٠
- خلال شهر
- جارٍ جمع السجل
تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.
README.md
الأصلJT3DScrollView
JT3DScrollView is a UIScrollView with custom effects during the scroll.
Installation
With CocoaPods, add this line to your Podfile.
pod 'JT3DScrollView', '~> 2.0'
Screenshots

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:
angleRatiorotationXrotationYrotationZtranslateXtranslateY
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.
استكشف مشاريع مشابهة ومرتبطة
جارٍ التحميل…