ios - Xcode PlayGround doesnt show the view of these scene -


import spritekit import xcplayground  // lets create view let view = skview(frame: cgrect(x: 0, y: 0, width: 1024, height: 768))  xcpshowview("my first view", view)  let scene = skscene(size: cgsize(width: 1024, height: 768)) scene.scalemode = skscenescalemode.aspectfit view.presentscene(scene)  scene.backgroundcolor = skcolor.blackcolor()  let bluebox: skspritenode = skspritenode(color: uicolor.bluecolor(), size:     cgsizemake(300, 300)) bluebox.position = cgpointmake(512, 384) scene.addchild(bluebox)  view.presentscene(scene) 

the playground doesn't show view. using xcode 6.4. how showing on playground using xcpshowview? friends

make sure have assistant view open, view->assistant editor


Comments

Popular posts from this blog

java - WARN : org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/board/] in DispatcherServlet with name 'appServlet' -

android - How to create dynamically Fragment pager adapter -

html - Outlook 2010 Anchor (url/address/link) -