All Projects → itlijunjie → Qqheader

itlijunjie / Qqheader

Licence: wtfpl
一个高仿QQ讨论组头像的实现

Labels

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
Projhyperai
一个包含了机器人框架/插件化可运行程序/IM适配器的项目集合.
Stars: ✭ 42 (-27.59%)
Mutual labels:  qq
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
Gomirai
适配于Mirai HTTP API的Golang SDK
Stars: ✭ 39 (-32.76%)
Mutual labels:  qq
Ionic4 Hidenav
Ionic 4 header animations
Stars: ✭ 46 (-20.69%)
Mutual labels:  header
Cq Picsearcher Bot
🤖 基于 saucenao / ascii2d / whatanime 的搜图机器人
Stars: ✭ 830 (+1331.03%)
Mutual labels:  qq
Yavipcore
Net Core Music Interface
Stars: ✭ 1,095 (+1787.93%)
Mutual labels:  qq
Header
Header Tool for Editor.js 2.0
Stars: ✭ 39 (-32.76%)
Mutual labels:  header
Miraigo Template
A template for MiraiGo
Stars: ✭ 47 (-18.97%)
Mutual labels:  qq
Go Demo
Go语言实例教程从入门到进阶,包括基础库使用、设计模式、面试易错点、工具类、对接第三方等
Stars: ✭ 881 (+1418.97%)
Mutual labels:  qq
Web Oauth App
第三方登录服务 Web OAuth 示例
Stars: ✭ 30 (-48.28%)
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
Macre Autoopenredpack
macQQ,防撤回功能+自动抢红包,傻瓜安装版本
Stars: ✭ 25 (-56.9%)
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

Version Platform Carthage Compatible build

一个高仿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")!
                                                                ])

联系方式

QQ:470058952 我的微信:

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].