preface

The project is a highly imitation of wechat open source project, iOSAppTemplate code reconstruction, based on TLKit, ZZFLEX implementation.

Implemented functions

1. Message interface

  • Message list (new session joins, DB)
  • The message was swiped to delete
  • Friend search (support fuzzy query)
  • More menus (dynamically customizable items)

2. Address book interface

  • Buddy list (grouping algorithm, DB)
  • Friend search
  • Friends profile (UI Abstract template), Profile Settings UI (using Settings UI template)
  • New friends (reading phone contacts)
  • Group chat (UI, DB)
  • Tags (UI, logic)

3. Discover interface (using menu-like UI template)

  • Circle of Friends (overall architecture, part of UI)
  • Scan (UI, QR code scan, barcode scan)
  • Shake the UI
  • Drift bottle UI
  • Shopping, games (wrapped WebView)

4. I interface (using menu UI template)

  • Personal information (using the Settings UI template)
  • Expressions (UI, Network request, download, management)
  • Settings (Abstract Settings class UI Generic template)
  1. The font size
  2. Chat background
  3. My face
  4. Clear chat history

5. Chat screen

  • Chat input field
  • Message display view
  1. Text message
  2. Picture message
  3. Expression message
  4. Voice message
  • Chat keyboard
  1. Emoticons keyboard (dynamically adding and deleting emoticons)
  2. More keyboard
  • Chat record storage (DB)

Third-party libraries

  • Automatic layout framework for navigation, simple and efficient
  • FMDB: SQLite database management framework
  • AFNetworking: Network requests
  • SDWebImage: Network image download and cache
  • MJExtension: JSON-Model interturning framework with high efficiency and low coupling
  • MJRefresh: Pull down to refresh, pull up to load more, simple inheritance
  • CocoaLumberjack: Log classification and localization
  • MWPhotoBrowser: Image picker
  • SVProgressHUD: Indicates progress

Results show

Home page

The address book

chat

Circle of friends

found

The last

The project is now open source. The author is also completing functions, including video messages, geo-location messages, friend likes and replies, and the chat module is also being implemented. If you think the project is good and you have the ability, you can also contribute to the project.

The project address

Gitee:gitee.com/edceezyy/TL…