Skip to content
This repository has been archived by the owner on Aug 28, 2018. It is now read-only.

Add support for shouldEnableFirstOtherButton delegate handling #8

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

MigrantP
Copy link

This involves providing a block so the user can respond to the delegate method, and an (admittedly ugly but necessary) additional init method. The extra init method is needed because if you don't provide an "other button" in UIAlertView init, it will never call alertViewShouldEnableFirstOtherButton, even if you add other buttons later.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant