Messagekit: [Prerelease] v0.7.0

Created on 10 Sep 2017  路  10Comments  路  Source: MessageKit/MessageKit

Hey everyone 馃槄,
I've just finished up MessageKit v0.7.0 and think that this release was a big step in the right direction. Hopefully, with a few more minor versions we will have something of production quality.

Improvements / Changes

  • New MessageStyles supporting iMessage & Google Hangouts style bubbles
  • Default DateHeaderView is shown on new messages received after a 1hr time interval
  • incomingAvatarSize & outgoingAvatarSize deprecated in favor of a more dynamic method
  • Support for avatarAlwaysLeading and avatarAlwaysTrailing layouts
  • Removes bottomLabelExtendsPastAvatar and topLabelExtendsPastAvatar flags
  • Replaced with ability to adjust to cellTopLabel/cellBottomLabel to 5 positions: .cellLeading, .cellTrailing, .cellCenter, .messageLeading, .messageTrailing
  • Renames AvatarPosition -> AvatarAlignment
  • Renames MessagesDisplayDataSource -> MessagesDisplayDelegate
  • Reorganizes MessagesLayoutDelegate, MessagesDataSource and MessagesDisplayDelegate
    to better represent the methods they contain
  • The MessageCellDelegate now conforms to MessageLabelDelegate
  • MessagesDisplayDelegate (prev MessagesDisplayDataSource) no longer conforms to MessagesDataSource
  • Added some availability attributes for anyone who has potentially started using the project
  • Fixes the text rendering delay for the MessageInputBar

Thanks to

@oyalhi For working on the message styles
@antonijap For providing the images for the message bubbles
@nathantannar4 For some bugfixes related to the MessageInputBar

Contributing

Looking to get involved in the project? Come join us on at the MessageKit Slack Channel

discussion

All 10 comments

Great work!!

Thank Your for You great work!!!
I try to use this library, in POD file:
pod 'MessageKit'
On ver 0.5.0 all works fine but labels did not align at right side (always on left side).
Ver 0.7.0 when i run chat controller get an exception:
fatal error: unexpectedly found nil while unwrapping an Optional value
on "static func messageKitAssetBundle() -> Bundle" on line "return Bundle(url: resourceUrl)!"

Maybe i'm doing something wrong? Please help me

@sergpol You're not making a mistake, this is an error by me. Thank you for bringing it to my attention.
Please use MessageKit, ~>0.6.0 for now. I'll resolve this as soon as I can.

@sergpol This should be taken care of in v0.7.1. Let me know if you have any further issues.

@SD10 great!!! Works perfect!!!

@SD10 , I'm having the same issue on 0.7.2. I think this is happening because I'm using Carthage instead of cocoapods

@SD10 It looks like in Carthage the images are on the framework bundle and not on a MessageKitAssets.bundle

@marlontojal Thank you for reporting this. I will take care of it today

@marlontojal I think this is resolved in 0.7.4. If it's not just let me know.

@SD10 Sorry for the delay, its fixed, Thanks

Was this page helpful?
0 / 5 - 0 ratings

Related issues

bilaalrashid picture bilaalrashid  路  3Comments

robertoferraz picture robertoferraz  路  3Comments

emmanuelay picture emmanuelay  路  3Comments

nitrag picture nitrag  路  3Comments

asn111 picture asn111  路  3Comments