Giter VIP home page Giter VIP logo

vsanthanam / vsalert Goto Github PK

View Code? Open in Web Editor NEW
48.0 5.0 15.0 16.33 MB

An drop-in replacement for UIAlertController with more power and better looks.

Home Page: https://www.vsalert.io

License: MIT License

Objective-C 88.48% JavaScript 0.78% Ruby 0.66% SCSS 6.72% Mustache 3.36%
ios uialertcontroller apple-uialertcontroller pmalertcontroller drop xcode linker-flags thread algorithm framework

vsalert's Introduction

VSAlert

language license GitHub (pre-)release documentation CocoaPods CocoaPods

Setup

For a quick start guide, see the project website. The website is hosted on GitHub Pages, and is built using Jekyll and jekyll-docs-theme.

Documentation

Full documentation is available on the project website. Documentation is generated with JazzyDoc, and styled using Jony. The hosted documentation is applicable for the latest version found under 'releases'.

Contribution Guidelines

See the contribution guidelines before contributing to the project.

Community Guidelines

See the code of conduct for detailed participation rules. Please report all violations to [email protected]

vsalert's People

Contributors

942v avatar josecostamartins avatar vsanthanam avatar ztalbot2000 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

Watchers

 avatar  avatar  avatar  avatar  avatar

vsalert's Issues

Offscreen with iPadOS 13 split screen multitasking

Describe the bug
When VSAlertController appears in an app that is sharing the iPadOS screen with another app, then the alert is partially or fully offscreen. This happens regardless of which VSAlertControllerStyle is specified.

To Reproduce

  1. Run an app that uses VSAlertController on iPadOS 13.
  2. Swipe up from bottom of screen to reveal iPad dock.
  3. Drag an app icon from the dock to the right of the opened app-- to split the screen.
  4. Trigger a VSAlertController alert from the first app
  5. The VSAlertController appears partially or fully offscreen.

Expected behavior
The VSAlertController should be fully visible and sized/centered to fully fit within the app's UIWindow.

Screenshots
See the "VSAlertController issue.png"

Smartphone (please complete the following information):

  • Device: any iPad
  • OS: iPadOS 13

VSAlertController issue

Haptic Feedback Support?

Will there be support for adding/enabling haptic feedback? Like for when you tap on one of the action buttons?

Minimum image height not adjustable

Is your feature request related to a problem? Please describe.

I need a way for the headerViewHeightConstraint to be the same size of an image. Right now it is stretching images whem its height is smaller than 180.

Describe the solution you'd like

Don't stretch images, set a maximum size of 180 pixels (maintaining current behavior) but don't restrain minimum size

Describe alternatives you've considered

Another alternative is to have a control flag, determining if the image should strech or not.

Additional context
Add any other context or screenshots about the feature request here.
screen shot 2018-08-20 at 19 06 24
screen shot 2018-08-20 at 19 10 36

Request for NSTextaligment

Would it be possible to include customized text-alignment per alert?
By default it aligns to centre, but would be nice if user can control this.

Cancel Button Font

Hi @vsanthanam

Why is it that the font for a button with style VSAlertActionStyleCancel can't be changed? You prevent that change in this 2 places:

`

  • (void)setActionTextFont:(UIFont *)actionTextFont {

    _actionTextFont = actionTextFont;

    if (self.style != VSAlertActionStyleCancel) {

      self.titleLabel.font = self.actionTextFont;
    

    }

}`

self.titleLabel.font = self.style == VSAlertActionStyleCancel ? [UIFont systemFontOfSize:17.0f weight:UIFontWeightSemibold] : _actionTextFont;

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.