Skip to content

Commit e839b58

Browse files
committed
update JSQSystemSoundPlayer. beta4
1 parent da2352c commit e839b58

File tree

3 files changed

+13
-13
lines changed

3 files changed

+13
-13
lines changed

JSQMessagesViewController.podspec

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = 'JSQMessagesViewController'
3-
s.version = '6.0-beta3'
3+
s.version = '6.0-beta4'
44
s.summary = 'An elegant messages UI library for iOS.'
55
s.homepage = 'http://jessesquires.github.io/JSQMessagesViewController'
66
s.license = 'MIT'
@@ -12,8 +12,8 @@ Pod::Spec.new do |s|
1212
s.platform = :ios, '7.0'
1313
s.source_files = 'JSQMessagesViewController/**/*.{h,m}'
1414
s.resources = 'JSQMessagesViewController/Assets/**/*.{png,aiff}', 'JSQMessagesViewController/**/*.{xib}'
15-
s.frameworks = 'QuartzCore', 'CoreGraphics', 'CoreLocation', 'MapKit'
15+
s.frameworks = 'QuartzCore', 'CoreGraphics', 'CoreLocation', 'MapKit', 'UIKit', 'Foundation'
1616
s.requires_arc = true
1717

18-
s.dependency 'JSQSystemSoundPlayer'
18+
s.dependency 'JSQSystemSoundPlayer', '~> 2.0.0'
1919
end

JSQMessagesViewController/Categories/JSQSystemSoundPlayer+JSQMessages.m

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,26 +26,26 @@ @implementation JSQSystemSoundPlayer (JSQMessages)
2626

2727
+ (void)jsq_playMessageReceivedSound
2828
{
29-
[[JSQSystemSoundPlayer sharedPlayer] playSoundWithName:kJSQMessageReceivedSoundName
30-
extension:kJSQSystemSoundTypeAIFF];
29+
[[JSQSystemSoundPlayer sharedPlayer] playSoundWithFilename:kJSQMessageReceivedSoundName
30+
fileExtension:kJSQSystemSoundTypeAIFF];
3131
}
3232

3333
+ (void)jsq_playMessageReceivedAlert
3434
{
35-
[[JSQSystemSoundPlayer sharedPlayer] playAlertSoundWithName:kJSQMessageReceivedSoundName
36-
extension:kJSQSystemSoundTypeAIFF];
35+
[[JSQSystemSoundPlayer sharedPlayer] playAlertSoundWithFilename:kJSQMessageReceivedSoundName
36+
fileExtension:kJSQSystemSoundTypeAIFF];
3737
}
3838

3939
+ (void)jsq_playMessageSentSound
4040
{
41-
[[JSQSystemSoundPlayer sharedPlayer] playSoundWithName:kJSQMessageSentSoundName
42-
extension:kJSQSystemSoundTypeAIFF];
41+
[[JSQSystemSoundPlayer sharedPlayer] playSoundWithFilename:kJSQMessageSentSoundName
42+
fileExtension:kJSQSystemSoundTypeAIFF];
4343
}
4444

4545
+ (void)jsq_playMessageSentAlert
4646
{
47-
[[JSQSystemSoundPlayer sharedPlayer] playAlertSoundWithName:kJSQMessageSentSoundName
48-
extension:kJSQSystemSoundTypeAIFF];
47+
[[JSQSystemSoundPlayer sharedPlayer] playAlertSoundWithFilename:kJSQMessageSentSoundName
48+
fileExtension:kJSQSystemSoundTypeAIFF];
4949
}
5050

5151
@end

Podfile.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
PODS:
2-
- JSQSystemSoundPlayer (1.5.2)
2+
- JSQSystemSoundPlayer (2.0.0)
33
- OCMock (3.1.1)
44

55
DEPENDENCIES:
66
- JSQSystemSoundPlayer
77
- OCMock
88

99
SPEC CHECKSUMS:
10-
JSQSystemSoundPlayer: c24914bc96ff5365b5d28b59d7ecffd60d1c5587
10+
JSQSystemSoundPlayer: c98443b1cbb3b45db09d0d3d6c2355cf78294981
1111
OCMock: f6cb8c162ab9d5620dddf411282c7b2c0ee78854
1212

1313
COCOAPODS: 0.34.2

0 commit comments

Comments
 (0)