All Projects → zekunyan → Autolayoutexamplewithmasonry

zekunyan / Autolayoutexamplewithmasonry

Different Autolayout examples with Masonry. 用Masonry写的Autolayout案例,持续更新中。详细解答请看tutuge.me

Projects that are alternatives of or similar to Autolayoutexamplewithmasonry

Uitableviewdynamiclayoutcacheheight
🖖高性能的自动计算采用 Autolayout 布局的 UITableViewCell 和 UITableViewHeaderFooterView 的高度,内部自动管理高度缓存。
Stars: ✭ 360 (-48.13%)
Mutual labels:  autolayout, uitableviewcell
Automatic Height Tagcells
This is a sample project to implement features with dynamic height of UITableViewCell based on autolayout, tags aligned automatically and clickable tags.
Stars: ✭ 229 (-67%)
Mutual labels:  autolayout, uitableviewcell
Tablekit
Type-safe declarative table views.
Stars: ✭ 567 (-18.3%)
Mutual labels:  autolayout, uitableviewcell
Rhpreviewcell
I envied so much Spotify iOS app this great playlist preview cell 😍, I decided to create my own one 🌶. Now you can give your users ability to quick check "what content is hidden under your UITableViewCell". Great think is that this Library not requires 3D Touch support from user device💥.
Stars: ✭ 386 (-44.38%)
Mutual labels:  demo, uitableviewcell
Vue Typescript Dpapp Demo
🔥 Let's start with TypeScript
Stars: ✭ 613 (-11.67%)
Mutual labels:  demo
Tables
Bulma themed, VueJS powered Datatable with server-side loading and JSON template setup
Stars: ✭ 575 (-17.15%)
Mutual labels:  demo
Node Express Mongoose Demo
A simple demo app using node and mongodb for beginners
Stars: ✭ 4,976 (+617%)
Mutual labels:  demo
Hexo Theme Chic
An elegant, powerful, easy-to-read Hexo theme.
Stars: ✭ 539 (-22.33%)
Mutual labels:  demo
Autoflowlayout
自定义ViewGroup,实现多功能流式布局与网格布局
Stars: ✭ 660 (-4.9%)
Mutual labels:  autolayout
Swipecellkit
A swipeable UITableViewCell or UICollectionViewCell with support for:
Stars: ✭ 5,745 (+727.81%)
Mutual labels:  uitableviewcell
Android Yolo
Real-time object detection on Android using the YOLO network with TensorFlow
Stars: ✭ 604 (-12.97%)
Mutual labels:  demo
Mapbox Android Demo
Google Play demo app for the Mapbox Maps SDK for Android
Stars: ✭ 624 (-10.09%)
Mutual labels:  demo
Simplecvreproduction
Reproduce simple cv project including attention module, classification, object detection, segmentation, keypoint detection, tracking 😄 etc.
Stars: ✭ 602 (-13.26%)
Mutual labels:  demo
Bonfire Firebase Sample
An app to discuss your favourite emojis. This is a sample app built with Firebase.
Stars: ✭ 564 (-18.73%)
Mutual labels:  demo
Silex Kitchen Edition
This project is a sample or a bootstrap silex application
Stars: ✭ 645 (-7.06%)
Mutual labels:  demo
Zhuishushenqi
追书神器 接口分析包装
Stars: ✭ 546 (-21.33%)
Mutual labels:  demo
Wechat Miniprogram Examples
WeChat mini program examples. 微信小程序示例
Stars: ✭ 634 (-8.65%)
Mutual labels:  demo
Web
⚡️ Supercharged version of Create React App with all the bells and whistles.
Stars: ✭ 594 (-14.41%)
Mutual labels:  demo
Tensorflowandroiddemo
TensorFlow android demo 车道线 车辆 人脸 动作 骨架 识别 检测 抽烟 打电话 闭眼 睁眼
Stars: ✭ 589 (-15.13%)
Mutual labels:  demo
Weapp Vue Eggjs Shop Demo
商城、商店批发或零售,pc管理端 + 微信小程序 + 后端服务
Stars: ✭ 604 (-12.97%)
Mutual labels:  demo

Autolayout Example With Masonry

用Masonry实现的Autolayout示例。

Build Status

目录

博客

有趣的Autolayout示例-Masonry实现
讲解了Case1到Case3

有趣的Autolayout示例2-Masonry实现
讲解了Case4到Case6

有趣的Autolayout示例3-Masonry实现
讲解了Case7到Case9

有趣的Autolayout示例4-Masonry实现
讲解了Case10到Case12

有趣的Autolayout示例5-Masonry实现
讲解了Case13到Case15

Case1: 并排两个label,宽度由内容决定。父级View宽度不够时,优先显示左边label的内容

Case2: 四个ImageView整体居中,可以任意显示、隐藏

Case3: 子View的宽度始终是父级View的一半(或者任意百分比)

Case4: 动态高度UITableViewCell,附加简单的高度缓存

Case5: topLayoutGuide和bottomLayoutGuide使用案例

Case6: 自定义baseline效果

Case7: 给UITableView加上简单的Parallax视差效果Header

Case8: 实时改变UITableViewCell的高度

Case9: 等间距View

Case10: 用约束优先级保证可移动View的内容可见性

Case11: Autolayout的约束=控件间位置关系的“绑定”

Case12: 利用layoutIfNeeded控制约束的生效时机

Case13:Cell中并排多个变高Label

Case14: 自定义View的intrinsicContentSize,并支持在UITableViewCell中自动计算高度

Case15: 同一个属性可以添加多重约束

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