Code Monkey home page Code Monkey logo

spindicator's People

Contributors

angcosmin avatar ivanvorobei avatar konekoya avatar nandorojo avatar olegtatarciuc avatar snnafi 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  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  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  avatar  avatar  avatar  avatar  avatar  avatar

spindicator's Issues

Example project provided is not running

Details

  • iOS Version [15.3]
  • Xcode version [13.2]
  • Downloaded from github

Screenshot 2022-02-02 at 6 12 53 PM

Describe the Bug
Example project provided is not running, giving compile time errors as shown in the screen shot

tvos support

SPIndicator is wanderful in iOS but i can‘t display it on tvOS however in cocoaspod it support tvOS
anyway thanks for your working on SPIndicator

Custom corner radius.

Hi.
I must say, this is a very cool Toast pod, but it lacks more customization options.
The one thing I am missing right now is the custom corner radius for the background view.
I hope you can add it as soon as possible.

Cheers! 👋

Indicator is showing up many more times than one

Details

  • iOS Version 16.0 beta 3
  • Framework Version 1.6.4
  • Installed via Manually

Describe the Bug
As soon as the Indicator got fired one time, anything you do on the UI triggers many more times.

RPReplay_Final1657907183.mov

Dynamic island

Hi,
very beautiful library! Great job!
I've a question: is possible to add the support with the new iPhone 14 Pro dynamic island when present the indicator from the top?

Improve Visibility

It would be useful to be able to customise the shadow and borders of the alert in order to improve its visibility above a white background because now it's barely noticeble

Something like this :
shadow( x : _ y : _ color : _ )
borders( width : _ color : _ )

didn't present

Describe the bug
didn't present the indicatorView
To Reproduce

import SPIndicator

class ViewController: UIViewController {

    let indicatorView = SPIndicatorView(title: "wow", message: "succ")

    override func viewDidLoad() {
        super.viewDidLoad()
        indicatorView.layout.iconSize = .init(width: 24, height: 24)
        indicatorView.layout.margins.top = 20
        indicatorView.dismissByDrag = true
        indicatorView.present()
    }

Smartphone (please complete the following information):

  • iOS Version = 14
  • SPIndicator` version = 1.1.5
  • Installed via [e.g. SPM, Cocoapods, Manually] = cocapods

Icon color customization

Feature Description
It would be great to have an option to customize an icon's color for .done case.

[Feature Request] Progress Indicator

Is it possible to make it a progress indicator?

Put a UIActivityIndicatorView at the icon and provide a call back like

SPIndicator.presentProgress(message: "Hello") { completion in
    // do some work
    Backend.shared.load()
    // when done
    completion.send()
}

Drag functionality is broken.

Details

  • iOS Version 15.2.1
  • Framework Version 1.6.3
  • Installed via SPM

Describe the Bug
The drag & drop functionality is broken. The indicator view in not being dragged. It just jumps and it is not following the finger around.

Using on macCatalyst

First of all, thank you so much for this library. It really is super helpful and awesome. I can't wait to fully integrate it into my project.

One thing I noticed is that on macCatalyst, the display position and animation can be a bit wonky. For example, it seems that when displayed at the top of the screen, there is no padding and so it is against the top toolbar of the Mac application. Furthermore, the animation is choppy on Mac for some reason and the SPIndicator tends to flicker. I don't have this issue at all with SPAlert.

Can you have a look? Thank you. :)

Multiline Message

Feature Description
Currently, the behavior for long messages is to truncate the text to fit on one line. I believe it would make more sense for the view to increase in height based on the dimensions of its contents to allow for more lines of the message text to show. In order to maintain backwards compatibility, I think the default number of lines for the message should be 1, and the container should expand when the number of lines is modified to be greater than 1 (and has multiple lines).

From what I can tell, areaHeight is currently constant and only used in one place. With some preliminary testing, it seems increasing this value here increase the size of the container, so I image one could just measure the height of the children instead of using areaHeight.

Problem when the view has a AVPlayerViewController

Details

  • iOS Version: 16.1.1
  • Framework Version: Branch Main
  • Installed via SPM

I'm trying to create a list of videos, each entry has a video player but using the library AZVideoPlayer for fullscreen and PiP support

There's a issue where the HUD goes under the notch

I was able to find out that the problem probably lies in the AVPlayerViewController, I tried to implement a simpler version of the video player with the AVPlayerViewController and got the same result, no issues when using the native VideoPlayer

RPReplay_Final1668563545.mov

It's a bit hard to get a idea with the screen grab but the toast should cover the "Feed" word completely

I added the SPIndicator on the topmost view to see if it would helped but it doesn't

'shared' is unavailable in application extensions for iOS

Describe the bug
SPIndicator doesn't compile on XCode 13b3
7 Points of failure.

To Reproduce
Build / Run Project with SPIndicator SPM.

Expected behavior
Build successfully.

Screenshots
Screen Shot 2021-07-22 at 11 32 53 AM

Smartphone (please complete the following information):

  • iOS Version: 15.0 B3
  • SPIndicator version: 1.2.3
  • Installed via SPM

Additional context
XCode 13b3 no longer supports shared in application extensions
Possible fix: https://twitter.com/twannl/status/1415643870512226307

Appear on bottom instead of top

Hi,

This is a nice library. Thanks.

Can you add position featured, like appear on bottom or center instead of only top?

Thanks.

Tuist fetch

Details

  • iOS Version 15.0
  • Framework Version 1.6.4
  • Installed via SPM

Describe the Bug
Error when insert dependencies via SPM and Tuist

We received an error that we couldn't handle:
    - Localized description: The data couldn’t be read because it is missing.
    - Error: keyNotFound(CodingKeys(stringValue: "name", intValue: nil), Swift.DecodingError.Context(codingPath: [CodingKeys(stringValue: "targets", intValue: nil), _JSONKey(stringValue: "Index 0", intValue: 0), CodingKeys(stringValue: "settings", intValue: nil), _JSONKey(stringValue: "Index 0", intValue: 0)], debugDescription: "No value associated with key CodingKeys(stringValue: \"name\", intValue: nil) (\"name\").", underlyingError: nil))

Send custom width value

Feature Description

I would like to be able to increase or decrease the width of my toast, not sure of how much effort it might take, but I can take a look and work in it if it's possible :)
image

Warning Preset

Feature Description
It would be great to also have a predefined Warning Preset next to Success and Error.
The color should probably be yellow and you could use the "exclamationmark" SF Symbol as its Image.

It's difficult to implement it by myself, since there is no API for animating the Image like with the other two Presets I suppose.

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.