Skip to content

Commit

Permalink
Updated read me, version, change log, etc
Browse files Browse the repository at this point in the history
  • Loading branch information
terryworona committed Apr 12, 2014
1 parent cdbae7b commit 7016847
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## <a href="https://github.com/terryworona/TWMessageBarManager/tree/v1.5.0">1.5.0</a>
#### 04/12/14
- Fixes issue <a href="https://github.com/terryworona/TWMessageBarManager/pull/38">#38</a> (custom UIStatusBarStyle).

## <a href="https://github.com/terryworona/TWMessageBarManager/tree/v1.4.2">1.4.2</a>
#### 04/06/14
- Fixes issue <a href="https://github.com/terryworona/TWMessageBarManager/pull/35">#35</a>.
Expand Down
4 changes: 2 additions & 2 deletions Classes/TWMessageBarManager.podspec
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
Pod::Spec.new do |s|
s.name = "TWMessageBarManager"
s.version = "1.4.2"
s.version = "1.5.0"
s.summary = "An iOS manager for presenting system-wide notifications via a dropdown message bar."
s.homepage = "https://github.com/terryworona/TWMessageBarManager"

s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { "Terry Worona" => "terryworona@gmail.com" }
s.source = {
:git => "https://github.com/terryworona/TWMessageBarManager.git",
:tag => "v1.4.2"
:tag => "v1.5.0"
}

s.platform = :ios, '6.0'
Expand Down
14 changes: 13 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ Simply add the following line to your <code>Podfile</code>:
Your podfile should look something like:

platform :ios, '6.0'
pod 'TWMessageBarManager', '~> 1.4.2'
pod 'TWMessageBarManager', '~> 1.5.0'

### The Old School Way

Expand Down Expand Up @@ -117,6 +117,18 @@ The manager is backed by a queue that can handle an infinite number of sequentia
description:@"Description 3"
type:TWMessageBarMessageTypeInfo];

### UIStatusBarStyle

The manager utilizes a custom UIWindow & UIViewController to manage orientation. For targets >= iOS7, if a UIStatusBarStyle other than UIStatusBarStyleDefault is desired, two things must occur:

1. Set the preferredStatusBarStyle of the manager; this value will be used in-between message presentations.
2. Set the style of the status bar on a per-message basis via:

- (void)showMessageWithTitle:(NSString *)title description:(NSString *)description type:(TWMessageBarMessageType)type statusBarStyle:(UIStatusBarStyle)statusBarStyle callback:(void (^)())callback;


If a message is presented with a custom UIStatusBarStyle, after dismissal, the status bar will revert back to the preferredStatusBarStyle.

### Customization

An object conforming to the ***TWMessageBarStyleSheet*** protocol defines the message bar's look and feel:
Expand Down

0 comments on commit 7016847

Please sign in to comment.