Giter VIP home page Giter VIP logo

cdalertview's People

Contributors

candostdagdeviren avatar mlchild avatar rstewart22 avatar yigitcanyurtsever avatar ykeisuke 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cdalertview's Issues

Layout issue because of LayoutConstraintsExtension

LayoutConstraintsExtension causes Layout issues when you use your library with some other libraries. I found this problem with CLImageEditor. The reason in the specific case, is that CLImageEditor uses, in its own extension, the same function names: setHeight, setWidth. To solve the problem, I changed the name of these functions in setHeightCD, setWidthCD. Please could you change the names of all the functions in the LayoutConstraintsExtension with some suffix such as CD?

Add ability to hide top circle

I'd like the ability to easily hide the top circle and just have a standard alert where I can control the font sizes.

Swift 5

Hello, I don't know if anyone is still maintaining this useful project.
If there is, can you please help convert this project to the latest swift version.

Keyboard Notification

Hey guys, just wanted to see if this was a bug or my usage was incorrect - is the AlertView supposed to adjust its frame in the event of a keyboard show notification like a UIAlertController? As soon as the keyboard comes up (I have isTextFieldHidden set to false), it covers the bottom of the alert (+ button). Thanks!

Message in alert is getting truncated

In my app presenting an alert but the message getting truncated to one line

let alert = CDAlertView(title: title, message: message, type: CDAlertViewType.error)
let okay = CDAlertViewAction(title: "OK", font: nil, textColor: nil, backgroundColor: nil) { (action) in
}
alert.add(action: okay)
alert.show()

screen shot 2017-11-06 at 9 16 06 pm

anyways to blur

Are there anyways to add blur to the background. of the alert.

image icon doesn't work

Hi, first of all thank you for your job, i think it's very nice.
About my problem:
i don't like use cocoapods so i have imported CdAlertView manually but when i call the alert view the image in the center doesn't work. this is a sample
schermata 2018-05-22 alle 10 04 14

Use without Shared Window

What is the best way to implement this without using the shared window code?

UIApplication.shared.keyWindow?.addSubview(self)

more than one textField

Can i add more than one text field to the alert view. Will you support actionSheets in the future

Handle action on tap

It isn't very clear in the documentation on how to handle different actions with a completion handler. Can someone please let me know how I can detect whether my "done action" or "cancel action" buttons are hit? Code is below. Thanks!

`let alert = CDAlertView(title: "Deleting All Accounts", message: "Are you sure you wish to delete all accounts?", type: .warning)

let doneAction = CDAlertViewAction(title: "Sure! 💪")
alert.add(action: doneAction)
let nevermindAction = CDAlertViewAction(title: "Nevermind 😬")
alert.add(action: nevermindAction)
alert.show()`

CDAlertView play nice with IQKeyboardManager?

Hello,

I'm trying to get the IQKeyboardManager plugin (https://github.com/hackiftekhar/IQKeyboardManager) to play nicely with your great CDAlertView plugin... when the keyboard pops up, I was hoping that the AlertView popup would shift up alittle to provide viewing capability of the textfield although there is some odd behaviour.

When I first click on the textfield:
screen1

When I click on the textfield for the second time, the popup moves to the top:
screen2

Is it possible to move the popup just a tad higher then original position and on the first textfield click?

Thanks

Android Package?

Is there an Android repo I could leverage? I love this package and want to implement it in the Android version of my app!

Many method are not available to used in Objective-C.

Hi,

I try to use CDAlertView in a Obj-C project but I've noticed some methods are not available. For exemple hide(animations: CDAlertAnimationBlock? = nil, isPopupAnimated: Bool) is not here.

I've install the library with CocoaPods.

To try, I've created a new method in CDAlertView :

public func hide(isPopupAnimated: Bool) { self.hide(animations: nil, isPopupAnimated: isPopupAnimated) }

This one appear in the generated .h. It seem like the CDAlertAnimationBlock is the problem.

No icon bug

Hello,
I really like your library and using it :)
When I use it as .notification type, its background comes with blue but its icon does not appear. Here is the image from the bug.
I simply use it from your USAGE part.

whatsapp image 2017-08-01 at 6 12 22 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.