<commit_before>DCActionButtonsController
==========

Twitter: [@patr](http://twitter.com/patr)

Our commercial apps: [domesticcat.com.au](http://domesticcat.com.au/apps)

DCActionButtonsController provides an easy way to create view controllers to sit inside a UIPopoverController with styled buttons.

![DCActionButtonsController Demo Image](http://domesticcat.com.au/projects/dcactionbuttonscontroller/dcactionbuttonscontroller-demo.png)

To use, add buttons using `addButtonWithTitle:style:style:target:action:`.  The buttons are GradientButtons by <NAME>, which you'll need to download from here: [https://github.com/baron/iPhone-Gradient-Buttons](https://github.com/baron/iPhone-Gradient-Buttons).

There are several button styles to choose from:
* GradientButtonStyleAlert
* GradientButtonStyleBlack
* GradientButtonStyleBlackActionSheet
* GradientButtonStyleGreenConfirm
* GradientButtonStyleRedDelete
* GradientButtonStyleSimpleOrange
* GradientButtonStyleWhite
* GradientButtonStyleWhiteActionSheet

To add to a popover controller just add set it as the content view and it will size itself accordingly.  See the demo project for an example.<commit_msg>Edited readme.md via GitHub<commit_after>DCActionButtonsController
==========

Twitter: [@patr](http://twitter.com/patr)

Our commercial apps: [domesticcat.com.au](http://domesticcat.com.au/apps)

DCActionButtonsController provides an easy way to create view controllers to sit inside a UIPopoverController with styled buttons.

![DCActionButtonsController Demo Image](http://domesticcat.com.au/projects/dcactionbuttonscontroller/dcactionbuttonscontroller-demo.png)

To use, add buttons using `addButtonWithTitle:style:style:target:action:`.  The buttons are GradientButtons by <NAME>, which you'll need to download from here: [https://github.com/baron/iPhone-Gradient-Buttons](https://github.com/baron/iPhone-Gradient-Buttons).

There are several button styles to choose from:

* GradientButtonStyleAlert
* GradientButtonStyleBlack
* GradientButtonStyleBlackActionSheet
* GradientButtonStyleGreenConfirm
* GradientButtonStyleRedDelete
* GradientButtonStyleSimpleOrange
* GradientButtonStyleWhite
* GradientButtonStyleWhiteActionSheet

To add to a popover controller just add set it as the content view and it will size itself accordingly.  See the demo project for an example.
{'fraction_non_alphanumeric': 0.08507909362975631, 'fraction_numerical': 0.0, 'mean_word_length': 6.852348993288591, 'pattern_counts': {'":': 0, '<': 5, '<?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': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7601922', 'n_tokens_mistral': 635, 'n_tokens_neox': 633, 'n_words': 182}