简体   繁体   中英

Quick-look on UIImage in debug with Swift

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

Instead of view like this:

教程

I see this:

我的观点

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?

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.

在此输入图像描述

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM