CocoaPods trunk is moving to be read-only. Read more on the blog, there are 19 months to go.

CKMessagesKit 1.2

CKMessagesKit 1.2

TestsTested
LangLanguage SwiftSwift
License MIT
ReleasedLast Release Sep 2016
SPMSupports SPM

Maintained by Kevin Chen.



  • By
  • Kevin Chen

A Swiftified, open source, Protocol-Orietated Messages UI Kit for iOS

Design Goals

Requirements

  • Swift 3.0
  • Xcode 8
  • iOS 8

Getting Started

Checkout the Sample project in the repository

Use Carthage to download the dependencies of the Sample project

TODO

  1. More build-in message types support
    • Image
    • Video
    • Location
  2. Submit CKMessagesKit to CocoaPods, needs to wait CocoaPods 1.1.0.rc.2 version
  3. Async message content presenting mechanism.
  4. Try to use CKViewLayout protocol to layout message cell, instead of using massive AutoLayout constraint.

Current version

1.2

  • Refactor the message size calculation logic, centralize them into the CKMessageSizeCalculator, remove the logic from CKMessagesViewLayout
  • When connect to hardware keyboard, CKMessagesView now just update its contentInset with input toolbar size

Release Notes


Finally, CKMessagesKit was inspired by JSQMessagesViewController and LayerKit. Thanks to Authors and Contributors

However, there're some reasons pushing me to create CKMessagesKit by myself

  • Pure Swift implementation, written in Swift 3.0
  • Nested collection UI presentation support, like using UICollectionView, UITableView in UICollectionViewCell to show such Data Card UI design
  • Protocol-Orientated Programming & SOLID Principle strictly follows