itlijunjie / Qqheader
Licence: wtfpl
一个高仿QQ讨论组头像的实现
Stars: ✭ 58
Projects that are alternatives of or similar to Qqheader
Machdump
A very basic C Mach-O Header Dump tool written for practicing purposes. Works With x86 and x86_64 binaries
Stars: ✭ 25 (-56.9%)
Mutual labels: header
L Passport
Koa middleware and api sdk for wechat oauth, qq oauth, baidu oauth and weibo oauth
Stars: ✭ 52 (-10.34%)
Mutual labels: qq
Newbe.mahua.framework
本SDK为实现QQ机器人平台的大一统,支持多种机器人平台:酷Q、MyPCQQ、QQLight等
Stars: ✭ 849 (+1363.79%)
Mutual labels: qq
Cq Picsearcher Bot
🤖 基于 saucenao / ascii2d / whatanime 的搜图机器人
Stars: ✭ 830 (+1331.03%)
Mutual labels: qq
Cmsis Header Stm32
CMSIS device headers for all STM32 devices
Stars: ✭ 47 (-18.97%)
Mutual labels: header
Tbactionsheet
A Custom&Powerful Action Sheet For iOS. 一个 ActionSheet 满足所有样式!超高自由度的可定制!
Stars: ✭ 942 (+1524.14%)
Mutual labels: qq
Mirai Plugins
🌠一个用于收录Mirai插件的仓库|mirai|plugins|mirai plugins|mirai-plugins
Stars: ✭ 55 (-5.17%)
Mutual labels: qq
Socialite
Socialite is an OAuth2 Authentication tool. It is inspired by laravel/socialite, you can easily use it without Laravel.
Stars: ✭ 1,026 (+1668.97%)
Mutual labels: qq
Vue Music Qq
A qq-music project is based on vue-cli. The pages are simple and smooth
Stars: ✭ 58 (+0%)
Mutual labels: qq
React Grid Table
A modular table, based on a CSS grid layout, optimized for customization.
Stars: ✭ 57 (-1.72%)
Mutual labels: header
Gopay
QQ、微信(WeChat)、支付宝(AliPay)的Go版本SDK。【微信支付V3已支持,推荐使用微信V3接口】
Stars: ✭ 1,034 (+1682.76%)
Mutual labels: qq
QQHeader
一个高仿QQ讨论组头像的实现
Preview
Installation
手动添加Classes文件中的类。
CocoaPods
pod 'QQHeader'
Carthage
github "itlijunjie/QQHeader"
原理和使用方法
每个头像可以分为一个个的小头像:
JJCustomLayer
就是每个小头像:主要负责头像的裁剪
JJHeaders
就是最终的头像:主要负责计算出每个小头像的center
JJHeadersConfig
主要负责头像参数的配置,目前只配置了裁剪角度的大小
Objective-C
UIView *view = [JJHeaders createHeaderView:viewWH
images:@[[UIImage imageNamed:@"0"],
[UIImage imageNamed:@"1"],
[UIImage imageNamed:@"2"],
[UIImage imageNamed:@"3"],
[UIImage imageNamed:@"4"]]];
Swift
let view = JJHeaders.createHeaderView(viewWH, images: [
UIImage(named: "0")!,
UIImage(named: "1")!,
UIImage(named: "2")!,
UIImage(named: "3")!,
UIImage(named: "4")!
])
联系方式
License
QQHeader is under WTFPL. You can do what the fuck you want with QQHeader. See LICENSE file for more info.
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].