All Projects → pandaApe → HLBarIndicatorView

pandaApe / HLBarIndicatorView

Licence: MIT license
Activity indicator view

Programming Languages

swift
15916 projects
ruby
36898 projects - #4 most used programming language

Labels

Projects that are alternatives of or similar to HLBarIndicatorView

Lovefreshpeakapp oc
IOS电商购物APP: 爱鲜蜂OC版,规范的代码风格,使用Masonry布局适配所有ios机型 Shopping e-commerce projects, using automatic layout, suitable for any Ios model Website ;
Stars: ✭ 152 (+406.67%)
Mutual labels:  ios-ui
Swiftpagemenu
Customizable Page Tab Menu Controller 👍
Stars: ✭ 233 (+676.67%)
Mutual labels:  ios-ui
ios-font-size-tester
A quick way to test out a resizable iOS app font stack at all sizes via UI testing
Stars: ✭ 43 (+43.33%)
Mutual labels:  ios-ui
Lmmediaplayer
A video and audio player with replaceable UI component.
Stars: ✭ 183 (+510%)
Mutual labels:  ios-ui
Pvview
A small library that helps you to make an amazing parallax view
Stars: ✭ 227 (+656.67%)
Mutual labels:  ios-ui
Rhplaceholder
Show pleasant loading view for your users 😍
Stars: ✭ 238 (+693.33%)
Mutual labels:  ios-ui
Tangerine
Swift µframework for fetching images 🍊
Stars: ✭ 149 (+396.67%)
Mutual labels:  ios-ui
Sequents
A simple continuous animation library for iOS UI.
Stars: ✭ 31 (+3.33%)
Mutual labels:  ios-ui
Parchment
A paging view controller with a highly customizable menu ✨
Stars: ✭ 2,812 (+9273.33%)
Mutual labels:  ios-ui
extensions-kit
📦 Collection of Swift+Apple Frameworks extensions for speeding up software development [iOS & iPadOS].
Stars: ✭ 71 (+136.67%)
Mutual labels:  ios-ui
Mycoretextlabel
图文混排 , 实现图片文字混排 , 可显示常规链接比如网址,@,#话题#,手机号 , 邮箱号等 , 可以自定义链接字,设置关键字高亮等功能 . 适用于微博,微信,IM聊天对话等场景 . 实现这些功能仅用了几百行代码,耦合性也较低
Stars: ✭ 192 (+540%)
Mutual labels:  ios-ui
Ppasyncdrawingkit
This is a iOS asynchronously drawing view Kit.
Stars: ✭ 205 (+583.33%)
Mutual labels:  ios-ui
Nativepopup
Clone of Apple iOS App's feedback popup, and easily customizable.
Stars: ✭ 247 (+723.33%)
Mutual labels:  ios-ui
Jxtalertmanager
UIAlertView/UIAlertController便捷调用工具
Stars: ✭ 177 (+490%)
Mutual labels:  ios-ui
AttachmentInput
AttachmentInput is image picker keyboard.
Stars: ✭ 30 (+0%)
Mutual labels:  ios-ui
Wobbly
(Animate CSS) animations for iOS. An easy to use library of iOS animations. As easy to use as an easy thing.
Stars: ✭ 150 (+400%)
Mutual labels:  ios-ui
Noticebar
😍A simple NoticeBar written by Swift 3, similar with QQ notice view.
Stars: ✭ 237 (+690%)
Mutual labels:  ios-ui
FacebookMessengerActivity
Share with Facebook Messenger App.
Stars: ✭ 16 (-46.67%)
Mutual labels:  ios-ui
MaskedLabel
MaskedLabel is a UILabel subclass that allows you to easily apply a gradient to its text or to make it transparent.
Stars: ✭ 20 (-33.33%)
Mutual labels:  ios-ui
Drawerview
A drop-in view, to be used as a drawer anywhere in your app
Stars: ✭ 251 (+736.67%)
Mutual labels:  ios-ui

HLBarIndicatorView

Version License Platform

Example

Animated gif

Requirements

  • Swift 4.0+
  • iOS 8.0+
  • Xcode 9.1+

Installation

CocoaPods(recommend):

HLBarIndicatorView is available through CocoaPods. To install it, simply add the following lines to your Podfile:

platform :ios, '8.0'
use_frameworks!

pod "HLBarIndicatorView"

To get the full benefits import HLBarIndicatorView wherever you import UIKit:

import UIKit
import HLBarIndicatorView

Manually

  1. Download and drop HLBarIndicatorView.swift in your project.
  2. Congratulations!

Usage example

Inited from pure code :

 let indicatorView = HLBarIndicatorView(frame: CGRect(x: 0, y: 40, width: UIScreen.main.bounds.width, height: 80))

 indicatorView.indicatorType = .barScaleFromRight
 self.view.addSubview(indicatorView)

HLBarIndicatorView also supports loading from Xib

Customization Properties

property default value remark
open var barsCount:Int 5 bar的数量, Must be an ODD Int value
open var indicatorType: HLBarIndicatorType HLBarIndicatorType.barScalePulseOut provides 3 kinds of styles
open var maxBarHeight: CGFloat 40.0 最大高度
open var minBarHeight: CGFloat 10.0 最小高度
open var barWidth: CGFloat 5.0 Bar 的宽度
open var barsGapWidth: CGFloat 3.0 bar之间的间隔
open var barCornerRadius: CGFloat 5.0 圆角
open var animationDuration: CFTimeInterval 0.8 执行一次动画所需要的时间
open var barColor: UIColor UIColor.white Bar的颜色

HLBarIndicatorType:

case .barScalePulseOut:

Animated gif

case .barScaleFromRight:

Animated gif

case .barScaleFromLeft:

Animated gif

Public Methods

 open func startAnimating()
 open func pauseAnimating()

Author

pandaApe, [email protected]

License

HLBarIndicatorView is available under the MIT license. See the LICENSE file for more info.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].