Skip to content

Commit e2d2729

Browse files
Update README_EN.md
1 parent 704525d commit e2d2729

File tree

1 file changed

+43
-45
lines changed

1 file changed

+43
-45
lines changed

README_EN.md

+43-45
Original file line numberDiff line numberDiff line change
@@ -2,95 +2,93 @@
22

33
- [中文](https://github.com/tangtiancheng/DouYinComment/blob/master/README.md)
44

5-
支持pod导入:
5+
Support CocoaPods:
66
pod 'TTCTool
7-
或者只导入单个功能
8-
抖音评论效果: pod 'TTCTool/TCCommentsPopView'
9-
抖音转场动画: pod 'TTCTool/TTCTransition'
10-
抖音左滑进入个人主页: pod 'TTCTool/TTCPanPush'
11-
分页: pod 'TTCTool/TCViewPage'
12-
标签管理: pod 'TTCTool/TagChannelManager'
7+
Or just import a single function
8+
Tiktok comment effect: pod 'TTCTool/TCCommentsPopView'
9+
Tiktok transition animation: pod 'TTCTool/TTCTransition'
10+
Tiktok left swipe to go to the personal homepage: pod 'TTCTool/TTCPanPush'
11+
ViewPage: pod 'TTCTool/TCViewPage'
12+
TagChannelManager: pod 'TTCTool/TagChannelManager'
1313

1414

15+
Most of these functions are I have used in the "铃声多多" APP,iOS daily life is about 700,000, and the AppStore ranking is more than 100 all year round, not to let you be guinea pigs, just for their own records , plus can help others a little bit is a little bit, there is a need to use it!
16+
The main functions of this Demo:
1517

16-
17-
这些功能大部分都是我在 "铃声多多"APP里已经用了,iOS端日活有70万左右, 常年保持AppStore 排行榜100多名, 不是让你们当小白鼠哈,仅仅为了自己记录(装逼)一下, 外加能帮别人一点是一点吧,有需要就拿去用!
18-
这个Demo主要功 能:
19-
20-
## 1.iOS播放gif视频小组件,小组件帧动画,摇摇乐小组件,动态Widget, 网易云iOS可编辑小组件, 风扇小组件, 时钟小组件, 滚动照片小组件, 自己去跑起来看吧!
18+
## 1.iOS Widget Play gif Video, Widget Frame animation, Widget Shake, Dynamic Widget, Wangyiyun Edit Widget, Fan Widget, Clock Widget, Scroll Picture Widget, Run it for yourself!
2119

2220
![image](https://github.com/tangtiancheng/ttcgif/blob/master/gif/小组件动画.gif)
2321
![image](https://github.com/tangtiancheng/ttcgif/blob/master/gif/小组件添加.gif)
2422
![image](https://github.com/tangtiancheng/ttcgif/blob/master/gif/小组件编辑.gif)
2523

2624

2725

28-
## 2.这个Demo有仿照抖音的小视频评论手势拖拽效果 (直接将TCCommentsPopView这个类拖入您的项目即可使用,很简单)
29-
可以说完全和抖音的效果一模一样,该功能我已经在"铃声多多"项目中使用. 我在github,cocoachina,coco4app等网址上找了很久,都没有一个demo是能完全和抖音的一致的.如果觉得好用希望给一个star
26+
## 2.This Demo has a drag and drop effect that mimics Tiktok's small video comment gesture (simply drag the TCCommentsPopView class into your project to use it, it's easy)
27+
It can be said that it is exactly the same as the effect of Tiktok, which I have used in the "铃声多多" project. I am making cocoachina, coco4app web site to find for a long time, don't have a demo is fully consistent and trill. If you think it works, hope to give a star
3028

3129
![image](https://github.com/tangtiancheng/ttcgif/blob/master/gif/comment.gif)
3230

33-
## 3.一行代码实现仿抖音左滑Push进个人主页功能
34-
一行代码实现仿抖音 左滑 push进入个人主页,
35-
1.把TTCPanPushTransition文件夹拖入你的项目中,
36-
2.在需要push的控制器类中 #import "UIViewController+TTCPanPush.h"
37-
3.然后在videDidLoad方法中调用getpanPushToViewController:方法, block返回你的个人主页控制器类
38-
不会侵入你自己的原有代码,详细看demo
31+
## 3.A line of code to achieve imitation Tiktok left slide Push into the personal home page function
32+
A line of code to achieve imitation Tiktok left slide push into the personal home page,
33+
1.Drag the TTCPanPushTransition folder into your project,
34+
2.In the controller class that needs push #import "UIViewController+TTCPanPush.h"
35+
3.Then videDidLoad method invokes the getpanPushToViewController: method of the controller class block to return to your personal home page
36+
Will not break into your own original code, see the demo in detail
3937

4038

4139
[self getpanPushToViewController:^UIViewController * _Nonnull{
42-
//这个应该是你的个人主页控制器
40+
//This should be your personal home page controller
4341
Type4ViewControllerThird *vc = [[Type4ViewControllerThird alloc] init];
4442
return vc;
4543
}];
4644

4745

4846
![image](https://github.com/tangtiancheng/ttcgif/blob/master/gif/panPush.gif)
4947

50-
## 4.抖音视频播放转场动画(github上其它demo并未做到和抖音一样,或者耦合度太高需要侵入你的代码,让你改很多东西才能实现,我自己封装了一个,只需将TTCTransition文件夹拖入你的项目,然后添加两行代码就行,完全不需要侵入修改你原有的代码. 希望大佬们多提意见)
51-
一行或者两行代码实现抖音视频播放转场动画,支持push和present,两行代码脑残式操作,自己看下代码
52-
首先将TTCTransition文件夹拖入你的项目中,
48+
## 4.Other demo on github did not do the same as Tiktok, or the coupling degree is too high need to invade your code, let you change a lot of things to achieve, I packaged a, just drag the TTCTransition folder into your project, and then add two lines of code on the line, completely do not need to invade and modify your original The code. Hope the big guys give more advice)
49+
One or two lines of code to achieve the transition animation of Tiktok video playback, support push and present, two lines of code brain residue operation, see the code yourself
50+
First drag the TTCTransition folder into your project,
5351
#import "TTCTransitionDelegate.h"
5452

55-
第一行:假设需要转场的控制器叫myVC, 那么调用myVC.ttcTransitionDelegate = [[TTCTransitionDelegate alloc] init];
53+
First line: Suppose that the controller that needs to transition is called myVC, then call: myVC.ttcTransitionDelegate = [[TTCTransitionDelegate alloc] init];
5654

57-
第二行:抖音的转场动画效果是一个小窗口cell扩大到全屏播放界面,所以需要将小窗口cell传给我,不传也可以,默认就是从中心开始扩大,myVC.ttcTransitionDelegate.smalCurPlayCell = cell
55+
The second line: the transition animation effect of Tiktok is that a small window cell is expanded to the full-screen playback interface, so it is necessary to pass the small window cell to me, or not to pass it, and the default is to expand it from the center,myVC.ttcTransitionDelegate.smalCurPlayCell = cell
5856

5957
![image](https://github.com/tangtiancheng/ttcgif/blob/master/gif/TTCTransition.gif)
6058

6159

6260

63-
## 5.模仿抖音播放小视频功能;(这个功能网上有很多其它更优秀的Demo,所以大家可能需求不大)
64-
### (1).支持边下边播
65-
### (2).支持视频预加载
61+
## 5.Imitate Tiktok play small video function; (There are many other better demos of this feature online, so you may not need much)
62+
### (1).Support edge downcast
63+
### (2).Video preloading is supported
6664
![image](https://github.com/tangtiancheng/ttcgif/blob/master/gif/smallVideoImage.gif)
6765

68-
## 6.和铃声多多一样,支持上传音频到库乐队(GarageBand)直接设置手机铃声
69-
鉴于之前有好几位iOS开发者通过简书找到我, 都是公司需要做这个功能但是不知道怎么实现, 这个小众功能我做的时候网上没有任何资料,当时我自己也是迷迷糊糊琢磨了一些时间才弄出来的. 今天把这个功能实现方法写出来把,希望能帮到大家.如果确实解决了您的燃眉之急,希望能点一个star,感谢.
66+
## 6.Like 铃声多多, support to upload audio to GarageBand set mobile phone ringtone
67+
In view of the fact that several iOS developers came to me through the brief book, all of them were that the company needed to do this function but did not know how to implement it. When I did this niche function, there was no information on the Internet, and I also spent some time in thinking about it. Today, write out this function implementation method, and hope to help you. If you really solve your urgent need, I hope you can order a star, thank you.
7068

7169
![image](https://github.com/tangtiancheng/ttcgif/blob/master/gif/GarageBandImage.gif)
7270

7371

74-
## 7.多列表嵌套分页滚动, header悬浮
75-
### 该功能共有两个类:1.TCViewPager(用于处理列表分页) 2.TCNestScrollPageView(用于处理嵌套header滚动悬浮)
76-
一开始铃声多多中只有分页功能,没有需要加入headerView悬浮嵌套的功能,所以就只写了TCViewPager,用于处理分页功能,后来个人主页需要做成headerView悬浮的效果,但是我又不想修改之前TCViewPager已经写好的代码,而且肯定有其他开发者已经有了自己的分页控件(改样式改代码肯定是改自己的代码比较熟悉比较快),只想添加一个headerView悬浮功能,不想用我的TCViewPager,所以我就索性写了TCNestScrollPageView用于处理嵌套headerView滚动悬浮,把TCNestScrollPageView和TCViewPager完全拆开。
77-
如果你已经有了自己的分页控件,但是想在其基础上再添加header悬浮滚动的功能,那么你就只需要使用TCNestScrollPageView即可,不需要用到TCViewPager.用法非常非常简单,直接参照demo(github上有一些一两千star的项目我觉得无论是代码还是使用都有丢丢复杂,对新手不太友好,看起来一脸懵逼,想做一些改动都无从下手,TCNestScrollPageView和TCViewPager相对来说思想思路和代码都很简单,想做一些修改看看代码就能改,有需要的就用起来吧)
78-
### (1).简单分页
72+
## 7.Multi-list nested paging scroll, header suspension
73+
### This feature has two classes :1.TCViewPager(for handling list paging) 2.TCNestScrollPageView(for handling scrolling of nested headers)
74+
At first, there is only paging function in ringtone many, and there is no need to add the function of headerView suspension nesting, so I only wrote TCViewPager, which is used to deal with paging function. Later, personal home page needs to make the effect of headerView suspension. But I do not want to modify the previous TCViewPager has written code, and there must be other developers have their own paging control (change style change code is sure to change their own code is more familiar and faster), just want to add a headerView suspension function, do not want to use my TCViewPager, So I just wrote TCNestScrollPageView to handle nested headerView scrolling, and completely split TCNestScrollPageView and TCViewPager.
75+
If you already have your own page control, but want to add header floating scrolling on top of it, you can use TCNestScrollPageView instead of TCViewPager. The usage is very simple, directly referring to the demo (github has some one or two thousand star projects I think whether it is code or use have lost lost complex, not very friendly to the novice, looks like a face of forced, want to make some changes are unable to start, TCNestScrollPageView and TCViewPager are relatively simple ideas and code, want to make some changes to look at the code can be changed, there is a need to use it)
76+
### (1).Simple paging
7977
![image](https://github.com/tangtiancheng/ttcgif/blob/master/gif/分页效果.gif)
80-
### (2).headerView随时变动
78+
### (2).headerView changes at any time
8179
![image](https://github.com/tangtiancheng/ttcgif/blob/master/gif/headerView随时变动.gif)
82-
### (3).headerView吸顶
80+
### (3).headerView ceiling
8381
![image](https://github.com/tangtiancheng/ttcgif/blob/master/gif/headerView吸顶.gif)
84-
### (4).改变headerView高度
82+
### (4).Change the headerView height
8583
![image](https://github.com/tangtiancheng/ttcgif/blob/master/gif/改变headerView高度.gif)
86-
### (5).headerView不吸顶,下拉变大
84+
### (5).The headerView has no ceiling and pulls down to make it larger
8785
![image](https://github.com/tangtiancheng/ttcgif/blob/master/gif/headerView不吸顶,下拉变大.gif)
88-
### (6).Header滚动延续(实现方法和网上其它的不太一样,可以看看)
89-
https://github.com/tangtiancheng/DouYinComment/archive/refs/tags/0.0.7.zip 新版没了,老版本有实现代码
86+
### (6).Header scrolling continuation (implementation method is not quite the same as others on the web, you can see)
87+
https://github.com/tangtiancheng/DouYinComment/archive/refs/tags/0.0.7.zip The new version is gone. The old version has the implementation code
9088
![image](https://github.com/tangtiancheng/ttcgif/blob/master/gif/scrolContinue.gif)
91-
### (7).标签编辑功能
89+
### (7).Tag editing function
9290
![image](https://github.com/tangtiancheng/ttcgif/blob/master/gif/editTag.gif)
93-
### (8).铃声多多音乐播放界面,(类似豆瓣电影主页)
91+
### (8).铃声多多 music playing interface,(similar to 豆瓣 movie home page)
9492
![image](https://github.com/tangtiancheng/ttcgif/blob/master/gif/DDMusic.gif)
9593

96-
另外还有其他的效果自己去看demo,使用起来很简单, 我写这些东西都是尽力朝着让使用者一两行就能用, 不侵入使用者的代码,实现原理也不难,自己去看代码也肯定能看懂 (好用请给个star,谢谢)
94+
In addition, there are other effects to see their own demo, it is very simple to use, I write these things are trying to let the user one or two lines can be used, do not invade the user's code, the principle of implementation is not difficult, to see their own code is sure to understand (use please give a star, thank you)

0 commit comments

Comments
 (0)