Giter Club home page Giter Club logo

mistepbar's Introduction

iOS-Step-Bar

Use this swift 5 supported library MIStepBar and track your food order, your purchase order or the booked appoinment many more things..!!!

Checkout this super easy stepped bar integration and example.!!!

Installation

To install it, simply add the following line to your Podfile:

pod 'MIStepBar', git: 'https://github.com/Mindinventory/MIStepBar', branch: 'main'

Then run pod install from the Example directory.

Manually

You could directly copy and add the folder MIStepBar which contains 'StepBar.swift' file to your project.

Usage

And then remember to import MIStepBar module before using it.

Change the class of a view from UIStackView to StepBar

@IBOutlet weak var stepBar: StepBar!

Programmatically:

override func viewDidLoad() {
  super.viewDidLoad()
    
  stepBar.stepTitles = ["Book Appointment", "Payment", "Confirmed"]
  stepBar.stepSubTitles = ["Dt 2020/11/02", "Dt 2020/11/04", "Dt 2020/11/06"]
  stepBar.stepSelectedImages = ["calendar","check","credit-card"]
}

Manually Update Step:

stepBar.currentStepValue = 2

Customization Stroyboard and Xib (Optional)

After adding a UIStackView to Stroyboard or Xib, change its class to StepBar. Then you are able to config it as this demonstration:

Requirements

  • iOS 13.0+
  • Xcode 13.0+

๐Ÿ“ฑ Check out other lists of our Mobile UI libraries



๐Ÿ’ป Check out other lists of Web libraries



Check out our Work



๐Ÿ“„ License

iOS-MiStepBar is MIT-licensed.

If you use our open-source libraries in your project, please make sure to credit us and Give a star to www.mindinventory.com

app development

mistepbar's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

renismind

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.