在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:YXJPullScale开源软件地址:https://gitee.com/stubbornness1/YXJPullScale开源软件介绍:YXJPullScaleUITableView,UICollectionView,UIScrollerView的顶部放大控件,不仅支持图片,也支持任意视图 Join Us为了更好的完善EasySwift框架,希望更多对此框架有兴趣的朋友一起加入进来打造最好用最全面扩展最好的swift框架。EasySwift官方QQ群:542916901 Mark先更新Github上的项目,所以最新的项目一定在Github上。 Features
ScreenShotSystem RequirementsiOS 8.0 or above InstallationAs a CocoaPods DependencyAdd the following to your Podfile: pod 'YXJPullScale' VersionV0.0.1 ---- 2016-8-11
Exampleimport UIKitimport YXJPullScaleclass ViewController: UITableViewController { private var headerView: MineHeaderView! override func viewDidLoad() { super.viewDidLoad() self.automaticallyAdjustsScrollViewInsets = false // 用户详情 headerView = MineHeaderView() self.tableView.addPullScaleFuncInVC(self, originalHeight: self.tableView.frame.size.width / (320.0 / 200.0), hasNavBar: false) self.tableView.scaleView.mainView = headerView self.tableView.scaleView.scaleImage = UIImageView(image: UIImage(named: "left_headerBg")) } override func didReceiveMemoryWarning() { super.didReceiveMemoryWarning() }} 极致框架
LicenseEasyEmoji is licensed under the Apache License, Version 2.0 License. For more information, please see the LICENSE file. |
请发表评论