2

I am working with AutoLayout and am using a library called FLKAutoLayout. When I have a conflict the autolayout debug messages that I am used to do not always show useful information about the constraints in conflict.

Has anyone seen this before and know how to resolve these messages?

enter image description here

egarlock
  • 559
  • 3
  • 11

1 Answers1

2

From taking a look at FLKAutoLayout it looks like your problem is with this line in NSLayoutConstraint+FLKAutoLayoutDebug.m :

`return [description stringByAppendingFormat:@" %@ (%@, %@)", asciiArtDescription, [self.firstItem flk_nameTag], [self.secondItem flk_nameTag]];`

asciiArtDescription is a private method on NSLayoutConstraint, while flk_nameTag is an property added as an "associated object".

Are you working in Swift? It could be something interfering with the program's ability to do those two things, even though it's in objective-C code. You could try creating a test project in Objective C that recreates the warnings to see if they appear.

Mike Sand
  • 2,750
  • 14
  • 23