<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	
	xmlns:georss="http://www.georss.org/georss"
	xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#"
	>

<channel>
	<title>GitHub &#8211; 肉球ログ</title>
	<atom:link href="https://nikuq299.com/tag/github/feed/" rel="self" type="application/rss+xml" />
	<link>https://nikuq299.com</link>
	<description>ノマドスキルを研磨中です。</description>
	<lastBuildDate>Sat, 11 Aug 2018 18:15:37 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	

<image>
	<url>https://i0.wp.com/nikuq299.com/wp-content/uploads/2018/06/cropped-IMG_0467.jpg?fit=32%2C32&#038;ssl=1</url>
	<title>GitHub &#8211; 肉球ログ</title>
	<link>https://nikuq299.com</link>
	<width>32</width>
	<height>32</height>
</image> 
<atom:link rel="hub" href="https://pubsubhubbub.appspot.com"/><atom:link rel="hub" href="https://pubsubhubbub.superfeedr.com"/><site xmlns="com-wordpress:feed-additions:1">147377866</site>	<item>
		<title>playground でプログラムを動かしてみる</title>
		<link>https://nikuq299.com/programing/development_ios_app_2/</link>
				<comments>https://nikuq299.com/programing/development_ios_app_2/#respond</comments>
				<pubDate>Fri, 10 Aug 2018 14:50:48 +0000</pubDate>
		<dc:creator><![CDATA[肉球]]></dc:creator>
				<category><![CDATA[プログラミング]]></category>
		<category><![CDATA[GitHub]]></category>
		<category><![CDATA[iPad]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Swift]]></category>
		<category><![CDATA[Xcode]]></category>

		<guid isPermaLink="false">https://nikuq299.com/?p=1519</guid>
				<description><![CDATA[<p>どうもこんばんは。 肉球 (@nikuq299com) です。 &#160; 先日の投稿でiOSアプリの開発を行うためにXcodeをダウンロードしたので、今回は、簡単なプログラムを動かしてみます。 &#160; 今回の記...</p>
<p>投稿 <a rel="nofollow" href="https://nikuq299.com/programing/development_ios_app_2/">playground でプログラムを動かしてみる</a> は <a rel="nofollow" href="https://nikuq299.com">肉球ログ</a> に最初に表示されました。</p>
]]></description>
								<content:encoded><![CDATA[<p>どうもこんばんは。</p>
<p>肉球 (<a href="https://twitter.com/nikuq299com?lang=ja">@nikuq299com</a>) です。</p>
<p>&nbsp;</p>
<p>先日の投稿でiOSアプリの開発を行うためにXcodeをダウンロードしたので、今回は、簡単なプログラムを動かしてみます。</p>
<div class="related_article cf"><a href="https://nikuq299.com/programing/development_ios_app_1/"><figure class="eyecatch thum"><img width="486" height="290" src="https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/08/eyecatch_20180809.jpg?resize=486%2C290&amp;ssl=1" class="attachment-home-thum size-home-thum wp-post-image" alt="iOSアプリ開発 のススメ" srcset="https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/08/eyecatch_20180809.jpg?resize=486%2C290&amp;ssl=1 486w, https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/08/eyecatch_20180809.jpg?zoom=2&amp;resize=486%2C290&amp;ssl=1 972w, https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/08/eyecatch_20180809.jpg?zoom=3&amp;resize=486%2C290&amp;ssl=1 1458w" sizes="(max-width: 486px) 100vw, 486px" data-attachment-id="1509" data-permalink="https://nikuq299.com/programing/development_ios_app_1/attachment/eyecatch_20180809/" data-orig-file="https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/08/eyecatch_20180809.jpg?fit=1600%2C1066&amp;ssl=1" data-orig-size="1600,1066" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="eyecatch_20180809" data-image-description="&lt;p&gt;iOSアプリ開発 のススメ&lt;/p&gt;
" data-medium-file="https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/08/eyecatch_20180809.jpg?fit=300%2C200&amp;ssl=1" data-large-file="https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/08/eyecatch_20180809.jpg?fit=728%2C485&amp;ssl=1" /></figure><div class="meta inbox"><p class="ttl">iOSアプリ開発 は意外と簡単にできるのです</p><span class="date gf">2018年8月10日</span></div></a></div>
<p>&nbsp;</p>
<p>今回の記事は2となります。</p>
<ol>
<li>iOSアプリ開発の前準備</li>
<li><span style="color: #ff0000;">Xcodeを使って簡単なプログラムを動かしてみる</span> (← 今回ココ)</li>
<li>iOSアプリの基礎</li>
<li>部品の使い方</li>
<li>地図を表示してみる</li>
<li>SNS機能を呼び出してみる</li>
<li>カメラを使って写真を保存してみる</li>
</ol>
<p>&nbsp;</p>
<h2>はじめに</h2>
<div class="c_box intitle pink_box type_normal"><div class="box_title"><span class="span__box_title">ポイント1</span></div>
<p>実際にコードを書いて、プログラムを動かしてみよう！</p>
</div>
<p>&nbsp;</p>
<p>Xcodeは、 playground という実行環境があり、このplaygroundを使うと、プログラムの動作を簡単に確認できます。</p>
<p>まずは、このplaygroundを使って簡単なプログラムを動かしてみます。</p>
<p>&nbsp;</p>
<h2>playground でプログラムを実行してみる</h2>
<div class="c_box intitle pink_box type_normal"><div class="box_title"><span class="span__box_title">ポイント2</span></div>
<p>最初はサンプルを丸写しで良いのです！</p>
</div>
<p>&nbsp;</p>
<p>Xcodeを起動したら、「Welcome to Xcode」というウィンドウがでますので、「Get started with a playground」をクリックしてください。</p>
<p>&nbsp;</p>
<a href="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/08/welcome-e1533798016268.jpg?ssl=1"><img data-attachment-id="1521" data-permalink="https://nikuq299.com/programing/development_ios_app_2/attachment/welcome/" data-orig-file="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/08/welcome-e1533798016268.jpg?fit=1000%2C583&amp;ssl=1" data-orig-size="1000,583" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="welcome" data-image-description="&lt;p&gt;playgroundを立ち上げる。&lt;/p&gt;
" data-medium-file="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/08/welcome-e1533798016268.jpg?fit=300%2C175&amp;ssl=1" data-large-file="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/08/welcome-e1533798016268.jpg?fit=728%2C424&amp;ssl=1" class="aligncenter size-large wp-image-1521" src="https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/08/welcome.jpg?resize=728%2C424&#038;ssl=1" alt="playgroundを立ち上げる。" width="728" height="424" data-recalc-dims="1" /></a>
<p>次の画面に遷移したら、テンプレートに「iOS」「Blank」を選択して、Nextをクリックしてください。</p>
<a href="https://i0.wp.com/nikuq299.com/wp-content/uploads/2018/08/blank-e1533798842819.jpg?ssl=1"><img data-attachment-id="1522" data-permalink="https://nikuq299.com/programing/development_ios_app_2/attachment/blank/" data-orig-file="https://i0.wp.com/nikuq299.com/wp-content/uploads/2018/08/blank-e1533798842819.jpg?fit=1000%2C714&amp;ssl=1" data-orig-size="1000,714" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="blank" data-image-description="&lt;p&gt;テンプレートの属性に「iOS」「Blank」を指定する。&lt;/p&gt;
" data-medium-file="https://i0.wp.com/nikuq299.com/wp-content/uploads/2018/08/blank-e1533798842819.jpg?fit=300%2C214&amp;ssl=1" data-large-file="https://i0.wp.com/nikuq299.com/wp-content/uploads/2018/08/blank-e1533798842819.jpg?fit=728%2C520&amp;ssl=1" class="aligncenter size-large wp-image-1522" src="https://i0.wp.com/nikuq299.com/wp-content/uploads/2018/08/blank.jpg?resize=728%2C520&#038;ssl=1" alt="テンプレートの属性に「iOS」「Blank」を指定する。" width="728" height="520" data-recalc-dims="1" /></a>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>保存先と保存するファイル名を指定して、Createをクリックします (ここではSampleというファイル名で保存します)。</p>
<a href="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/08/save_dir-e1533798785802.jpg?ssl=1"><img data-attachment-id="1524" data-permalink="https://nikuq299.com/programing/development_ios_app_2/attachment/save_dir/" data-orig-file="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/08/save_dir-e1533798785802.jpg?fit=1000%2C618&amp;ssl=1" data-orig-size="1000,618" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="save_dir" data-image-description="&lt;p&gt;保存先を指定する。&lt;/p&gt;
" data-medium-file="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/08/save_dir-e1533798785802.jpg?fit=300%2C185&amp;ssl=1" data-large-file="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/08/save_dir-e1533798785802.jpg?fit=728%2C450&amp;ssl=1" class="aligncenter size-large wp-image-1524" src="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/08/save_dir.jpg?resize=728%2C450&#038;ssl=1" alt="保存先を指定する。" width="728" height="450" data-recalc-dims="1" /></a>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>以下のような初期画面が出ますので、下記のプログラムを真似して書いてみてください。</p>
<a href="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/08/init-e1533799142570.jpg?ssl=1"><img data-attachment-id="1525" data-permalink="https://nikuq299.com/programing/development_ios_app_2/attachment/init/" data-orig-file="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/08/init-e1533799142570.jpg?fit=1600%2C1302&amp;ssl=1" data-orig-size="1600,1302" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="init" data-image-description="&lt;p&gt;playground 初期画面。&lt;/p&gt;
" data-medium-file="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/08/init-e1533799142570.jpg?fit=300%2C244&amp;ssl=1" data-large-file="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/08/init-e1533799142570.jpg?fit=728%2C592&amp;ssl=1" class="aligncenter size-large wp-image-1525" src="https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/08/init.jpg?resize=728%2C592&#038;ssl=1" alt="playground 初期画面。" width="728" height="592" data-recalc-dims="1" /></a>
<p>&nbsp;</p>
<p>以下は、ソースコードのテキストです。</p>
<p>&nbsp;</p>
<p><script src="https://gist.github.com/nikuq299/8b88f68ada0ec8f5caa9219c04921b29.js"></script></p>
<p>&nbsp;</p>
<p>一応、このプロジェクトは<a href="https://github.com/nikuq299/playground_sample">GitHubにも登録</a>したので、プログラムの動きだけ見たい！という場合は、事前にXcodeをインストールした上でご利用ください。</p>
<p>Xcodeのインストールは、下記の関連記事に記載しています。</p>
<div class="related_article cf"><a href="https://nikuq299.com/programing/development_ios_app_1/"><figure class="eyecatch thum"><img width="486" height="290" src="https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/08/eyecatch_20180809.jpg?resize=486%2C290&amp;ssl=1" class="attachment-home-thum size-home-thum wp-post-image" alt="iOSアプリ開発 のススメ" srcset="https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/08/eyecatch_20180809.jpg?resize=486%2C290&amp;ssl=1 486w, https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/08/eyecatch_20180809.jpg?zoom=2&amp;resize=486%2C290&amp;ssl=1 972w, https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/08/eyecatch_20180809.jpg?zoom=3&amp;resize=486%2C290&amp;ssl=1 1458w" sizes="(max-width: 486px) 100vw, 486px" data-attachment-id="1509" data-permalink="https://nikuq299.com/programing/development_ios_app_1/attachment/eyecatch_20180809/" data-orig-file="https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/08/eyecatch_20180809.jpg?fit=1600%2C1066&amp;ssl=1" data-orig-size="1600,1066" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="eyecatch_20180809" data-image-description="&lt;p&gt;iOSアプリ開発 のススメ&lt;/p&gt;
" data-medium-file="https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/08/eyecatch_20180809.jpg?fit=300%2C200&amp;ssl=1" data-large-file="https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/08/eyecatch_20180809.jpg?fit=728%2C485&amp;ssl=1" /></figure><div class="meta inbox"><p class="ttl">iOSアプリ開発 は意外と簡単にできるのです</p><span class="date gf">2018年8月10日</span></div></a></div>
<p>&nbsp;</p>
<p>GitHub上のプロジェクトは下記の手順で利用できます。</p>
<p><a href="https://github.com/nikuq299/playground_sample">下記ページ</a>の「Clone or Download」をクリックする。</p>
<a href="https://i0.wp.com/nikuq299.com/wp-content/uploads/2018/08/github1-e1533892276176.jpg?ssl=1"><img data-attachment-id="1535" data-permalink="https://nikuq299.com/programing/development_ios_app_2/attachment/github1/" data-orig-file="https://i0.wp.com/nikuq299.com/wp-content/uploads/2018/08/github1-e1533892276176.jpg?fit=1200%2C873&amp;ssl=1" data-orig-size="1200,873" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="github1" data-image-description="&lt;p&gt;GitHub上のプロジェクトを複製する。&lt;/p&gt;
" data-medium-file="https://i0.wp.com/nikuq299.com/wp-content/uploads/2018/08/github1-e1533892276176.jpg?fit=300%2C218&amp;ssl=1" data-large-file="https://i0.wp.com/nikuq299.com/wp-content/uploads/2018/08/github1-e1533892276176.jpg?fit=728%2C530&amp;ssl=1" class="aligncenter size-large wp-image-1535" src="https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/08/github1-e1533892276176-1024x745.jpg?resize=728%2C530&#038;ssl=1" alt="GitHub上のプロジェクトを複製する。" width="728" height="530" srcset="https://i0.wp.com/nikuq299.com/wp-content/uploads/2018/08/github1-e1533892276176.jpg?resize=1024%2C745&amp;ssl=1 1024w, https://i0.wp.com/nikuq299.com/wp-content/uploads/2018/08/github1-e1533892276176.jpg?resize=300%2C218&amp;ssl=1 300w, https://i0.wp.com/nikuq299.com/wp-content/uploads/2018/08/github1-e1533892276176.jpg?resize=768%2C559&amp;ssl=1 768w, https://i0.wp.com/nikuq299.com/wp-content/uploads/2018/08/github1-e1533892276176.jpg?w=1200&amp;ssl=1 1200w" sizes="(max-width: 728px) 100vw, 728px" data-recalc-dims="1" /></a>
<p>次に、下記のダイアログがポップするので、許可をクリックしてください。</p>
<a href="https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/08/github2.jpg?ssl=1"><img data-attachment-id="1536" data-permalink="https://nikuq299.com/programing/development_ios_app_2/attachment/github2/" data-orig-file="https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/08/github2.jpg?fit=862%2C194&amp;ssl=1" data-orig-size="862,194" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="github2" data-image-description="&lt;p&gt;Xcodeで開くことを許可する。&lt;/p&gt;
" data-medium-file="https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/08/github2.jpg?fit=300%2C68&amp;ssl=1" data-large-file="https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/08/github2.jpg?fit=728%2C164&amp;ssl=1" class="aligncenter wp-image-1536" src="https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/08/github2.jpg?resize=614%2C138&#038;ssl=1" alt="Xcodeで開くことを許可する。" width="614" height="138" srcset="https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/08/github2.jpg?w=862&amp;ssl=1 862w, https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/08/github2.jpg?resize=300%2C68&amp;ssl=1 300w, https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/08/github2.jpg?resize=768%2C173&amp;ssl=1 768w" sizes="(max-width: 614px) 100vw, 614px" data-recalc-dims="1" /></a>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>次に保存先のディレクトリを選択して、Cloneボタンをクリックしてください。</p>
<div id="attachment_1537" style="width: 738px" class="wp-caption aligncenter"><a href="https://i0.wp.com/nikuq299.com/wp-content/uploads/2018/08/github3-e1533893374623.jpg?ssl=1"><img aria-describedby="caption-attachment-1537" data-attachment-id="1537" data-permalink="https://nikuq299.com/programing/development_ios_app_2/attachment/github3/" data-orig-file="https://i0.wp.com/nikuq299.com/wp-content/uploads/2018/08/github3-e1533893374623.jpg?fit=1200%2C755&amp;ssl=1" data-orig-size="1200,755" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="github3" data-image-description="" data-medium-file="https://i0.wp.com/nikuq299.com/wp-content/uploads/2018/08/github3-e1533893374623.jpg?fit=300%2C189&amp;ssl=1" data-large-file="https://i0.wp.com/nikuq299.com/wp-content/uploads/2018/08/github3-e1533893374623.jpg?fit=728%2C458&amp;ssl=1" class="wp-image-1537 size-large" src="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/08/github3.jpg?resize=728%2C458&#038;ssl=1" alt="保存先のディレクトリを指定し、Cloneボタンをクリックする。" width="728" height="458" data-recalc-dims="1" /></a><p id="caption-attachment-1537" class="wp-caption-text">保存先のディレクトリを指定し、Cloneボタンをクリックする。</p></div>
<p>&nbsp;</p>
<p>次に、ダウンロードしたSample.playgroundをダブルクリックしてXcodeを開いてください。</p>
<div id="attachment_1538" style="width: 738px" class="wp-caption aligncenter"><a href="https://i0.wp.com/nikuq299.com/wp-content/uploads/2018/08/github4-e1533893468279.jpg?ssl=1"><img aria-describedby="caption-attachment-1538" data-attachment-id="1538" data-permalink="https://nikuq299.com/programing/development_ios_app_2/attachment/github4/" data-orig-file="https://i0.wp.com/nikuq299.com/wp-content/uploads/2018/08/github4-e1533893468279.jpg?fit=1200%2C748&amp;ssl=1" data-orig-size="1200,748" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="github4" data-image-description="" data-medium-file="https://i0.wp.com/nikuq299.com/wp-content/uploads/2018/08/github4-e1533893468279.jpg?fit=300%2C187&amp;ssl=1" data-large-file="https://i0.wp.com/nikuq299.com/wp-content/uploads/2018/08/github4-e1533893468279.jpg?fit=728%2C454&amp;ssl=1" class="wp-image-1538 size-large" src="https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/08/github4.jpg?resize=728%2C454&#038;ssl=1" alt="ダウンロードしたSample.playgroundをダブルクリックして、Xcodeを開く。" width="728" height="454" data-recalc-dims="1" /></a><p id="caption-attachment-1538" class="wp-caption-text">ダウンロードしたSample.playgroundをダブルクリックして、Xcodeを開く。</p></div>
<p>&nbsp;</p>
<p>以下の画面を表示すれば成功です。</p>
<p>文字や数字などの表示は右側の枠に表示しますが、グラフや図形、写真などは右側のボタンを押すことでソースコード欄へ結果を出力できます。</p>
<a href="https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/08/execute-e1533893918410.jpg?ssl=1"><img data-attachment-id="1542" data-permalink="https://nikuq299.com/programing/development_ios_app_2/attachment/execute/" data-orig-file="https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/08/execute-e1533893918410.jpg?fit=1200%2C1167&amp;ssl=1" data-orig-size="1200,1167" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="execute" data-image-description="&lt;p&gt;playground の実行結果。&lt;/p&gt;
" data-medium-file="https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/08/execute-e1533893918410.jpg?fit=300%2C292&amp;ssl=1" data-large-file="https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/08/execute-e1533893918410.jpg?fit=728%2C708&amp;ssl=1" class="aligncenter size-large wp-image-1542" src="https://i0.wp.com/nikuq299.com/wp-content/uploads/2018/08/execute.jpg?resize=728%2C708&#038;ssl=1" alt="playground の実行結果。" width="728" height="708" data-recalc-dims="1" /></a>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>ご参考までのメモです。</p>
<p><a href="https://ja.wikipedia.org/wiki/GitHub">GitHub</a>というのは、ソースコードを管理するためのサービスで、例えば、ブロガーのみなさんがよく利用している <a href="https://ja.wordpress.org">WordPress</a>のようなオープンソースプロジェクトは、GitHubでバージョン管理 (<a href="https://github.com/WordPress/WordPress">リンクはコチラ</a>) しています。</p>
<p>GitHubの使い方 (というか、アカウントの作り方) は、過去の記事を参考にしてください。</p>
<div class="related_article cf"><a href="https://nikuq299.com/programing/register_github/"><figure class="eyecatch thum"><img width="486" height="290" src="https://i0.wp.com/nikuq299.com/wp-content/uploads/2018/07/eyecatch_20180711-e1531383303535.jpg?resize=486%2C290&amp;ssl=1" class="attachment-home-thum size-home-thum wp-post-image" alt="GitHub へ登録する。" srcset="https://i0.wp.com/nikuq299.com/wp-content/uploads/2018/07/eyecatch_20180711-e1531383303535.jpg?resize=486%2C290&amp;ssl=1 486w, https://i0.wp.com/nikuq299.com/wp-content/uploads/2018/07/eyecatch_20180711-e1531383303535.jpg?zoom=2&amp;resize=486%2C290&amp;ssl=1 972w, https://i0.wp.com/nikuq299.com/wp-content/uploads/2018/07/eyecatch_20180711-e1531383303535.jpg?zoom=3&amp;resize=486%2C290&amp;ssl=1 1458w" sizes="(max-width: 486px) 100vw, 486px" data-attachment-id="1218" data-permalink="https://nikuq299.com/programing/register_github/attachment/eyecatch_20180711/" data-orig-file="https://i0.wp.com/nikuq299.com/wp-content/uploads/2018/07/eyecatch_20180711-e1531383303535.jpg?fit=1600%2C576&amp;ssl=1" data-orig-size="1600,576" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="eyecatch_20180711" data-image-description="&lt;p&gt;GitHub へ登録する。&lt;/p&gt;
" data-medium-file="https://i0.wp.com/nikuq299.com/wp-content/uploads/2018/07/eyecatch_20180711-e1531383303535.jpg?fit=300%2C108&amp;ssl=1" data-large-file="https://i0.wp.com/nikuq299.com/wp-content/uploads/2018/07/eyecatch_20180711-e1531383303535.jpg?fit=728%2C262&amp;ssl=1" /></figure><div class="meta inbox"><p class="ttl">GitHub へユーザ登録してみました</p><span class="date gf">2018年7月12日</span></div></a></div>
<p>&nbsp;</p>
<p>下記は、<a href="https://ja.wikipedia.org/wiki/GitHub">Wikipedia</a>から抜粋したGitHubの説明です。</p>
<blockquote><p><b>GitHub</b>（ギットハブ）は、ソフトウェア開発のプラットフォームであり、ソースコードをホスティングする。コードのバージョン管理システムにはGitを使用する。Ruby on RailsおよびErlangで記述されており、アメリカのカリフォルニア州サンフランシスコ市に拠点を置くGitHub社によって保守されている。主な開発者はChris Wanstrath、PJ Hyett、Tom Preston-Wernerである<sup id="cite_ref-4" class="reference"></sup>。</p>
<p>GitHub商用プランおよびオープンソースプロジェクト向けの無料アカウントを提供している。2009年のユーザー調査によると、GitHubは最もポピュラーなGitホスティングサイトとなった<sup id="cite_ref-5" class="reference"></sup>。</p>
<p><a href="https://ja.wikipedia.org/wiki/GitHub">WikipediaのGitHub より抜粋</a></p></blockquote>
<p>&nbsp;</p>
<p>GitHubといえば、最近、マイクロソフトがGitHubを買収するという報道が飛び、世間を賑わせましたよね。</p>
<p>GitHubは、今やオープンソース開発に無くてはならない存在になっているようです。</p>
<blockquote class="twitter-tweet" data-width="550" data-dnt="true">
<p lang="ja" dir="ltr">100RT Microsoft、GitHubを75億ドルで買収　正式発表 <a href="https://t.co/kPZeznpBPW">https://t.co/kPZeznpBPW</a></p>
<p>&mdash; ITmedia NEWS (@itmedia_news) <a href="https://twitter.com/itmedia_news/status/1003717142775152640?ref_src=twsrc%5Etfw">June 4, 2018</a></p></blockquote>
<p><script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<h2>まとめ</h2>
<div class="c_box intitle pink_box type_normal"><div class="box_title"><span class="span__box_title">まとめ</span></div>
<p>思ったより簡単に動きました！</p>
</div>
<p>&nbsp;</p>
<p>プログラミングの経験がない方は、これなら私でもできるのでは？と思われた方も多いのではないでしょうか？</p>
<p>プログラムを書くために必要なプログラム言語は、言語というだけあって、日本語や英語と変わりません。</p>
<p>日本語や英語はその言葉を母国語とする人とコミュニケーションをとるための手段であるように、プログラム言語もコンピュータとコミュニケーションを取るための手段に過ぎません。</p>
<p><span style="color: #ff0000;">プログラムコードの書き方がわからなければ、英語の書き取りのように他のコードを真似して書けば良いし、コードの意味が分からなかったり、適用すべきコードがわからなければ、英和辞典を使うようにリファレンスを参照すればよいのです。</span></p>
<p>上手な英語、下手な英語が存在するように、上手なプログラムコードはそれなりの知識がなければ書くことはできませんが、プログラムで食べていく事を考えていない人は、日曜プログラマーとして、コードを書いて動いたアプリに喜びを感じながら、思考を整理する訓練ができると思います。</p>
<p>&nbsp;</p>
<p>もし、本格的にプログラミング食でべていきたい場合は、TEACH ACADEMYの <a href="//af.moshimo.com/af/c/click?a_id=1085752&amp;p_id=1555&amp;pc_id=2816&amp;pl_id=22712&amp;guid=ON" target="_blank" rel="nofollow noopener">iPhoneアプリコース</a><img style="border: none;" src="//i.moshimo.com/af/i/impression?a_id=1085752&amp;p_id=1555&amp;pc_id=2816&amp;pl_id=22712" width="1" height="1" /> などのオンライン学習プログラムを使うことも、費用対効果的に検討対象に入れることをおすすめします。</p>
<a href="//af.moshimo.com/af/c/click?a_id=1085752&amp;p_id=1555&amp;pc_id=2816&amp;pl_id=22741&amp;url=https%3A%2F%2Ftechacademy.jp%2Fiphone-bootcamp%3Futm_source%3Dmoshimo%26utm_medium%3Daffiliate%26utm_campaign%3Dbannerad" target="_blank" rel="nofollow noopener"><img style="border: none;" src="https://i1.wp.com/image.moshimo.com/af-img/0866/000000022741.jpg?w=728&#038;ssl=1" data-recalc-dims="1" /></a><img style="border: none;" src="//i.moshimo.com/af/i/impression?a_id=1085752&amp;p_id=1555&amp;pc_id=2816&amp;pl_id=22741" width="1" height="1" />
<p>&nbsp;</p>
<p><span style="color: #ff0000;">2018/8/11 続編記事を投稿しました。</span></p>
<div class="related_article cf"><a href="https://nikuq299.com/programing/development_ios_app_3/"><figure class="eyecatch thum"><img width="486" height="290" src="https://i0.wp.com/nikuq299.com/wp-content/uploads/2018/08/eyecatch_20180811-e1534010782403.jpg?resize=486%2C290&amp;ssl=1" class="attachment-home-thum size-home-thum wp-post-image" alt="iOSアプリ 開発のコツ。" srcset="https://i0.wp.com/nikuq299.com/wp-content/uploads/2018/08/eyecatch_20180811-e1534010782403.jpg?resize=486%2C290&amp;ssl=1 486w, https://i0.wp.com/nikuq299.com/wp-content/uploads/2018/08/eyecatch_20180811-e1534010782403.jpg?zoom=2&amp;resize=486%2C290&amp;ssl=1 972w" sizes="(max-width: 486px) 100vw, 486px" data-attachment-id="1573" data-permalink="https://nikuq299.com/programing/development_ios_app_3/attachment/eyecatch_20180811/" data-orig-file="https://i0.wp.com/nikuq299.com/wp-content/uploads/2018/08/eyecatch_20180811-e1534010782403.jpg?fit=1400%2C588&amp;ssl=1" data-orig-size="1400,588" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="eyecatch_20180811" data-image-description="&lt;p&gt;iOSアプリ 開発のコツ。&lt;/p&gt;
" data-medium-file="https://i0.wp.com/nikuq299.com/wp-content/uploads/2018/08/eyecatch_20180811-e1534010782403.jpg?fit=300%2C126&amp;ssl=1" data-large-file="https://i0.wp.com/nikuq299.com/wp-content/uploads/2018/08/eyecatch_20180811-e1534010782403.jpg?fit=728%2C306&amp;ssl=1" /></figure><div class="meta inbox"><p class="ttl">iOSアプリ を作る上で知っておくと良いこと</p><span class="date gf">2018年8月12日</span></div></a></div>
<p>&nbsp;</p>
<p>それでは。ごきげんよう。</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>投稿 <a rel="nofollow" href="https://nikuq299.com/programing/development_ios_app_2/">playground でプログラムを動かしてみる</a> は <a rel="nofollow" href="https://nikuq299.com">肉球ログ</a> に最初に表示されました。</p>
]]></content:encoded>
							<wfw:commentRss>https://nikuq299.com/programing/development_ios_app_2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
						<post-id xmlns="com-wordpress:feed-additions:1">1519</post-id>	</item>
	</channel>
</rss>
