Comments (6)
@johnpatrickmorgan, yes I using Masonry
from wtfautolayout.
@behdad-keynejad Thanks for raising an issue. This is the first time I've seen the multipliers printed this way, rather than e.g.:
"<NSLayoutConstraint:0x167e8ddb0 UIImageView:0x167e89f20.width == 0.7*ServiceTypeCarouselItemView:0x167e89d20.width>",
See parsing code.
Can I ask what iOS version this was printed with please?
from wtfautolayout.
I have this error too:
(
"<NSAutoresizingMaskLayoutConstraint:0x181af7c0 AWPProductOnMapView:0x4dbb090.height == 234>",
"<NSLayoutConstraint:0x181cef70 UIImageView:0x4db3270.width == UIImageView:0x4db3270.height * 0.384615>",
"<NSLayoutConstraint:0x181d2d20 UIImageView:0x4db3270.width == 85>",
"<NSLayoutConstraint:0x4dc7b00 UIView:0x4db5710.bottom == UIImageView:0x4db3270.bottom + 25>",
"<NSLayoutConstraint:0x4dc7bd0 UIImageView:0x4db3270.top == UIView:0x4db5710.top + 2>",
"<NSLayoutConstraint:0x4dc85a0 AWPProductOnMapView:0x4dbb090.bottom == UIView:0x4db5710.bottom>",
"<NSLayoutConstraint:0x4dc8630 UIView:0x4db5710.top == AWPProductOnMapView:0x4dbb090.top>"
)
And output:
UNEXPECTED INPUT:
Line 3, Column 97
"<NSLayoutConstraint:0x181cef70 UIImageView:0x4db3270.width == UIImageView:0x4db3270.height * 0.384615>",
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
EXPECTED:
'('
whitespace
'+' in +
'-' in -
'>' in >"
iOS 10.3.1
from wtfautolayout.
@StasanTelnov Thanks for confirming. I haven't been able to recreate this issue but I will add support for it in the parser. I'm going to assume that if there were a constant too, it would come after. Will update when deployed
from wtfautolayout.
@behdad-keynejad @StasanTelnov This change has now been deployed and your inputs should now be parsed correctly. Thanks for raising this.
from wtfautolayout.
@behdad-keynejad @StasanTelnov Out of interest, are you using Masonry or SnapKit? That might explain why the multipliers are printed differently in your logs.
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.