Code Monkey home page Code Monkey logo

autolayoutexamplewithmasonry's Introduction

Hi there 👋👋👋

Basic info:

Skills:

  • 🌟Good - iOS (Objective-C mainly), Flutter
  • ⭐Medium - Android, Java, C++
  • ✨Little - Python, PHP, Web staff (HTML, JavaScript, CSS, React)

Stats

Houjun Yuan's github stats

autolayoutexamplewithmasonry's People

Contributors

xvxvxxx avatar zekunyan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

autolayoutexamplewithmasonry's Issues

Case1

我把_label2的content compression改成1000 [_label2 setContentCompressionResistancePriority:UILayoutPriorityRequired forAxis:UILayoutConstraintAxisHorizontal]; 或者把设置content hugging和content compression的这四行代码都注释了..运行起来效果好像没区别呀

Case4: 如果两个 cell 的高度总和小于 imageView的高度,cell 高度就不对了

在 Case4:UITableView 变高中 发现一个问题 :
snip20170630_1

如上图,如果我把 titleLabelcontentLabel 的字体变小,然后在 contentLabel 一行的情况下,cell 的高度就不对了,因为这时候 imageView 的高度大于两个 Label 高度的总和,所以 cell 的高度应当等于 imageView 的最大 y 值加上 someMargin,这时候要怎么解决?或者说这种情况下约束怎么加(要求不手动算高)?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.