@wmora wmora released this Apr 4, 2017 · 50 commits to master since this release

Assets 3

New Stuff

  • Added two new delegate methods to allow on-the-fly customization of message display and sending. For example, these methods can be used together to add a layer of encryption to your messages. Encrypt in conversation:willSendMessage:, decrypt in conversation:willDisplayMessage:! See SKTConversationDelegate for more detail.

API Additions

  1. Protocol SKTConversationDelegate
  • Added new method conversation:willSendMessage:
  • Added new method conversation:willDisplayMessage:
  • Added new method conversation:shouldShowForAction:withInfo:
  • Deprecated method conversation:shouldShowForAction:. Use conversation:shouldShowForAction:withInfo: instead
  1. Class SKTMessage
  • Property text is now mutable
  • Property name is now mutable
  • Property avatarUrl is now mutable
  • Property date is now mutable
  • Property mediaUrl is now mutable
  • Property type is now mutable
  • Property metadata is now mutable
  • Property payload is now mutable
  1. Class SKTMessageAction
  • Property type is now mutable
  • Property text is now mutable
  • Property uri is now mutable
  • Property state is now mutable
  • Property iconUrl is now mutable
  • Property metadata is now mutable
  • Property payload is now mutable
  1. Class Smooch
  • Added new method destroy