Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Quick-look on UIImage in debug with Swift

Recently I can't quick-look objects in debug window.

Instead of view like this:

tutorial

I see this:

my view

I think it changed recently as I switched to Xcode 6.3 and Swift 1.2. Do you know any solutions or is it update fault?

like image 891
nahive Avatar asked Apr 17 '15 12:04

nahive


1 Answers

Seems like it's bug in Xcode and quick look is not working for optionals. If you try to force unwrap image you get quick look working.

enter image description here

In the example above quick look is not working for image but it working for unwrapped image.

like image 176
Sergey Kuryanov Avatar answered Oct 25 '22 15:10

Sergey Kuryanov