<commit_before># Introduction
An API that introduces local scope to a UIAlertView's delegate, adds support for multiple delegates per UIAlertView and blocks.

All too often a UIAlertView is used within a controller, set as its delegate. Since a controller outlives the UIAlertView, it provides a convenient workaround on the weak property of its delegate.

In addition, the controller is designed to respond to every callback as a result of a clicked button index. That usually leads to a long list of if statements within the callback.

VLBAlertViewDelegate aims to address those issues. 

# VLBAlertViewDelegate 

A VLBAlertViewDelegate is assigned a predicate on the button index and an associated block to execute should the predicate evaluate to true.

The VLBAlertViewDelegate purposely creates a retain cycle with its block, that breaks upon a clickedButtonAtIndex event to have an equal lifecycle as its UIAlertView, thus achieving local scope.
 
A composite of VLBAlertViewDelegate(s), can be used to respond to different clickedButtonAtIndex events.

# What is included

* VLBAlertViews
The 'VLBAlertViews.xcodeproj' builds a static library 'libVLBAlertViews.a'

# Cocoapods

-> VLBAlertViews (1.0)
   An API that uses blocks with UIAlertView(s), adds support for multiple delegates and introduces local scope to a UIAlertViewDelegate.
   - Homepage: https://github.com/qnoid/VLBAlertViews
   - Source:   https://github.com/qnoid/VLBAlertViews.git
   - Versions: 1.0 [master repo]
<commit_msg>Correct the spelling of CocoaPods in README<commit_after># Introduction
An API that introduces local scope to a UIAlertView's delegate, adds support for multiple delegates per UIAlertView and blocks.

All too often a UIAlertView is used within a controller, set as its delegate. Since a controller outlives the UIAlertView, it provides a convenient workaround on the weak property of its delegate.

In addition, the controller is designed to respond to every callback as a result of a clicked button index. That usually leads to a long list of if statements within the callback.

VLBAlertViewDelegate aims to address those issues. 

# VLBAlertViewDelegate 

A VLBAlertViewDelegate is assigned a predicate on the button index and an associated block to execute should the predicate evaluate to true.

The VLBAlertViewDelegate purposely creates a retain cycle with its block, that breaks upon a clickedButtonAtIndex event to have an equal lifecycle as its UIAlertView, thus achieving local scope.
 
A composite of VLBAlertViewDelegate(s), can be used to respond to different clickedButtonAtIndex events.

# What is included

* VLBAlertViews
The 'VLBAlertViews.xcodeproj' builds a static library 'libVLBAlertViews.a'

# CocoaPods

-> VLBAlertViews (1.0)
   An API that uses blocks with UIAlertView(s), adds support for multiple delegates and introduces local scope to a UIAlertViewDelegate.
   - Homepage: https://github.com/qnoid/VLBAlertViews
   - Source:   https://github.com/qnoid/VLBAlertViews.git
   - Versions: 1.0 [master repo]

{'fraction_non_alphanumeric': 0.04216073781291173, 'fraction_numerical': 0.002635046113306983, 'mean_word_length': 4.741020793950851, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1906015', 'n_tokens_mistral': 818, 'n_tokens_neox': 768, 'n_words': 398}