All Projects โ†’ khawajafarooq โ†’ Progressmeter

khawajafarooq / Progressmeter

Licence: mit
Measuring the progress with annotations ๐Ÿ”ฑ

Programming Languages

swift
15916 projects
swift4
162 projects

Projects that are alternatives of or similar to Progressmeter

Typrogressbar
Custom animating gradient progress bar
Stars: โœญ 106 (-0.93%)
Mutual labels:  xcode, progressbar
Openrct2
An open source re-implementation of RollerCoaster Tycoon 2 ๐ŸŽข
Stars: โœญ 10,115 (+9353.27%)
Mutual labels:  xcode
Todolist
A simple ToDoList written in Swift
Stars: โœญ 100 (-6.54%)
Mutual labels:  xcode
Xcconfig Extractor
Refactor BuildSettings into xcconfigs
Stars: โœญ 103 (-3.74%)
Mutual labels:  xcode
Snowonder
๐Ÿ”ฎ Magical import declarations formatter for Xcode
Stars: โœญ 100 (-6.54%)
Mutual labels:  xcode
Swimat
An Xcode formatter plug-in to format your swift code.
Stars: โœญ 1,388 (+1197.2%)
Mutual labels:  xcode
Everlayout
Reusable, downloadable, up-datable iOS layouts
Stars: โœญ 103 (-3.74%)
Mutual labels:  xcode
Swiftplaygroundscli
Easily generate Swift Playgrounds from your command line ๐Ÿ‘จโ€๐Ÿ’ป
Stars: โœญ 103 (-3.74%)
Mutual labels:  xcode
Circleci Demo Ios
A sample iOS app that builds on CircleCI
Stars: โœญ 103 (-3.74%)
Mutual labels:  xcode
Swift Init Generator
An Xcode plugin that uses the Swift parser to generate initializers
Stars: โœญ 105 (-1.87%)
Mutual labels:  xcode
React Native
React Native wrapper for PSPDFKit for iOS, Android and Windows UWP.
Stars: โœญ 100 (-6.54%)
Mutual labels:  xcode
Ios Learning Materials
๐Ÿ“šCurated list of articles, web-resources, tutorials and code repositories that may help you dig a little bit deeper into iOS [and Apple Platforms].
Stars: โœญ 1,380 (+1189.72%)
Mutual labels:  xcode
Xunique
merge Xcode project file is so easy
Stars: โœญ 1,450 (+1255.14%)
Mutual labels:  xcode
Pictureprogressbar
a ProgressBar with Picture and Animation
Stars: โœญ 100 (-6.54%)
Mutual labels:  progressbar
Downloadprogressbutton
An awseome Download Progress Button with Progress.๏ผˆๅธฆไธ‹่ฝฝ่ฟ›ๅบฆ็š„ๆŒ‰้’ฎ๏ผ‰
Stars: โœญ 106 (-0.93%)
Mutual labels:  progressbar
Jenkinsci Ios
A Jenkins job setup for your XCode project.
Stars: โœญ 99 (-7.48%)
Mutual labels:  xcode
Spinner
Go (golang) package with 90 configurable terminal spinner/progress indicators.
Stars: โœญ 1,637 (+1429.91%)
Mutual labels:  progressbar
Nextgrowingtextview
๐Ÿ“ The next in the generations of 'growing textviews' optimized for iOS 8 and above.
Stars: โœญ 1,540 (+1339.25%)
Mutual labels:  xcode
React Native Paystack
React Native Wrapper for the Paystack Native Mobile SDKs
Stars: โœญ 106 (-0.93%)
Mutual labels:  xcode
Xcodetemplate Sketchplugin
Stars: โœญ 105 (-1.87%)
Mutual labels:  xcode

CI Status Swift 4.0 Version Carthage compatible License Platform

Description

Displaying the progress in a meter control. ProgressMeter lets you create your custom annotations that display either on top or bottom of meter. So, it's not just an ordinary progress bar, it gives the better visual. ๐Ÿ’ฏ

Use Cases

Fitness App ๐Ÿƒโ€

Building a pedometer has never been easier. If you are looking for something other than a gauge control, you have come to the right place. Have a look ๐Ÿค“

Banking App ๐Ÿฆ

Talking about financial apps. We all 've come across with such scenarios to show the rewards earned or a cash back. ProgressMeter is here to help with a unique user experience. ๐Ÿง

Example

Interface Builder

Guess what? You can do that all in design time without writing a single line of code. Drag & drop a UIView from the object library and follow the steps:

Step 1: Set the Class & Module Identity Inspector > Custom Class

Step 2: Under Attribute Inspector you can change the properties and check everything on the fly ๐Ÿš€

  • maxValue: Maximum value of the meter
  • progress: Current progress of meter
  • numberOfDivisions: How many divisions you want to display
  • Rest are pretty much self explanatory

Code ๐Ÿ‘จโ€๐Ÿ’ป

Hook your view (ProgressMeter) property on your view controller and try out the snippets inside viewDidLoad;

Snippet # 1: Looking for setting up the control with your own data ๐Ÿ‘จโ€๐Ÿซ

func setupWithCustomData() {
    progressControl.maxValue = 20000
    progressControl.data = [1999, 4999, 9999, 14999]
    progressControl.progress = 14999 / 20000
}

Snippet # 2: Don't have the data set? ProgressMeter can create its own data ๐Ÿ”ข

func setupWithControlData() {
    progressControl.maxValue = 20000
    progressControl.numberOfDivisions = 4
    progressControl.progress = 0.4
}

Snippet # 3: Setup the visual aspect ๐Ÿ’„

func visualSetup() {
    progressControl.progressTintColor = .purple
    progressControl.trackTintColor = .gray
    progressControl.borderWidth = 1
    progressControl.borderColor = .darkGray
    progressControl.annotationTextColor = .purple
    progressControl.dividerColor = .darkGray
}

Installation

CocoaPods

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

pod 'ProgressMeter'

Carthage

To integrate ProgressMeter into your Xcode project using Carthage, specify the following in your Cartfile:

github "khawajafarooq/ProgressMeter"

Run carthage update to build the framework and drag the built ProgressMeter.framework into your Xcode project.


Requirements

Support Version
iOS 9.0
Swift 4.0

Up Coming Features ๐ŸŽ

  • [x] Carthage support
  • [x] Display Annotations either on top or bottom

Issues ๐Ÿšซ

  • [ ] Some tweakings required to use ProgressMeter inside a Stack View

Author ๐Ÿ™๐Ÿป

Web: Khawaja Farooq

Twitter: @khfarooq

Medium: @khfarooq

License

ProgressMeter 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].