Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added ability to play sound when message is displayed #158

Open
wants to merge 7 commits into
base: develop
Choose a base branch
from

Commits on May 15, 2014

  1. Added ability to set sound for message

    Added ability to set a default sound to use when message is presented.
    Added ability to set default sound for each `TSMessageType`.
    Updated `.podspec` to include `AVFoundation.framework`.
    Updated `Example.xcodeproj` with demonstration.
    forgot committed May 15, 2014
    Configuration menu
    Copy the full SHA
    3c4d8a9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    07049ec View commit details
    Browse the repository at this point in the history

Commits on May 16, 2014

  1. Moved sound handling to TSMessage+Sounds category

    Created TSMessage+Sounds category to extend TSMessages.
    Category includes `TSMessageSoundPlayer` object that responds to
    NSNotification.
    Category header is imported inside `__has_include` macro in
    TSMessageView+Private.
    Added `TSMessages` as a subspec in `.podspec` and set to
    `default_subspec` so its always included.
    Added `Sounds` subspec in `.podspec` that includes the relevant files
    and frameworks, with a dependency on the `TSMessages` subspec.
    forgot committed May 16, 2014
    Configuration menu
    Copy the full SHA
    3e623f7 View commit details
    Browse the repository at this point in the history

Commits on May 30, 2014

  1. Rewritten to use delegate methods

    Added TSMessage Delegate protocol.
    Added willDisplayNotification: delegate method.
    Added didDisplayNotification: delegate method.
    Removed all static variables from TSMessage+Sounds.
    Condensed TSMessageSoundPlayer class.
    Added implementation examples in Example project.
    forgot committed May 30, 2014
    Configuration menu
    Copy the full SHA
    0e67029 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    eb6737a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    26a8a3f View commit details
    Browse the repository at this point in the history

Commits on Jun 10, 2014

  1. Added some documentation for protocols

    Added documentation for TSMessageDelegate, TSMessageSoundDelegate, and
    all optional methods.
    forgot committed Jun 10, 2014
    Configuration menu
    Copy the full SHA
    1a3a361 View commit details
    Browse the repository at this point in the history