SVSwiper 2.0.1

SVSwiper 2.0.1

Vinayak Sareen 维护。




SVSwiper 2.0.1

SVSwiper 导航 iOS 库

SVSwiper 库使用核心 UIKit 组件,并提供了具有许多定制选项的自定义导航屏幕。SVSwiper 提供各种委托方法来根据应用程序需求定制导航。欢迎对本库做出贡献。

Version

安装

SVSwiper 通过 CocoaPods 提供。要安装它,只需将以下行添加到您的 Podfile 中。

pod 'SVSwiper'

示例

要运行示例项目,请首先克隆存储库,从 Example 目录运行 pod install

import UIKit
import SVSwiper

class ViewController: UIViewController {
    
    private let data: [SVContent] = [
        .init(title: "Maximise Profits", description: "Gain with our internal tools, we are here to support your company at every stage", image: #imageLiteral(resourceName: "2")),
        .init(title: "Invest in Stocks", description: "We provide great insights, on which stock to buy and sell at any moment of time", image: #imageLiteral(resourceName: "3")),
        .init(title: "Develop Connections" , description: "Conntect with community of experts in the field of stock market", image: #imageLiteral(resourceName: "2")),
        .init(title: "Develop Connections" , description: "Conntect with community of experts in the field of stock market", image: #imageLiteral(resourceName: "3")) ]
        
    fileprivate func setupSVSwiper() {
        let controller = SVSwiperController(backgroundColor: .white, details: data, descriptionFont: .systemFont(ofSize: 13))
        let parentController: UIViewController = FirstController()
        controller.configureSlider(parentViewController: parentController, isNavigationSupported: true)
    }
    
    override func viewWillAppear(_ animated: Bool) {
        setupSVSwiper()
    }
}

作者

Vinayak Sareen 是本存储库的作者,如果您有任何建议/推荐,请随时通过电子邮件[email protected]联系我。

许可证

版权所有(c)2019 Vinayak Sareen [邮箱地址保护@][邮箱地址保护

特此授予任何获得本软件及其相关文档文件(“软件”)副本的人,不受限制地处理该软件的权利,包括但不限于使用、复制、修改、合并、发布、分发、再许可和/或销售软件副本的权利,并允许向软件提供副本的人这样做,但须遵守以下条件

以下版权声明和本许可声明应包含在软件的所有副本或实质性部分的副本中。

软件按“本样”提供,不提供任何明示或隐含的保证,包括但不限于适销性、特定用途适用性和非侵权性保证。在任何情况下,作者或版权所有者均不对任何索赔、损害或其他责任承担责任,无论该责任基于合同、侵权或其他,源于、因之引起或与此有关软件或软件的使用或其他交易。