Skip to content

thierryxing/swift-textkit-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Textkit Demo

A swift based textkit demo

Feature

  • Support Title
  • Support insert image into text as attachment.
  • Change scroll behavior when keyboard show or hide.
  • Automaticly word wrap and scroll to current selection.
  • Support export plain text with image (html img tag)
  • Support delete image when tap

Textkit Demo 中文简介

基于TextKit和Swfit的图文混排Demo(仿新浪微博的头条文章)

功能

  • 支持标题区域
  • 支持将图片作为attachment插入到文本中
  • 监听键盘事件,自动调整滚动区域
  • 自动折行,自动滚动到当前的书写区域
  • 支持输出纯文本(图片包装为img标签,可自行扩展为Json格式,方便提交到服务器端)
  • 点击图片后支持删除操作

About

A swift based textkit demo

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published