Giter Club home page Giter Club logo

xdprogressview's Introduction

XDProgressView

Q: XDProgressView和UIProgressView相比有什么不同?

A: 1. UIProgressView的下面这两个属性暂时没有去实现,个人觉得可有可无。除此之外,尽可能和系统原生保持一致。

@property(nonatomic) UIProgressViewStyle progressViewStyle;
@property(nonatomic, strong, nullable) NSProgress *observedProgress

  2. XDProgressView可以由你心情任意设置高度,也可在上面显示文字。

安装

使用CocoaPods

  platform :ios, '8.0'
  
  target 'TargetName' do
  pod 'XDProgressView'
  end

若执行命令pod search XDProgressView出现以下错误,[!] Unable to find a pod with name, author, summary, or description matching..., 先执行rm ~/Library/Caches/CocoaPods/search_index.json,再执行pod search XDProgressView即可。    

直接下载源码

git clone 或者 download, 将下载好的demo中的progressView文件夹下的整个XDProgressView文件拖入项目中即可。

使用

若是通过CocoaPods方式安装,需要这样导入头文件import <XDProgressView.h>, 否则的话import 'XDProgressView.h',使用方式和UIProgressView基本相同,具体请看接口文件。

xdprogressview's People

Watchers

Life-Learning  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.