PureLayout/PureLayout

Modernize `autoRemove`

Aberta

#167 aberto em 13 de fev. de 2017

 (1 comentário) (0 reação) (0 responsável)Objective-C (731 forks)batch import
bughelp wantedquestion

Métricas do repositório

Stars
 (7.604 estrelas)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

Description

Why put a NSAssert at end of method "autoRemove" ? On iOS7, when I call autoRemove to remove a NSLayoutConstraint what not installed, the app will crash at line "NSAssert(nil, @"Failed to remove constraint: %@", self);". Can the NSAssert be removed?

Guia do colaborador