Xcode Playgrounds Latest Value, Value History and Graph

Help us to keep this website almost Ad Free! It takes only 10 seconds of your time:
> Step 1: Go view our video on YouTube: EF Core Bulk Extensions
> Step 2: And Like the video. BONUS: You can also share it!

Example

Using Playground it is easy to see that happens inside loops or objects while the change is happening.

For example, in the code below, the value of x will change from 1 to 4.

import UIKit
for x in [1, 2, 3, 4] {
  x
}

(1) Clicking on the eye symbol on the right will give us a quick look.

(2) Clicking on the circle next to it will open show the Latest Value below the line.

(3) Right click on the view added will show a drop down menu with Latest Value, Value History and Graph

playground



Got any Xcode Question?