Conversation
Added a test case for the JSAAudioMediaItem class Added a sample audio file to the demo project Added a sample audio message to the demo project Added a UIImage category to return the default pause image Added the JSQAudioMediaItem header to the main header file Added pause image (Creative Commons License) from NounProject: https://thenounproject.com/term/pause/183517/
@eliburke awesome! 🎉 Glanced through this. First impressions: 👍 I'll have a bit more feedback soon, within the next couple days. 😄 |
Also -- is this you? 😄 |
Yep, that's me. As you can see from the timeline I don't spend much time on twitter. 😜 I haven't payed a lot of attention to how you make the sausage, but if you need me to fix bugs like the Travis CI warning, or tweak the API / property names, or submit to release_8.0, just let me know. |
…1495 有人 pull requset ~ :) 完成录音基本功能,发送,明天添加个录音时的提示 HUD 就 ok
Hey @eliburke -- sorry for the delay here. I haven't forgotten. Will review soon. |
…back and options to duck other audio. added a delegate to notify when the sound category is changed cleaned up some warnings and removed an unused property
No worries.
If you think it's necessary I could add additional methods for starting and ending playback. |
|
||
@class JSQAudioMediaItem; | ||
@protocol JSQAudioMediaItemDelegate <NSObject> | ||
@optional |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let's make these non-optional
Thanks @eliburke ! Finally left some comments. Mostly organization stuff. One other concern: Can we simplify by only storing the Actually, I don't think we can go This will help simplify things a lot if we only have to worry about |
looking forward to your guys update for JSQAudioMediaItem,I can't wait to use it. |
@JOMEN5 I'm on vacation with the family right now. Hard to find time for coding between kids and rum punch. I'll try to get an updated PR in the next couple of days. |
@jessesquires I've made the majority of your changes:
The one change I did not make was moving the mediaView logic out into a separate class. To be frank, I don't see any value, just extra complexity. If you are thinking that this re-design would allow someone to provide their own view class that plugs into the audio media item, all of the avAudioPlayer controls and the timer would have would have to be shimmed into the new class with yet another protocol. Or, if you put the avAudioPlayer and timer into the new view class, the audio media item class becomes an empty container. If someone REALLY wants to revamp the look of the audio player beyond the viewConfig settings, I think it would be far simpler to copy and modify the base implementation to suit. |
@eliburke Thanks for your contribution! I'm here also remain @jessesquires update this PR when you have free time. Best wishes. |
|
||
@end | ||
|
||
@interface JSQAudioMediaViewConfiguration : NSObject |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let's put this new class in its own file 😄
Thanks so much @eliburke ! Left a couple more really minor comments. Then I think this is good to go. 👍 |
Current coverage is
|
Thanks @jessesquires and have you finish the task now? How can I get the latest version,just use pod update or pod 'JSQMessagesViewController', :git => 'https://github.com/jessesquires/JSQMessagesViewController.git', :branch => 'develop'?Looking forward to your reply. |
Added boilerplate copyright code to all new files Added { } curlies where missing Updated properties to follow standard coding style Merge /w develop
@eliburke let me know when those last couple fixes are pushed and i'll merge. (or, if travis behaves, merge yourself 😄 ) |
Added a test case for the JSAAudioMediaItem class Added a sample audio file to the demo project Added a sample audio message to the demo project Added a UIImage category to return the default pause image Added the JSQAudioMediaItem header to the main header file Added pause image (Creative Commons License) from NounProject: https://thenounproject.com/term/pause/183517/ Added a delegate to notify when the sound category is changed Change the sound category to AVAudioSessionCategoryPlayback and options to duck other audio. Moved view properties to JSQAudioMediaViewAttributes Moved button image init to JSQAudioMediaViewAttributes Added convenience setter for url->nsdata
🎉 |
Added JSQAudioMediaItem class
Implements #1049
Added a test case for the JSAAudioMediaItem class
Added a sample audio file to the demo project
Added a sample audio message to the demo project
Added a UIImage category to return the default pause image
Added the JSQAudioMediaItem header to the main header file
Added pause image (Creative Commons License) from NounProject:
https://thenounproject.com/term/pause/183517/