<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>iOS on Andrew Bancroft</title>
    <link>https://www.andrewcbancroft.com/categories/ios/</link>
    <description>Recent content about iOS development with Swift in iOS  from Andrew Bancroft.</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en-us</language>
    <lastBuildDate>Tue, 28 May 2019 05:06:19 +0000</lastBuildDate>
    
        <atom:link href="https://www.andrewcbancroft.com/categories/ios/index.xml" rel="self" type="application/rss+xml" />
    
    
    <item>
      <title>Showing the Live View in a Swift Playground</title>
      <link>https://www.andrewcbancroft.com/blog/ios-development/xcode/showing-live-view-in-swift-playground/</link>
      <pubDate>Tue, 28 May 2019 05:06:19 +0000</pubDate>
      
      <guid>https://www.andrewcbancroft.com/blog/ios-development/xcode/showing-live-view-in-swift-playground/</guid>
      <description>&lt;h2 id=&#34;wheres-the-live-view&#34;&gt;Where&amp;rsquo;s the Live View?&lt;/h2&gt;
&lt;p&gt;So you&amp;rsquo;ve created a new Single View playground from the template picker&amp;hellip;&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;playground-template-selection.png&#34; alt=&#34;Playground Template Selection&#34;&gt;&lt;/p&gt;
&lt;p&gt;You run the playground right out of the gate to see what you&amp;rsquo;ve got&amp;hellip;&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;run-playground.gif&#34; alt=&#34;Run Playground&#34;&gt;&lt;/p&gt;
&lt;p&gt;But&amp;hellip; Where&amp;rsquo;s the Live View?&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;wheres-the-live-view.png&#34; alt=&#34;Where&amp;rsquo;s the Live View?&#34;&gt;&lt;/p&gt;
&lt;h2 id=&#34;showing-the-live-view&#34;&gt;Showing the Live View&lt;/h2&gt;
&lt;p&gt;To get the live view to show up, you need to &lt;strong&gt;open the Assitant Editor&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;You can do this by clicking &lt;code&gt;View&lt;/code&gt; - &lt;code&gt;Assistant Editor&lt;/code&gt; - &lt;code&gt;Show Assistant Editor&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;Or you can press &lt;code&gt;option&lt;/code&gt; + &lt;code&gt;command&lt;/code&gt; + &lt;code&gt;return&lt;/code&gt; to show it.&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;show-assistant-editor.png&#34; alt=&#34;Show the Assistant Editor&#34;&gt;&lt;/p&gt;
&lt;p&gt;And we&amp;rsquo;re off to play!&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;live-view-shows.png&#34; alt=&#34;Live View Shows&#34;&gt;&lt;/p&gt;
</description>
    </item>
    
  </channel>
</rss>