Skip to content

Commit

Permalink
Merge branch 'release-2.3.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
Adonis Peralta committed Apr 12, 2018
2 parents 5650beb + 84cc957 commit a5df920
Show file tree
Hide file tree
Showing 29 changed files with 637 additions and 148 deletions.
3 changes: 3 additions & 0 deletions CustomDesignFilePropertyCompatibility.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
* **backgroundColor**: Initial Release - Latest
* **backgroundColorAlpha**: 2.1.3 - Latest
* **opacity**: Initial Release - Latest
* **cornerRadius**: 2.3.0 - Latest
* **iconImage**: Initial Release - Latest
* **iconImageTintColor**: 2.3.0 - Latest
* **iconImageRelativeCornerRadius**: 2.1.0 - Latest
* **backgroundImage**: Initial Release - Latest
* **titleFontName**: Initial Release - Latest
Expand All @@ -28,6 +30,7 @@
* **buttonTitleShadowOffsetX**: 2.2.0 - Latest
* **buttonTitleShadowOffsetY**: 2.2.0 - Latest
* **blurBackground**: 2.1.3 - Latest
* **disableSpringAnimationPadding**: 2.3.0 - Latest

### Deprecated (Last Release Supported Shown)
* **titleFontColor**: Replaced by titleTextColor. Last Supported Release: Initial Release
Expand Down
3 changes: 3 additions & 0 deletions CustomDesignFilePropertySpecs.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@
* **backgroundColorAlpha**: Apply a transparency to the background color. Must be less than 1.0 but not 0 for blurring to work
when blurBackground key is set to enabled. Numeric: [0, 1.0].
* **opacity**: Opacity of the RMessage. Numeric: [0, 1.0].
* **cornerRadius**: Apply a corner radius in points to the message view. Numeric: [0, Message vertical height / 2].
* **iconImage**: Filename of image (in app bundle) to use as an icon on the left side of the RMessage. String.
* **iconImageTintColor**: Set icon image tint color for icon images defined to be template images in Xcode. Does nothing for icon images that are not template images. String: [#000000, #FFFFFF].
* **iconImageRelativeCornerRadius**: Corner radius percentage relative to icon image to apply to icon image. For example 0.5 (use 50% of icon image width as corner radius) would mask the icon image to always be a circle. Numeric: [0, 1.0].
* **backgroundImage**: Filename of image (in app bundle) to use as a background image for the RMessage. String.
* **titleFontName**: Name of font to use for title text. String.
Expand All @@ -30,6 +32,7 @@
* **buttonTitleShadowOffsetY**: Amount of pt to offset in y direction the button title text shadow. Numeric.
* **blurBackground**: Enable/disable blurring of the background behind the RMessage. Use in conjunction with
backgroundColorAlpha. Numeric boolean [0, 1]. **Does nothing on devices running iOS7 and below.**
* **disableSpringAnimationPadding**: Enable/disable an extra padding added to the view so as to prevent a visual gap from being displayed when the message is presented with the default spring animation. You most likely want to disable the extra padding when using the following properties: { cornerRadius }.

Property keys are always strings, values can be string or numeric. If specifying a numeric value don't encapsulate the numeric value in a string.
[x,y] Signifies the range of values x to y that are allowed for the field.
Expand Down
6 changes: 6 additions & 0 deletions Example/DemoViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,12 @@ - (void)viewDidLoad
//[[RMessageView appearance] setTitleSubtitleLabelsSizeToFit:YES];
}

// Uncomment to test hidden status bar functionality
//- (BOOL)prefersStatusBarHidden
//{
// return YES;
//}

- (void)viewWillTransitionToSize:(CGSize)size withTransitionCoordinator:(id<UIViewControllerTransitionCoordinator>)coordinator
{
[super viewWillTransitionToSize:size withTransitionCoordinator:coordinator];
Expand Down
4 changes: 2 additions & 2 deletions Example/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ PODS:
- HexColors (4.0.0)
- PPTopMostController (0.0.1)
- Reveal-iOS-SDK (1.6.2)
- RMessage (2.2.1):
- RMessage (2.2.2):
- HexColors (~> 4.0)
- PPTopMostController

Expand All @@ -27,7 +27,7 @@ SPEC CHECKSUMS:
HexColors: 5f95843ef89aff6a72e1fd3a8ebabf205cc43379
PPTopMostController: ca6c8fd33abd2895d57d86bfe27ae7425b44eea8
Reveal-iOS-SDK: e2250b3c155bcfac53ae223ddc1f76d08f206c33
RMessage: f1e920df6c1f1e55930abd2179955724ec332e19
RMessage: 40b0ae64b8a9dff9593625783915478cc9881f87

PODFILE CHECKSUM: 5211deb0d86fd992039b836d3b6181ca1ef136f3

Expand Down
4 changes: 2 additions & 2 deletions Example/Pods/Local Podspecs/RMessage.podspec.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Example/Pods/Manifest.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

74 changes: 29 additions & 45 deletions Example/Pods/Pods.xcodeproj/project.pbxproj

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit a5df920

Please sign in to comment.