Swift version of picture Carousel Framework

Source: Internet
Author: User
由于在开发中,总是要写图片轮播器之类的东东,写的烦了,忍不住就用Swift写了一个非常方便的图片轮播器的框架https://github.com/SarielTang/CycleView

When you are using it, just like this:

import CycleViewclass className : PictureCycleController{    //override loadView function    //重写loadViewe方法    override func loadView() {        super.loadView()    }    var arrayM: [UIImage]?    override func viewDidLoad() {        super.viewDidLoad()        //input an Array with UIImage        //传入一个UIImage的图像数组        imageList = arrayM;    }}

A picture carousel is finished, is it very simple? Just try it. If there are any bugs in the frame, please give us a lot of advice.
The first self-written framework, inevitably there is not perfect place, I hope you can help the author to complete together Oh ~ ~

Swift version of picture Carousel Framework

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.