Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Swift Playgrounds: Replacement for captureValue(_:withIdentifier:)

Xcode 7.3 has deprecated XCPlaygroundPage.currentPage.captureValue(_:withIdentifier:). Its predecessor, XCPCaptureValue(), was deprecated in Xcode 7.1.

I'm wondering if there is any replacement, apart from implicit capture of collections and in loops? Apart from being more flexible using the explicit approach, the ability to add captions to graphs seems to be gone with the deprecation/removal (although the symbols are found, the aforementioned deprecated methods don't do anything, or at least not what you'd expect).

like image 239
hagi Avatar asked Mar 30 '16 10:03

hagi


1 Answers

There is currently no alternative or replacement. Graphs are only displayed implicitly. I have verified this in the Swift/Xcode labs at WWDC 2016. I have filed a radar and will update this questions, should there be any progress.

like image 156
hagi Avatar answered Sep 20 '22 14:09

hagi