I waited long time but my playground project is not showing result on right side bar I am using right code but still right bar is not updating i don't know what is the problem i tried lot of time. here is my code
var str = "Hello, playground" var str1 = "this is my first program" let kermit = "kermit" let msPiggy = "ms. piggy" let string1 = msPiggy + " and " + kermit + ", sitting in a tree" let string2 = "\(msPiggy) and \(kermit), sittting in a tree " let string3 = " kermit has \(5*2) fingers" let chr1:Character = "💿"
To open Playground on Xcode, navigate to File in the menu and click on New > Playground... To test our square function, we will choose the Blank template. Name your Playground file, then click on Create.
In the Swift Playgrounds app on your iPad, tap See All near the bottom right of the My Playgrounds screen. at the top left, then tap See All. Tap a playground or app or in the Learn to Code & Build Apps section to view a description.
As of Xcode 8, unless you are print
-ing out things, results in the playground could take a little bit more work to show.
In this screenshot, I show two things you can click on. #1 is the the "Show Debug Area" button, the middle button in the top right of the toolbar (i.e. which toggles the lower pane that slides up and down in the Xcode window). Results from print
end up there.
Also, the second set of (multiple) circles shows that you can click on to show results. You can slide the gray bar space wider to make things show.
Lastly, where you see the "Play" triangle in the lower toolbar, try clicking on that to force the Playground to execute your code again.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With