GithubHelp home page GithubHelp logo

ramiz69 / slider Goto Github PK

View Code? Open in Web Editor NEW
38.0 1.0 5.0 44.62 MB

Home Page: https://www.ramizkichibekov.com

License: MIT License

Swift 90.39% Objective-C 0.56% Ruby 5.68% HTML 0.71% JavaScript 2.66%
slider ios swift swift5 progress progress-bar layer calayer cashapelayer cocoapods slider-control slider-element spm swiftpackagemanager

slider's Introduction

Slider

GitHub Actions Workflow Status Version License Platform GitHub Release

Requirements

  • iOS 14.0+
  • Xcode 15+
  • Swift 5+

Preview

Preview

Installation

Swift Package Manager

The Swift Package Manager is a tool for automating the distribution of Swift code and is integrated into the swift compiler.

Once you have your Swift package set up, adding Slider as a dependency is as easy as adding it to the dependencies value of your Package.swift or the Package list in Xcode.

dependencies: [
    .package(url: "https://github.com/Ramiz69/Slider.git", .upToNextMajor(from: "0.2.0"))
]

Normally you'll want to depend on the Slider target:

.product(name: "Slider", package: "Slider")

CocoaPods

CocoaPods is a dependency manager for Cocoa projects. For usage and installation instructions, visit their website. To integrate Slider into your Xcode project using CocoaPods, specify it in your Podfile:

pod 'RKSlider'

Manually

copy Slider.swift to your project

Usage

code

  • init Slider with frame or use Auto Layout
  • add a view to your superview

Author

ramiz69, [email protected]

License

Slider is available under the MIT license. See LICENSE for details.

slider's People

Contributors

ramiz69 avatar

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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

slider's Issues

iPad Bug

Weird bug I noticed for iPad devices
If I run the app on release mode Slider is not fully visible, If I run the app in Debug mode everything is ok. iOS15
@Ramiz69

Release
IMG_18C91F0225BB-1

Debug
Screen Shot 2022-01-25 at 1 46 53 PM

Slider is configured via StoryBoard, with Top, Leading and Trailing Constraints. If build in iPhone preview on Storyboard selected bug is present. If I change iPad preview on Storyboard and build bug is not present.

Bug is reproducible in your Demo App via Storyboard
Screen Shot 2022-01-25 at 2 34 51 PM

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.