Error after installing xcode 5: value for key (UIHighlighted) is not logical

After installing xcode 5 and running the simulator, I get the following error:

'NSInvalidUnarchiveOperationException', reason: '* - [NSKeyedUnarchiver decodeBoolForKey:]: the value for the key (UIHighlighted) is not logical'

The application closes before opening. It worked fine on xcode 4.6. What could it be?

It seems to be related to UIImageView, is this the case?

+4
source share
3 answers

I had one UIImageView that has a dedicated set of properties that seems to be causing the problem.

UIImageView Interface Builder .

+12

, xcode. iOS iOS. .

0

@alpere, UICollectionViewCell, . , setHighlighted:(BOOL)highlighted ...

-(void)setHighlighted:(BOOL)highlighted {
    [super setHighlighted:highlighted];
    self.songView.highlighted = highlighted;
    self.songTitle.highlighted = highlighted;
    self.trackStack.highlighted = highlighted;
}
0
source

All Articles