- 
                Notifications
    
You must be signed in to change notification settings  - Fork 22
 
Open
Labels
Description
If a UILabel has text that contains an apostrophe the parser fails with:
UNEXPECTED INPUT:
...
EXPECTED:
']'
Example:
(
    "<NSLayoutConstraint:0x600000688070 UIView:0x7fcae969d920.height == 50   (active)>",
    "<NSLayoutConstraint:0x600000688700 V:[MyApp.UIButton:0x7fcae969f500'No Thanks']-(0)-|   (active, names: '|':UIView:0x7fcae969f320 )>",
    "<NSLayoutConstraint:0x6000006887a0 V:|-(0)-[MyApp.UIButton:0x7fcae969f500'No Thanks']   (active, names: '|':UIView:0x7fcae969f320 )>",
    "<NSLayoutConstraint:0x600000688b10 V:|-(10)-[MyApp.UILabel:0x7fcae969ece0'Keep track of your friend's ...']   (active, names: '|':UIView:0x7fcae969eb00 )>",
    "<NSLayoutConstraint:0x600000688bb0 V:[MyApp.UILabel:0x7fcae969ece0'Keep track of your friend's ...']-(15)-[UIView:0x7fcae969f320]   (active)>",
    "<NSLayoutConstraint:0x600000688c00 V:[UIView:0x7fcae969f320]-(15)-|   (active, names: '|':UIView:0x7fcae969eb00 )>",
    "<NSLayoutConstraint:0x600000688e80 V:[UIStackView:0x7fcae969d720]-(0)-|   (active, names: '|':UITableViewCellContentView:0x7fcae969d530 )>",
    "<NSLayoutConstraint:0x600000688f20 V:|-(0)-[UIStackView:0x7fcae969d720]   (active, names: '|':UITableViewCellContentView:0x7fcae969d530 )>",
    "<NSLayoutConstraint:0x600000688f70 'UISV-canvas-connection' UIStackView:0x7fcae969d720.top == UIView:0x7fcae969d920.top   (active)>",
    "<NSLayoutConstraint:0x600000689060 'UISV-canvas-connection' V:[UIView:0x7fcae969eb00]-(0)-|   (active, names: '|':UIStackView:0x7fcae969d720 )>",
    "<NSLayoutConstraint:0x6000006890b0 'UISV-spacing' V:[UIView:0x7fcae969d920]-(0)-[UIView:0x7fcae969eb00]   (active)>",
    "<NSLayoutConstraint:0x60400048fd20 'UIView-Encapsulated-Layout-Height' UITableViewCellContentView:0x7fcae969d530.height == 50   (active)>"
)
if you change friend's to friends the parser is again able to handle the input