Comments (6)
No, none - it's just vanilla XIBs.
from wtfautolayout.
By the way - thank you so much for this tool. It's helped us greatly! ❤️
from wtfautolayout.
Thanks for raising this issue. I was under the impression that constraints that have been translated from autoresizing masks have an additional piece of info in their description, in the form h=--& v=--&
. E.g.:
"<NSAutoresizingMaskLayoutConstraint:0x60000089a130 h=--& v=--& UIView:0x7f95000e5ac0.width == 70 (active)>"
Currently any descriptions that include this info are determined to have been translated from autoresizing masks, regardless of whether they have an identifier with the prefix UIView-Encapsulated-Layout-
.
The documentation seems to confirm this. Are you seeing NSAutoresizingMaskLayoutConstraint
s printed without the h=--& v=--&
info?
from wtfautolayout.
Not as such - what I'm seeing is this:
"<NSLayoutConstraint:0x11a9ade60 'UIView-Encapsulated-Layout-Width' Document Base.width == 1366 (active, names: Document Base:0x1192fbcf0 )>"
, where Document Base
is just the accessibilityIdentifier
.
The main thing to note is that I have no table or collection views in the hierarchy, but I did have autoresizing masks that needed to be removed.
I don't know if this helps?
from wtfautolayout.
This is as at iOS 11, which appears to make some changes in this area. This post suggested it, and it seems reasonable based on what finally fixed my layout issue (which was correctly dealing with those masks).
https://stackoverflow.com/a/46738140/466345
from wtfautolayout.
@pipelineoptika Thanks very much for the additional info; I will have a deeper look. Just to check, are you using any Auto Layout frameworks such as SnapKit in that project?
from wtfautolayout.
Related Issues (20)
- Cannot Parse _UISystemBaselineConstraint HOT 2
- Text not rendered correctly HOT 1
- Application error HOT 1
- Unexpected input issue with NSSpace HOT 1
- Make a Graphic Rendering HOT 1
- Unexpected Input for ']' HOT 1
- file name with + sign shows syntax error HOT 1
- www prefix doesn’t work with https HOT 5
- Error: Expected: '.' in dot attribute HOT 2
- Permalink fails when code contains ampersand & HOT 2
- Issue parsing _UISystemBaselineConstraint HOT 2
- Parse issue HOT 5
- Preserve constraint identifiers HOT 1
- Parsing Issues HOT 1
- It would be nice to also parse `po view.constraints`
- Issue Running Project on Localhost - M1 MacBook Type 'StaticString' does not conform to protocol 'Collection'
- Issue Running Project on Localhost - M1 MacBook ,Type 'StaticString' does not conform to protocol 'Collection'
- Add checkbox to mark correct constraint HOT 2
- Labels with contractions fail to render HOT 3
- Custom naming of views HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wtfautolayout.