<?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>プログラミング &#8211; 肉球ログ</title>
	<atom:link href="https://nikuq299.com/category/programing/feed/" rel="self" type="application/rss+xml" />
	<link>https://nikuq299.com</link>
	<description>ノマドスキルを研磨中です。</description>
	<lastBuildDate>Wed, 15 Aug 2018 09:36:19 +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>プログラミング &#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>部品の使い方 を理解してマルチデバイスに対応する</title>
		<link>https://nikuq299.com/programing/development_ios_app_5/</link>
				<comments>https://nikuq299.com/programing/development_ios_app_5/#respond</comments>
				<pubDate>Wed, 15 Aug 2018 09:36:19 +0000</pubDate>
		<dc:creator><![CDATA[肉球]]></dc:creator>
				<category><![CDATA[プログラミング]]></category>
		<category><![CDATA[iPad]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Swift]]></category>
		<category><![CDATA[Xcode]]></category>

		<guid isPermaLink="false">https://nikuq299.com/?p=1631</guid>
				<description><![CDATA[<p>どうもこんばんは。 肉球 (@nikuq299com) です。 &#160; 先日の記事に続き、今回は実機で動かせるアプリの作成を行ってみます。 &#160; 今回の記事は5です。 iOSアプリ開発の前準備 Xcodeを...</p>
<p>投稿 <a rel="nofollow" href="https://nikuq299.com/programing/development_ios_app_5/">部品の使い方 を理解してマルチデバイスに対応する</a> は <a rel="nofollow" href="https://nikuq299.com">肉球ログ</a> に最初に表示されました。</p>
]]></description>
								<content:encoded><![CDATA[<p>どうもこんばんは。<br />
肉球 (<a href="https://twitter.com/nikuq299com">@nikuq299com</a>) です。</p>
<p>&nbsp;</p>
<p>先日の記事に続き、今回は実機で動かせるアプリの作成を行ってみます。</p>
<div class="related_article cf"><a href="https://nikuq299.com/programing/development_ios_app_4/"><figure class="eyecatch thum"><img width="486" height="290" src="https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/08/eyecatch_20180812-e1534066404730.jpg?resize=486%2C290&amp;ssl=1" class="attachment-home-thum size-home-thum wp-post-image" alt="地図アプリ をiPhoneで動かしてみる" srcset="https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/08/eyecatch_20180812-e1534066404730.jpg?zoom=2&amp;resize=486%2C290&amp;ssl=1 972w, https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/08/eyecatch_20180812-e1534066404730.jpg?zoom=3&amp;resize=486%2C290&amp;ssl=1 1458w" sizes="(max-width: 486px) 100vw, 486px" data-attachment-id="1584" data-permalink="https://nikuq299.com/programing/development_ios_app_4/attachment/eyecatch_20180812/" data-orig-file="https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/08/eyecatch_20180812-e1534066404730.jpg?fit=1200%2C570&amp;ssl=1" data-orig-size="1200,570" 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_20180812" data-image-description="&lt;p&gt;地図アプリ をiPhoneで動かしてみる&lt;/p&gt;
" data-medium-file="https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/08/eyecatch_20180812-e1534066404730.jpg?fit=300%2C143&amp;ssl=1" data-large-file="https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/08/eyecatch_20180812-e1534066404730.jpg?fit=728%2C346&amp;ssl=1" /></figure><div class="meta inbox"><p class="ttl">地図アプリ を自作してiPhoneで動かしてみる</p><span class="date gf">2018年8月14日</span></div></a></div>
<p>&nbsp;</p>
<p>今回の記事は5です。</p>
<ol>
<li>iOSアプリ開発の前準備</li>
<li>Xcodeを使って簡単なプログラムを動かしてみる</li>
<li>iOSアプリの基礎</li>
<li>地図を表示してみる</li>
<li><span style="color: #ff0000;">部品の使い方</span> (← 今回ココ)</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>部品の使い方 も、iOSアプリ開発の基礎です！</p>
</div>
<p>&nbsp;</p>
<p>部品の使い方 における大事なポイントは、<span style="color: #ff0000;">レイアウト</span>です。</p>
<p>開発者は、なぜレイアウトを意識しなければならないのかをこの記事で説明します。</p>
<p>&nbsp;</p>
<h2>部品の使い方</h2>
<div class="c_box intitle pink_box type_normal"><div class="box_title"><span class="span__box_title">ポイント2</span></div>
<p>大事なのはレイアウトをSwiftに任せること！</p>
</div>
<p>&nbsp;</p>
<h3>レイアウトを意識する理由</h3>
<p>レイアウトを意識する必要がある理由は、iPhone、iPadなどの複数機器に対してマルチデバイス対応するためです。</p>
<p>皆さんも御存知だと思いますが、iPhoneとiPadは画面の解像度が全く違います。</p>
<p>それどころか、iPhone、iPadなどの同一機器でも、リリースの世代に寄って解像度が違います。</p>
<p>&nbsp;</p>
<p>iOS、Mac、Windowsで使われる、マウスでカチカチ操作する<a href="https://ja.wikipedia.org/wiki/グラフィカルユーザインタフェース">GUI</a>アプリは、部品の配置を座標指定で行います。</p>
<p>iOSは、iPad、iPhoneなど、多くの画面サイズが存在するため、部品の座標を絶対値で決めてしまうと、利用するデバイスによって部品の配置が画面設計と異なってしまいます。</p>
<p>&nbsp;</p>
<p>下記の通りにテキストラベルを画面中央上部に設定したとしても、レイアウトを意識しないと、iPhoneとiPadでは下記の通り、表示結果が異なってしまいます。</p>
<p>&nbsp;</p>
<p style="text-align: center;"><strong>図1. Xcodeで部品の配置を中央上部に設計する</strong></p>
<a href="https://i0.wp.com/nikuq299.com/wp-content/uploads/2018/08/xcode-e1534317923737.jpg?ssl=1"><img data-attachment-id="1633" data-permalink="https://nikuq299.com/programing/development_ios_app_5/attachment/xcode/" data-orig-file="https://i0.wp.com/nikuq299.com/wp-content/uploads/2018/08/xcode-e1534317923737.jpg?fit=1000%2C687&amp;ssl=1" data-orig-size="1000,687" 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="xcode" data-image-description="&lt;p&gt;Xcodeで部品配置を設計する。&lt;/p&gt;
" data-medium-file="https://i0.wp.com/nikuq299.com/wp-content/uploads/2018/08/xcode-e1534317923737.jpg?fit=300%2C206&amp;ssl=1" data-large-file="https://i0.wp.com/nikuq299.com/wp-content/uploads/2018/08/xcode-e1534317923737.jpg?fit=728%2C500&amp;ssl=1" class="aligncenter size-large wp-image-1633" src="https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/08/xcode.jpg?resize=728%2C500&#038;ssl=1" alt="Xcodeで部品配置を設計する。" width="728" height="500" data-recalc-dims="1" /></a>
<p>&nbsp;</p>
<p style="text-align: center;"><strong>図2. 図1で設計した画面をiPhoneとiPadで表示する</strong></p>
<div class="column-wrap cf ">
<div class="d-1of2 t-1of2 m-all ">
<a href="https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/08/iPhone-e1534318104116.jpg?ssl=1"><img data-attachment-id="1634" data-permalink="https://nikuq299.com/programing/development_ios_app_5/attachment/iphone/" data-orig-file="https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/08/iPhone-e1534318104116.jpg?fit=508%2C1000&amp;ssl=1" data-orig-size="508,1000" 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="iPhone" data-image-description="&lt;p&gt;iPhoneでの表示結果。&lt;/p&gt;
" data-medium-file="https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/08/iPhone-e1534318104116.jpg?fit=152%2C300&amp;ssl=1" data-large-file="https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/08/iPhone-e1534318104116.jpg?fit=520%2C1024&amp;ssl=1" class="aligncenter size-large wp-image-1634" src="https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/08/iPhone.jpg?resize=520%2C1024&#038;ssl=1" alt="iPhoneでの表示結果。" width="520" height="1024" data-recalc-dims="1" /></a>
</div>
<div class="d-1of2 t-1of2 m-all ">
<a href="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/08/ipad-e1534318172332.jpg?ssl=1"><img data-attachment-id="1635" data-permalink="https://nikuq299.com/programing/development_ios_app_5/attachment/ipad/" data-orig-file="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/08/ipad-e1534318172332.jpg?fit=734%2C1000&amp;ssl=1" data-orig-size="734,1000" 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="ipad" data-image-description="&lt;p&gt;iPadでの表示結果。&lt;/p&gt;
" data-medium-file="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/08/ipad-e1534318172332.jpg?fit=220%2C300&amp;ssl=1" data-large-file="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/08/ipad-e1534318172332.jpg?fit=728%2C991&amp;ssl=1" class="aligncenter size-large wp-image-1635" src="https://i0.wp.com/nikuq299.com/wp-content/uploads/2018/08/ipad.jpg?resize=728%2C991&#038;ssl=1" alt="iPadでの表示結果。" width="728" height="991" data-recalc-dims="1" /></a>
</div>
</div>
<p>&nbsp;</p>
<h3>オートレイアウトを設定した場合の違い</h3>
<p>このような表示結果になった原因は、レイアウトを意識した画面設計を行わなかったからです。</p>
<p>オートレイアウトを設定しない場合、部品は画面左上を原点とした絶対座標で部品を配置しますが、オートレイアウトを設定した場合は、相対座標を設定することができます。</p>
<p>今回の例だと、テキスト中央部におけるX軸は最大値の1/2、Y軸は絶対値となるように設定しています。</p>
<p>&nbsp;</p>
<div class="column-wrap cf ">
<div class="d-1of2 t-1of2 m-all ">
<a href="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/08/disableautolayout-e1534321607470.jpg?ssl=1"><img data-attachment-id="1641" data-permalink="https://nikuq299.com/programing/development_ios_app_5/attachment/disableautolayout/" data-orig-file="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/08/disableautolayout-e1534321607470.jpg?fit=604%2C800&amp;ssl=1" data-orig-size="604,800" 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="disableautolayout" data-image-description="&lt;p&gt;オートレイアウトを設定しない場合は絶対座標に基づく部品配置を行う。&lt;/p&gt;
" data-medium-file="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/08/disableautolayout-e1534321607470.jpg?fit=226%2C300&amp;ssl=1" data-large-file="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/08/disableautolayout-e1534321607470.jpg?fit=604%2C800&amp;ssl=1" class="aligncenter size-full wp-image-1641" src="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/08/disableautolayout-e1534321607470.jpg?resize=604%2C800&#038;ssl=1" alt="オートレイアウトを設定しない場合は絶対座標に基づく部品配置を行う。" width="604" height="800" data-recalc-dims="1" /></a>
</div>
<div class="d-1of2 t-1of2 m-all ">
<a href="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/08/enableautolayout-e1534321659254.jpg?ssl=1"><img data-attachment-id="1642" data-permalink="https://nikuq299.com/programing/development_ios_app_5/attachment/enableautolayout/" data-orig-file="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/08/enableautolayout-e1534321659254.jpg?fit=618%2C800&amp;ssl=1" data-orig-size="618,800" 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="enableautolayout" data-image-description="&lt;p&gt;オートレイアウトを設定した場合は相対座標に基づく部品配置を行う。&lt;/p&gt;
" data-medium-file="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/08/enableautolayout-e1534321659254.jpg?fit=232%2C300&amp;ssl=1" data-large-file="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/08/enableautolayout-e1534321659254.jpg?fit=618%2C800&amp;ssl=1" class="aligncenter size-full wp-image-1642" src="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/08/enableautolayout-e1534321659254.jpg?resize=618%2C800&#038;ssl=1" alt="オートレイアウトを設定した場合は相対座標に基づく部品配置を行う。" width="618" height="800" data-recalc-dims="1" /></a>
</div>
</div>
<p>&nbsp;</p>
<p>&nbsp;</p>
<h3>レイアウトを設定する方法</h3>
<p>レイアウトを設定する方法は簡単です。</p>
<p>&nbsp;</p>
<p>「Resolve Auto Layout Issues」から、「Add Missing Constraints」を選択するだけです。</p>
<p>&nbsp;</p>
<a href="https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/08/Xcode_After-e1534318937335.jpg?ssl=1"><img data-attachment-id="1637" data-permalink="https://nikuq299.com/programing/development_ios_app_5/attachment/xcode_after/" data-orig-file="https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/08/Xcode_After-e1534318937335.jpg?fit=1000%2C563&amp;ssl=1" data-orig-size="1000,563" 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="Xcode_After" data-image-description="&lt;p&gt;オートレイアウトを設定する。&lt;/p&gt;
" data-medium-file="https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/08/Xcode_After-e1534318937335.jpg?fit=300%2C169&amp;ssl=1" data-large-file="https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/08/Xcode_After-e1534318937335.jpg?fit=728%2C410&amp;ssl=1" class="aligncenter size-large wp-image-1637" src="https://i0.wp.com/nikuq299.com/wp-content/uploads/2018/08/Xcode_After.jpg?resize=728%2C410&#038;ssl=1" alt="オートレイアウトを設定する。" width="728" height="410" data-recalc-dims="1" /></a>
<p>&nbsp;</p>
<p>オートレイアウトを設定すると、ドキュメントアウトライン上にConstraintsというグループができており、これがオートレイアウトにおける部品レイアウトの情報を格納しています。</p>
<a href="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/08/Xcode_After2-e1534319318941.jpg?ssl=1"><img data-attachment-id="1638" data-permalink="https://nikuq299.com/programing/development_ios_app_5/attachment/xcode_after2/" data-orig-file="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/08/Xcode_After2-e1534319318941.jpg?fit=1000%2C666&amp;ssl=1" data-orig-size="1000,666" 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="Xcode_After2" data-image-description="&lt;p&gt;オートレイアウト情報を作成する。&lt;/p&gt;
" data-medium-file="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/08/Xcode_After2-e1534319318941.jpg?fit=300%2C200&amp;ssl=1" data-large-file="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/08/Xcode_After2-e1534319318941.jpg?fit=728%2C485&amp;ssl=1" class="aligncenter size-large wp-image-1638" src="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/08/Xcode_After2.jpg?resize=728%2C485&#038;ssl=1" alt="オートレイアウト情報を作成する。" width="728" height="485" data-recalc-dims="1" /></a>
<p>&nbsp;</p>
<p>Constraintsにぶら下がる2つの要素は、上の縦線が入っているアイコンの要素をクリックするとX座標、横線が入っているアイコンの要素をクリックするとY座標に関するオートレイアウト情報を設定でき、メイン画面右上に入力欄を表示します。</p>
<div class="column-wrap cf ">
<div class="d-1of2 t-1of2 m-all ">
<a href="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/08/autolayoutx-e1534319746138.jpg?ssl=1"><img data-attachment-id="1639" data-permalink="https://nikuq299.com/programing/development_ios_app_5/attachment/autolayoutx/" data-orig-file="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/08/autolayoutx-e1534319746138.jpg?fit=496%2C600&amp;ssl=1" data-orig-size="496,600" 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="autolayoutx" data-image-description="&lt;p&gt;X座標を設定する。&lt;/p&gt;
" data-medium-file="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/08/autolayoutx-e1534319746138.jpg?fit=248%2C300&amp;ssl=1" data-large-file="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/08/autolayoutx-e1534319746138.jpg?fit=496%2C600&amp;ssl=1" class="aligncenter size-full wp-image-1639" src="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/08/autolayoutx-e1534319746138.jpg?resize=496%2C600&#038;ssl=1" alt="X座標を設定する。" width="496" height="600" data-recalc-dims="1" /></a>
</div>
<div class="d-1of2 t-1of2 m-all ">
<a href="https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/08/autolayouty.jpg?ssl=1"><img data-attachment-id="1640" data-permalink="https://nikuq299.com/programing/development_ios_app_5/attachment/autolayouty/" data-orig-file="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/08/autolayouty-e1534319779338.jpg?fit=494%2C600&amp;ssl=1" data-orig-size="494,600" 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="autolayouty" data-image-description="&lt;p&gt;Y座標を設定する。&lt;/p&gt;
" data-medium-file="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/08/autolayouty-e1534319779338.jpg?fit=247%2C300&amp;ssl=1" data-large-file="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/08/autolayouty-e1534319779338.jpg?fit=494%2C600&amp;ssl=1" class="aligncenter size-full wp-image-1640" src="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/08/autolayouty-e1534319779338.jpg?resize=494%2C600&#038;ssl=1" alt="Y座標を設定する。" width="494" height="600" data-recalc-dims="1" /></a>
</div>
</div>
<p>&nbsp;</p>
<p>設定値によって、どんな画面サイズでも、設計者の意図した場所に部品を配置することができるので、興味がある場合はリファレンスで設定可能な情報を調べてみてください。</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>部品の使い方も、Swiftへ任せることが大事！</p>
</div>
<p>&nbsp;</p>
<p>レイアウトを意識して画面を設計すれば、iPhoneとiPadのマルチデバイス対応ができますし、新型のiPhoneやiPadをリリースしても、アプリに大きな影響は与えません。</p>
<p>iPhoneXやホームボタンの廃止が噂されているiPadは、画面上部のノッチについて、Appleからデザインルールが出ていますが、大きな影響は出ないでしょう。</p>
<p>Swiftのアプリ開発環境は至れり尽くせりなので、初心者と共に、C++やJavaなど、旧言語でGUI開発経験のある方は、習得しやすいと思いますので、ぜひ挑戦してみてください。</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 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>それでは。ごきげんよう。</p>
<p>投稿 <a rel="nofollow" href="https://nikuq299.com/programing/development_ios_app_5/">部品の使い方 を理解してマルチデバイスに対応する</a> は <a rel="nofollow" href="https://nikuq299.com">肉球ログ</a> に最初に表示されました。</p>
]]></content:encoded>
							<wfw:commentRss>https://nikuq299.com/programing/development_ios_app_5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
						<post-id xmlns="com-wordpress:feed-additions:1">1631</post-id>	</item>
		<item>
		<title>地図アプリ を自作してiPhoneで動かしてみる</title>
		<link>https://nikuq299.com/programing/development_ios_app_4/</link>
				<comments>https://nikuq299.com/programing/development_ios_app_4/#respond</comments>
				<pubDate>Tue, 14 Aug 2018 14:19:40 +0000</pubDate>
		<dc:creator><![CDATA[肉球]]></dc:creator>
				<category><![CDATA[プログラミング]]></category>
		<category><![CDATA[iPad]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Swift]]></category>
		<category><![CDATA[Xcode]]></category>
		<category><![CDATA[マップ]]></category>

		<guid isPermaLink="false">https://nikuq299.com/?p=1583</guid>
				<description><![CDATA[<p>どうもこんばんは。 肉球 (@nikuq299com) です。 &#160; 先日の記事に続き、今回は実機で動かせるアプリの作成を行ってみます。 &#160; 今回の記事は4です  (順番を変えて「部品の使い方」は次回説...</p>
<p>投稿 <a rel="nofollow" href="https://nikuq299.com/programing/development_ios_app_4/">地図アプリ を自作してiPhoneで動かしてみる</a> は <a rel="nofollow" href="https://nikuq299.com">肉球ログ</a> に最初に表示されました。</p>
]]></description>
								<content:encoded><![CDATA[<p>どうもこんばんは。</p>
<p>肉球 (@nikuq299com) です。</p>
<p>&nbsp;</p>
<p>先日の記事に続き、今回は実機で動かせるアプリの作成を行ってみます。</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>今回の記事は4です  (順番を変えて「部品の使い方」は次回説明します) 。</p>
<p>今回の記事はスクロールが長いですが、ほとんどが画面のスクリーンショットなので、サクサク読めると思います。</p>
<p>また、当初に予定していた説明順ですが、「4. 部品の使い方」「5.地図を表示してみる」の順番を逆にします (部品の使い方は、簡単なサンプルアプリを作成してから説明したほうが分かりやすいと判断したため)。</p>
<ol>
<li>iOSアプリ開発の前準備</li>
<li>Xcodeを使って簡単なプログラムを動かしてみる</li>
<li>iOSアプリの基礎</li>
<li><span style="color: #ff0000;">地図を表示してみる</span> (← 今回ココ)</li>
<li><span style="color: #3366ff;">部品の使い方</span> (← 説明順番入れ替え)</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>プログラムコードを書かずにiPhoneで動くアプリを作ってみます！</p>
</div>
<p>&nbsp;</p>
<p>今回の地図アプリは、プログラムコードを１行も書かずに作成します。</p>
<p>機能はとてもシンプルですが、それでもコードを書かずにここまでのアプリを作れるという事を共有できればと考えています。</p>
<p>&nbsp;</p>
<h2>地図アプリ の作り方</h2>
<div class="c_box intitle pink_box type_normal"><div class="box_title"><span class="span__box_title">ポイント2</span></div>
<p>Xcodeを使ってアプリを作成する！</p>
</div>
<p>&nbsp;</p>
<h3>まずは下準備する</h3>
<p>Xcodeを起動すると下記の画面を表示するので、「Create a new Xcode project」をクリックして、新規プロジェクトを作成します。</p>
<a href="https://i0.wp.com/nikuq299.com/wp-content/uploads/2018/08/map1-e1534080257599.jpg?ssl=1"><img data-attachment-id="1587" data-permalink="https://nikuq299.com/programing/development_ios_app_4/attachment/map1/" data-orig-file="https://i0.wp.com/nikuq299.com/wp-content/uploads/2018/08/map1-e1534080257599.jpg?fit=1200%2C703&amp;ssl=1" data-orig-size="1200,703" 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="map1" data-image-description="&lt;p&gt;Xcodeでプロジェクトを新規作成する。&lt;/p&gt;
" data-medium-file="https://i0.wp.com/nikuq299.com/wp-content/uploads/2018/08/map1-e1534080257599.jpg?fit=300%2C176&amp;ssl=1" data-large-file="https://i0.wp.com/nikuq299.com/wp-content/uploads/2018/08/map1-e1534080257599.jpg?fit=728%2C427&amp;ssl=1" class="aligncenter size-large wp-image-1587" src="https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/08/map1.jpg?resize=728%2C427&#038;ssl=1" alt="Xcodeでプロジェクトを新規作成する。" width="728" height="427" data-recalc-dims="1" /></a>
<p>&nbsp;</p>
<p>続いて、プロジェクトのテンプレートを選ぶように言われますので、「iOS」の「Single View App」を選択して、右下のNextボタンをクリックしてください。</p>
<a href="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/08/map2-e1534080365865.jpg?ssl=1"><img data-attachment-id="1588" data-permalink="https://nikuq299.com/programing/development_ios_app_4/attachment/map2/" data-orig-file="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/08/map2-e1534080365865.jpg?fit=1200%2C865&amp;ssl=1" data-orig-size="1200,865" 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="map2" data-image-description="&lt;p&gt;アプリのテンプレートを選ぶ。&lt;/p&gt;
" data-medium-file="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/08/map2-e1534080365865.jpg?fit=300%2C216&amp;ssl=1" data-large-file="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/08/map2-e1534080365865.jpg?fit=728%2C525&amp;ssl=1" class="aligncenter size-large wp-image-1588" src="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/08/map2.jpg?resize=728%2C525&#038;ssl=1" alt="アプリのテンプレートを選ぶ。" width="728" height="525" data-recalc-dims="1" /></a>
<p>&nbsp;</p>
<p>開発に必要な情報を入力してください。詳細は表１を参照してください。</p>
<a href="https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/08/map3-e1534080592201.jpg?ssl=1"><img data-attachment-id="1589" data-permalink="https://nikuq299.com/programing/development_ios_app_4/attachment/map3/" data-orig-file="https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/08/map3-e1534080592201.jpg?fit=1200%2C865&amp;ssl=1" data-orig-size="1200,865" 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="map3" data-image-description="&lt;p&gt;開発に必要な情報を入力する。&lt;/p&gt;
" data-medium-file="https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/08/map3-e1534080592201.jpg?fit=300%2C216&amp;ssl=1" data-large-file="https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/08/map3-e1534080592201.jpg?fit=728%2C525&amp;ssl=1" class="aligncenter size-large wp-image-1589" src="https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/08/map3.jpg?resize=728%2C525&#038;ssl=1" alt="開発に必要な情報を入力する。" width="728" height="525" data-recalc-dims="1" /></a>
<p>&nbsp;</p>
<p style="text-align: center;"><strong>表1. 各項目の設定値</strong></p>

<table id="tablepress-18" class="tablepress tablepress-id-18">
<thead>
<tr class="row-1 odd">
	<th class="column-1">項目名</th><th class="column-2">設定値</th><th class="column-3">備考</th>
</tr>
</thead>
<tbody class="row-hover">
<tr class="row-2 even">
	<td class="column-1">Product Name</td><td class="column-2">SampleMap</td><td class="column-3">アプリ名。ここではSampleMapとしています。</td>
</tr>
<tr class="row-3 odd">
	<td class="column-1">Team</td><td class="column-2">自身のApple ID</td><td class="column-3">はじめてXcodeを立ち上げた時は、「Add account」という表示が出るので、クリックしてApple IDを登録してください。</td>
</tr>
<tr class="row-4 even">
	<td class="column-1">Organization Name</td><td class="column-2">自身の名前</td><td class="column-3">自身の組織名、または個人名を入力してください。</td>
</tr>
<tr class="row-5 odd">
	<td class="column-1">Organization Identifier</td><td class="column-2">独自ドメイン名、またはメールアドレス (単語を逆に並べる)</td><td class="column-3">世界で1つとなるIDを設定してください。独自ドメインを持っていない場合は、自身のメールアドレスなら必ずユニークになります。</td>
</tr>
<tr class="row-6 even">
	<td class="column-1">Bundle Identifier</td><td class="column-2">識別ID</td><td class="column-3">世界で1つとなるアプリの識別IDを設定する。Organization Identifier + Product Nameを自動で設定してくれる。</td>
</tr>
<tr class="row-7 odd">
	<td class="column-1">Language</td><td class="column-2">Swift</td><td class="column-3">プログラム言語はSwiftを選択する。3つのチェックボックスはサンプルで使わないので無視して良い。</td>
</tr>
</tbody>
</table>
<!-- #tablepress-18 from cache -->
<p>&nbsp;</p>
<p>次に、プロジェクトを保存する場所を指定してください。</p>
<a href="https://i0.wp.com/nikuq299.com/wp-content/uploads/2018/08/map4-e1534081428320.jpg?ssl=1"><img data-attachment-id="1593" data-permalink="https://nikuq299.com/programing/development_ios_app_4/attachment/map4/" data-orig-file="https://i0.wp.com/nikuq299.com/wp-content/uploads/2018/08/map4-e1534081428320.jpg?fit=1200%2C614&amp;ssl=1" data-orig-size="1200,614" 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="map4" data-image-description="&lt;p&gt;プロジェクトの保存場所を設定する。&lt;/p&gt;
" data-medium-file="https://i0.wp.com/nikuq299.com/wp-content/uploads/2018/08/map4-e1534081428320.jpg?fit=300%2C153&amp;ssl=1" data-large-file="https://i0.wp.com/nikuq299.com/wp-content/uploads/2018/08/map4-e1534081428320.jpg?fit=728%2C373&amp;ssl=1" class="aligncenter size-large wp-image-1593" src="https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/08/map4.jpg?resize=728%2C373&#038;ssl=1" alt="プロジェクトの保存場所を設定する。" width="728" height="373" data-recalc-dims="1" /></a>
<p>&nbsp;</p>
<h3>地図アプリを作り込む</h3>
<p>この画面には、ここまでに設定した内容を表示しています。</p>
<p>続いて、地図部品を使うために、画面中央下にある、「Linked Frameworks and Libraries」欄の「+」をクリックします。</p>
<a href="https://i0.wp.com/nikuq299.com/wp-content/uploads/2018/08/map5-e1534081668695.jpg?ssl=1"><img data-attachment-id="1594" data-permalink="https://nikuq299.com/programing/development_ios_app_4/attachment/map5/" data-orig-file="https://i0.wp.com/nikuq299.com/wp-content/uploads/2018/08/map5-e1534081668695.jpg?fit=1400%2C1195&amp;ssl=1" data-orig-size="1400,1195" 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="map5" data-image-description="&lt;p&gt;設定内容の確認と、地図部品を使う準備をする。&lt;/p&gt;
" data-medium-file="https://i0.wp.com/nikuq299.com/wp-content/uploads/2018/08/map5-e1534081668695.jpg?fit=300%2C256&amp;ssl=1" data-large-file="https://i0.wp.com/nikuq299.com/wp-content/uploads/2018/08/map5-e1534081668695.jpg?fit=728%2C621&amp;ssl=1" class="aligncenter size-large wp-image-1594" src="https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/08/map5.jpg?resize=728%2C621&#038;ssl=1" alt="設定内容の確認と、地図部品を使う準備をする。" width="728" height="621" data-recalc-dims="1" /></a>
<p>&nbsp;</p>
<p>MapKit.frameworkを選択して、「Add」ボタンをクリックする。</p>
<a href="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/08/map6.jpg?ssl=1"><img data-attachment-id="1595" data-permalink="https://nikuq299.com/programing/development_ios_app_4/attachment/map6/" data-orig-file="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/08/map6.jpg?fit=800%2C920&amp;ssl=1" data-orig-size="800,920" 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="map6" data-image-description="&lt;p&gt;MapKitを取り込む。&lt;/p&gt;
" data-medium-file="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/08/map6.jpg?fit=261%2C300&amp;ssl=1" data-large-file="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/08/map6.jpg?fit=728%2C837&amp;ssl=1" class="aligncenter size-full wp-image-1595" src="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/08/map6.jpg?resize=728%2C837&#038;ssl=1" alt="MapKitを取り込む。" width="728" height="837" srcset="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/08/map6.jpg?w=800&amp;ssl=1 800w, https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/08/map6.jpg?resize=261%2C300&amp;ssl=1 261w, https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/08/map6.jpg?resize=768%2C883&amp;ssl=1 768w" sizes="(max-width: 728px) 100vw, 728px" data-recalc-dims="1" /></a>
<p>&nbsp;</p>
<p>メインの画面に戻るので、先程「+」ボタンをクリックしたLinked Frameworks and LibrariesにMapKit.frameworkを表示していればOKです。</p>
<a href="https://i0.wp.com/nikuq299.com/wp-content/uploads/2018/08/map7-e1534081910982.jpg?ssl=1"><img data-attachment-id="1596" data-permalink="https://nikuq299.com/programing/development_ios_app_4/attachment/map7/" data-orig-file="https://i0.wp.com/nikuq299.com/wp-content/uploads/2018/08/map7-e1534081910982.jpg?fit=1200%2C286&amp;ssl=1" data-orig-size="1200,286" 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="map7" data-image-description="&lt;p&gt;Linked Frameworks and LibrariesにMapkitが存在することを確認する。&lt;/p&gt;
" data-medium-file="https://i0.wp.com/nikuq299.com/wp-content/uploads/2018/08/map7-e1534081910982.jpg?fit=300%2C71&amp;ssl=1" data-large-file="https://i0.wp.com/nikuq299.com/wp-content/uploads/2018/08/map7-e1534081910982.jpg?fit=728%2C173&amp;ssl=1" class="aligncenter size-large wp-image-1596" src="https://i0.wp.com/nikuq299.com/wp-content/uploads/2018/08/map7.jpg?resize=728%2C173&#038;ssl=1" alt="Linked Frameworks and LibrariesにMapkitが存在することを確認する。" width="728" height="173" data-recalc-dims="1" /></a>
<p>&nbsp;</p>
<p>いよいよ、開発に入ります。</p>
<p>画面左側にある「Main.storyboard」を選択すると、画面中央にViewControllerという矩形を表示します。</p>
<p>この矩形が画面レイアウトなので、ココに部品を貼り付けていきます。</p>
<p>画面右側下にあるリストから、「Map Kit View」(以降、地図部品) を画面にドラッグ&amp;ドロップしてください。</p>
<p>この時、配置する部品が中央に来るように、画面に十字の破線が出たところで部品をドロップしてください。</p>
<a href="https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/08/map8-e1534082086663.jpg?ssl=1"><img data-attachment-id="1597" data-permalink="https://nikuq299.com/programing/development_ios_app_4/attachment/map8/" data-orig-file="https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/08/map8-e1534082086663.jpg?fit=1400%2C1191&amp;ssl=1" data-orig-size="1400,1191" 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="map8" data-image-description="&lt;p&gt;地図部品を画面に登録する。&lt;/p&gt;
" data-medium-file="https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/08/map8-e1534082086663.jpg?fit=300%2C255&amp;ssl=1" data-large-file="https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/08/map8-e1534082086663.jpg?fit=728%2C619&amp;ssl=1" class="aligncenter size-large wp-image-1597" src="https://i0.wp.com/nikuq299.com/wp-content/uploads/2018/08/map8.jpg?resize=728%2C619&#038;ssl=1" alt="地図部品を画面に登録する。" width="728" height="619" data-recalc-dims="1" /></a>
<p>&nbsp;</p>
<p>画面レイアウト上にドロップした地図部品の四隅をドラッグ&amp;ドロップして、画面レイアウトいっぱいに引き伸ばしてください。</p>
<a href="https://i0.wp.com/nikuq299.com/wp-content/uploads/2018/08/map9-e1534082317776.jpg?ssl=1"><img data-attachment-id="1598" data-permalink="https://nikuq299.com/programing/development_ios_app_4/attachment/map9/" data-orig-file="https://i0.wp.com/nikuq299.com/wp-content/uploads/2018/08/map9-e1534082317776.jpg?fit=1000%2C1515&amp;ssl=1" data-orig-size="1000,1515" 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="map9" data-image-description="&lt;p&gt;画面に配置した地図部品を画面いっぱいに引き伸ばす。&lt;/p&gt;
" data-medium-file="https://i0.wp.com/nikuq299.com/wp-content/uploads/2018/08/map9-e1534082317776.jpg?fit=198%2C300&amp;ssl=1" data-large-file="https://i0.wp.com/nikuq299.com/wp-content/uploads/2018/08/map9-e1534082317776.jpg?fit=676%2C1024&amp;ssl=1" class="aligncenter size-large wp-image-1598" src="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/08/map9.jpg?resize=676%2C1024&#038;ssl=1" alt="画面に配置した地図部品を画面いっぱいに引き伸ばす。" width="676" height="1024" data-recalc-dims="1" /></a>
<p>&nbsp;</p>
<h3>アプリを実機で確認する</h3>
<p>これでアプリの開発は終了なので、続いて、実機で確認を行います。</p>
<p>メイン画面左上にある停止ボタンの右側をクリックすると、実機、またはシミュレータを選択できます。</p>
<a href="https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/08/map10-e1534089747301.jpg?ssl=1"><img data-attachment-id="1599" data-permalink="https://nikuq299.com/programing/development_ios_app_4/attachment/map10/" data-orig-file="https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/08/map10-e1534089747301.jpg?fit=1200%2C475&amp;ssl=1" data-orig-size="1200,475" 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="map10" data-image-description="&lt;p&gt;確認端末を選択する。&lt;/p&gt;
" data-medium-file="https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/08/map10-e1534089747301.jpg?fit=300%2C119&amp;ssl=1" data-large-file="https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/08/map10-e1534089747301.jpg?fit=728%2C288&amp;ssl=1" class="aligncenter size-large wp-image-1599" src="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/08/map10.jpg?resize=728%2C288&#038;ssl=1" alt="確認端末を選択する。" width="728" height="288" data-recalc-dims="1" /></a>
<p>&nbsp;</p>
<p>そうすると、実機とシミュレータから確認対象とする端末を選べるので、好きな端末を選びます。</p>
<p>一番上のDeviceに乗っている端末が実機です。</p>
<a href="https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/08/map11-e1534089862159.jpg?ssl=1"><img data-attachment-id="1600" data-permalink="https://nikuq299.com/programing/development_ios_app_4/attachment/map11/" data-orig-file="https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/08/map11-e1534089862159.jpg?fit=500%2C928&amp;ssl=1" data-orig-size="500,928" 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="map11" data-image-description="&lt;p&gt;端末を選択する。&lt;/p&gt;
" data-medium-file="https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/08/map11-e1534089862159.jpg?fit=162%2C300&amp;ssl=1" data-large-file="https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/08/map11-e1534089862159.jpg?fit=552%2C1024&amp;ssl=1" class="aligncenter size-large wp-image-1600" src="https://i0.wp.com/nikuq299.com/wp-content/uploads/2018/08/map11.jpg?resize=552%2C1024&#038;ssl=1" alt="端末を選択する。" width="552" height="1024" data-recalc-dims="1" /></a>
<p>&nbsp;</p>
<p>実行対象の機器を選定したら、メイン画面左上の再生ボタンをクリックしてください。</p>
<a href="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/08/map12.jpg?ssl=1"><img data-attachment-id="1602" data-permalink="https://nikuq299.com/programing/development_ios_app_4/attachment/map12/" data-orig-file="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/08/map12.jpg?fit=1120%2C346&amp;ssl=1" data-orig-size="1120,346" 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="map12" data-image-description="" data-medium-file="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/08/map12.jpg?fit=300%2C93&amp;ssl=1" data-large-file="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/08/map12.jpg?fit=728%2C225&amp;ssl=1" class="aligncenter size-large wp-image-1602" src="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/08/map12.jpg?resize=728%2C225&#038;ssl=1" alt="アプリを実行する。" width="728" height="225" srcset="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/08/map12.jpg?resize=1024%2C316&amp;ssl=1 1024w, https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/08/map12.jpg?resize=300%2C93&amp;ssl=1 300w, https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/08/map12.jpg?resize=768%2C237&amp;ssl=1 768w, https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/08/map12.jpg?w=1120&amp;ssl=1 1120w" sizes="(max-width: 728px) 100vw, 728px" data-recalc-dims="1" /></a>
<p>&nbsp;</p>
<h3>実機の設定を行う</h3>
<p>はじめてiOSアプリをXcodeからインストールする場合は、「信頼されていないデベロッパ」という表示が出て、アプリを実行できません。</p>
<p>これは、初期設定のiOSが正規のルート (App Store) からのみのアプリインストールを許可する設定になっているためです。</p>
<a href="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/08/IMG_0865-e1534256323446.jpg?ssl=1"><img data-attachment-id="1625" data-permalink="https://nikuq299.com/programing/development_ios_app_4/attachment/img_0865/" data-orig-file="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/08/IMG_0865-e1534256323446.jpg?fit=369%2C800&amp;ssl=1" data-orig-size="369,800" 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="IMG_0865" data-image-description="&lt;p&gt;自作アプリを稼働させるため、セキュリティ設定を変更する。&lt;/p&gt;
" data-medium-file="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/08/IMG_0865-e1534256323446.jpg?fit=139%2C300&amp;ssl=1" data-large-file="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/08/IMG_0865-e1534256323446.jpg?fit=473%2C1024&amp;ssl=1" class="aligncenter size-large wp-image-1625" src="https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/08/IMG_0865.jpg?resize=473%2C1024&#038;ssl=1" alt="自作アプリを稼働させるため、セキュリティ設定を変更する。" width="473" height="1024" data-recalc-dims="1" /></a>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>自作したアプリを稼働させるためには、設定の「一般」&gt;「プロファイルとデバイス管理」&gt;「Apple ID」の順でタップします。</p>
<p>&nbsp;</p>
<div class="column-wrap cf ">
<div class="d-1of3 t-1of3 m-all">
<a href="https://i0.wp.com/nikuq299.com/wp-content/uploads/2018/08/IMG_0854-e1534251580343.jpg?ssl=1"><img data-attachment-id="1608" data-permalink="https://nikuq299.com/programing/development_ios_app_4/attachment/img_0854/" data-orig-file="https://i0.wp.com/nikuq299.com/wp-content/uploads/2018/08/IMG_0854-e1534251580343.jpg?fit=369%2C800&amp;ssl=1" data-orig-size="369,800" 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="IMG_0854" data-image-description="&lt;p&gt;自作アプリを稼働させるため、セキュリティ設定を変更する。&lt;/p&gt;
" data-medium-file="https://i0.wp.com/nikuq299.com/wp-content/uploads/2018/08/IMG_0854-e1534251580343.jpg?fit=139%2C300&amp;ssl=1" data-large-file="https://i0.wp.com/nikuq299.com/wp-content/uploads/2018/08/IMG_0854-e1534251580343.jpg?fit=473%2C1024&amp;ssl=1" class="aligncenter size-large wp-image-1608" src="https://i0.wp.com/nikuq299.com/wp-content/uploads/2018/08/IMG_0854.jpg?resize=473%2C1024&#038;ssl=1" alt="自作アプリを稼働させるため、セキュリティ設定を変更する。" width="473" height="1024" data-recalc-dims="1" /></a>
</div>
<div class="d-1of3 t-1of3 m-all">
<a href="https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/08/IMG_0855-e1534251692339.jpg?ssl=1"><img data-attachment-id="1609" data-permalink="https://nikuq299.com/programing/development_ios_app_4/attachment/img_0855/" data-orig-file="https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/08/IMG_0855-e1534251692339.jpg?fit=369%2C800&amp;ssl=1" data-orig-size="369,800" 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="IMG_0855" data-image-description="&lt;p&gt;自作アプリを稼働させるため、セキュリティ設定を変更する。&lt;/p&gt;
" data-medium-file="https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/08/IMG_0855-e1534251692339.jpg?fit=139%2C300&amp;ssl=1" data-large-file="https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/08/IMG_0855-e1534251692339.jpg?fit=473%2C1024&amp;ssl=1" class="aligncenter size-large wp-image-1609" src="https://i0.wp.com/nikuq299.com/wp-content/uploads/2018/08/IMG_0855.jpg?resize=473%2C1024&#038;ssl=1" alt="自作アプリを稼働させるため、セキュリティ設定を変更する。" width="473" height="1024" data-recalc-dims="1" /></a>
</div>
<div class="d-1of3 t-1of3 m-all">
<a href="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/08/IMG_0856.jpg?ssl=1"><img data-attachment-id="1610" data-permalink="https://nikuq299.com/programing/development_ios_app_4/attachment/img_0856/" data-orig-file="https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/08/IMG_0856-e1534251741670.jpg?fit=369%2C800&amp;ssl=1" data-orig-size="369,800" 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="IMG_0856" data-image-description="&lt;p&gt;自作アプリを稼働させるため、セキュリティ設定を変更する。&lt;/p&gt;
" data-medium-file="https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/08/IMG_0856-e1534251741670.jpg?fit=139%2C300&amp;ssl=1" data-large-file="https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/08/IMG_0856-e1534251741670.jpg?fit=473%2C1024&amp;ssl=1" class="aligncenter size-large wp-image-1610" src="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/08/IMG_0856.jpg?resize=473%2C1024&#038;ssl=1" alt="自作アプリを稼働させるため、セキュリティ設定を変更する。" width="473" height="1024" data-recalc-dims="1" /></a>
</div>
</div>
<p>&nbsp;</p>
<p>Xcodeに登録したApple IDを信頼するよう、「”Apple ID”を信頼」をタップしてください。</p>
<a href="https://i0.wp.com/nikuq299.com/wp-content/uploads/2018/08/IMG_0857-e1534252344645.jpg?ssl=1"><img data-attachment-id="1614" data-permalink="https://nikuq299.com/programing/development_ios_app_4/attachment/img_0857/" data-orig-file="https://i0.wp.com/nikuq299.com/wp-content/uploads/2018/08/IMG_0857-e1534252344645.jpg?fit=369%2C800&amp;ssl=1" data-orig-size="369,800" 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="IMG_0857" data-image-description="&lt;p&gt;自作アプリを稼働させるため、セキュリティ設定を変更する。&lt;/p&gt;
" data-medium-file="https://i0.wp.com/nikuq299.com/wp-content/uploads/2018/08/IMG_0857-e1534252344645.jpg?fit=139%2C300&amp;ssl=1" data-large-file="https://i0.wp.com/nikuq299.com/wp-content/uploads/2018/08/IMG_0857-e1534252344645.jpg?fit=473%2C1024&amp;ssl=1" class="aligncenter size-large wp-image-1614" src="https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/08/IMG_0857.jpg?resize=473%2C1024&#038;ssl=1" alt="自作アプリを稼働させるため、セキュリティ設定を変更する。" width="473" height="1024" data-recalc-dims="1" /></a>
<p>&nbsp;</p>
<p>ポップアップ画面で再度Apple IDを信頼してよいか確認されますので、「信頼」をタップしてください。</p>
<a href="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/08/IMG_0858-e1534252461970.jpg?ssl=1"><img data-attachment-id="1615" data-permalink="https://nikuq299.com/programing/development_ios_app_4/attachment/img_0858/" data-orig-file="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/08/IMG_0858-e1534252461970.jpg?fit=369%2C800&amp;ssl=1" data-orig-size="369,800" 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="IMG_0858" data-image-description="&lt;p&gt;ポップアップ画面の「信頼」をタップする。&lt;/p&gt;
" data-medium-file="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/08/IMG_0858-e1534252461970.jpg?fit=139%2C300&amp;ssl=1" data-large-file="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/08/IMG_0858-e1534252461970.jpg?fit=473%2C1024&amp;ssl=1" class="aligncenter size-large wp-image-1615" src="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/08/IMG_0858.jpg?resize=473%2C1024&#038;ssl=1" alt="ポップアップ画面の「信頼」をタップする。" width="473" height="1024" data-recalc-dims="1" /></a>
<p>&nbsp;</p>
<p>SampleMapが「検証済み」と表示していれば、アプリを稼働することができます。</p>
<a href="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/08/IMG_0860-e1534252597550.jpg?ssl=1"><img data-attachment-id="1616" data-permalink="https://nikuq299.com/programing/development_ios_app_4/attachment/img_0860/" data-orig-file="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/08/IMG_0860-e1534252597550.jpg?fit=369%2C800&amp;ssl=1" data-orig-size="369,800" 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="IMG_0860" data-image-description="&lt;p&gt;SapleMapが信頼済みとなっていることを確認する。&lt;/p&gt;
" data-medium-file="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/08/IMG_0860-e1534252597550.jpg?fit=139%2C300&amp;ssl=1" data-large-file="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/08/IMG_0860-e1534252597550.jpg?fit=473%2C1024&amp;ssl=1" class="aligncenter wp-image-1616 size-large" src="https://i0.wp.com/nikuq299.com/wp-content/uploads/2018/08/IMG_0860.jpg?resize=473%2C1024&#038;ssl=1" alt="SapleMapが検証済みとなっていることを確認する。" width="473" height="1024" data-recalc-dims="1" /></a>
<p>&nbsp;</p>
<p>ホーム画面に戻り、改めてSampleMapアイコンをタップしてください。</p>
<a href="https://i0.wp.com/nikuq299.com/wp-content/uploads/2018/08/IMG_0861-e1534252714905.jpg?ssl=1"><img data-attachment-id="1617" data-permalink="https://nikuq299.com/programing/development_ios_app_4/attachment/img_0861/" data-orig-file="https://i0.wp.com/nikuq299.com/wp-content/uploads/2018/08/IMG_0861-e1534252714905.jpg?fit=369%2C800&amp;ssl=1" data-orig-size="369,800" 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="IMG_0861" data-image-description="&lt;p&gt;改めて、SampleMapのアイコンをタップする。&lt;/p&gt;
" data-medium-file="https://i0.wp.com/nikuq299.com/wp-content/uploads/2018/08/IMG_0861-e1534252714905.jpg?fit=139%2C300&amp;ssl=1" data-large-file="https://i0.wp.com/nikuq299.com/wp-content/uploads/2018/08/IMG_0861-e1534252714905.jpg?fit=473%2C1024&amp;ssl=1" class="aligncenter size-large wp-image-1617" src="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/08/IMG_0861.jpg?resize=473%2C1024&#038;ssl=1" alt="改めて、SampleMapのアイコンをタップする。" width="473" height="1024" data-recalc-dims="1" /></a>
<p>&nbsp;</p>
<p>Apple のマップアプリと同じ地図を表示すれば、アプリは正しく稼働しています。</p>
<a href="https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/08/IMG_0862-e1534252798635.jpg?ssl=1"><img data-attachment-id="1618" data-permalink="https://nikuq299.com/programing/development_ios_app_4/attachment/img_0862/" data-orig-file="https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/08/IMG_0862-e1534252798635.jpg?fit=369%2C800&amp;ssl=1" data-orig-size="369,800" 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="IMG_0862" data-image-description="&lt;p&gt;地図を表示すれば、正常可動しています。&lt;/p&gt;
" data-medium-file="https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/08/IMG_0862-e1534252798635.jpg?fit=139%2C300&amp;ssl=1" data-large-file="https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/08/IMG_0862-e1534252798635.jpg?fit=473%2C1024&amp;ssl=1" class="aligncenter size-large wp-image-1618" src="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/08/IMG_0862.jpg?resize=473%2C1024&#038;ssl=1" alt="地図を表示すれば、正常可動しています。" width="473" height="1024" data-recalc-dims="1" /></a>
<p>&nbsp;</p>
<p>ピンチアウト、ピンチインもできます。</p>
<div class="column-wrap cf ">
<div class="d-1of2 t-1of2 m-all ">
<a href="https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/08/IMG_0863-e1534255153103.jpg?ssl=1"><img data-attachment-id="1619" data-permalink="https://nikuq299.com/programing/development_ios_app_4/attachment/img_0863/" data-orig-file="https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/08/IMG_0863-e1534255153103.jpg?fit=369%2C800&amp;ssl=1" data-orig-size="369,800" 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="IMG_0863" data-image-description="&lt;p&gt;マップをピンチアウトする。&lt;/p&gt;
" data-medium-file="https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/08/IMG_0863-e1534255153103.jpg?fit=139%2C300&amp;ssl=1" data-large-file="https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/08/IMG_0863-e1534255153103.jpg?fit=473%2C1024&amp;ssl=1" class="aligncenter size-large wp-image-1619" src="https://i0.wp.com/nikuq299.com/wp-content/uploads/2018/08/IMG_0863.jpg?resize=473%2C1024&#038;ssl=1" alt="マップをピンチアウトする。" width="473" height="1024" data-recalc-dims="1" /></a>
</div>
<div class="d-1of2 t-1of2 m-all ">
<a href="https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/08/IMG_0864-e1534255183414.jpg?ssl=1"><img data-attachment-id="1620" data-permalink="https://nikuq299.com/programing/development_ios_app_4/attachment/img_0864/" data-orig-file="https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/08/IMG_0864-e1534255183414.jpg?fit=369%2C800&amp;ssl=1" data-orig-size="369,800" 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="IMG_0864" data-image-description="&lt;p&gt;マップをピンチインする。&lt;/p&gt;
" data-medium-file="https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/08/IMG_0864-e1534255183414.jpg?fit=139%2C300&amp;ssl=1" data-large-file="https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/08/IMG_0864-e1534255183414.jpg?fit=473%2C1024&amp;ssl=1" class="aligncenter size-large wp-image-1620" src="https://i0.wp.com/nikuq299.com/wp-content/uploads/2018/08/IMG_0864.jpg?resize=473%2C1024&#038;ssl=1" alt="マップをピンチインする。" width="473" height="1024" data-recalc-dims="1" /></a>
</div>
</div>
<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>iOSのアプリを部品の切り貼りだけで作れました！</p>
</div>
<p>今回は地図アプリを作成してみましたが、シンプルなアプリであれば、今回のようにプログラムコードを１行も書かなくても作成できました。</p>
<p>また、今回作成したXcodeプロジェクトはGitHubに<a href="https://github.com/nikuq299/SampleMap">SampleMap</a>というリポジトリ登録していますので、時間がない方はGitHubからプロジェクトをダウンロードして動作確認をしてみてください。</p>
<p>&nbsp;</p>
<p>位置情報など、純正のマップアプリの機能を使いたい場合は、これらの部品もMapKitに組み込まれていますので、調べた上で使ってみてください。</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 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>
<p>&nbsp;<br />
<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" /><br />
&nbsp;</p>
<p>それでは。ごきげんよう。</p>
<p>&nbsp;</p>
<p>投稿 <a rel="nofollow" href="https://nikuq299.com/programing/development_ios_app_4/">地図アプリ を自作してiPhoneで動かしてみる</a> は <a rel="nofollow" href="https://nikuq299.com">肉球ログ</a> に最初に表示されました。</p>
]]></content:encoded>
							<wfw:commentRss>https://nikuq299.com/programing/development_ios_app_4/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
						<post-id xmlns="com-wordpress:feed-additions:1">1583</post-id>	</item>
		<item>
		<title>iOSアプリ を作る上で知っておくと良いこと</title>
		<link>https://nikuq299.com/programing/development_ios_app_3/</link>
				<comments>https://nikuq299.com/programing/development_ios_app_3/#respond</comments>
				<pubDate>Sat, 11 Aug 2018 18:10:03 +0000</pubDate>
		<dc:creator><![CDATA[肉球]]></dc:creator>
				<category><![CDATA[プログラミング]]></category>
		<category><![CDATA[iPad]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Swift]]></category>
		<category><![CDATA[Xcode]]></category>

		<guid isPermaLink="false">https://nikuq299.com/?p=1551</guid>
				<description><![CDATA[<p>どうもこんばんは。 肉球 (@nikuq299com) です。 &#160; 前回の投稿ではplaygroundを使ってプログラムを動かしてみましたので、これから実際に iPhone で動くアプリを作ってみたいと思います...</p>
<p>投稿 <a rel="nofollow" href="https://nikuq299.com/programing/development_ios_app_3/">iOSアプリ を作る上で知っておくと良いこと</a> は <a rel="nofollow" href="https://nikuq299.com">肉球ログ</a> に最初に表示されました。</p>
]]></description>
								<content:encoded><![CDATA[<p>どうもこんばんは。</p>
<p>肉球 (<a href="https://twitter.com/nikuq299com">@nikuq299com</a>) です。</p>
<p>&nbsp;</p>
<p>前回の投稿ではplaygroundを使ってプログラムを動かしてみましたので、これから実際に iPhone で動くアプリを作ってみたいと思います。</p>
<p>ただ、その前に少しだけプログラムに関する説明をします。</p>
<div class="related_article cf"><a href="https://nikuq299.com/programing/development_ios_app_2/"><figure class="eyecatch thum"><img width="486" height="290" src="https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/08/eyecatch_20180810-e1533893062958.jpg?resize=486%2C290&amp;ssl=1" class="attachment-home-thum size-home-thum wp-post-image" alt="playground でプログラムを動かしてみる。" srcset="https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/08/eyecatch_20180810-e1533893062958.jpg?resize=486%2C290&amp;ssl=1 486w, https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/08/eyecatch_20180810-e1533893062958.jpg?zoom=2&amp;resize=486%2C290&amp;ssl=1 972w" sizes="(max-width: 486px) 100vw, 486px" data-attachment-id="1540" data-permalink="https://nikuq299.com/programing/development_ios_app_2/attachment/eyecatch_20180810/" data-orig-file="https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/08/eyecatch_20180810-e1533893062958.jpg?fit=1200%2C429&amp;ssl=1" data-orig-size="1200,429" 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;1498997789&quot;,&quot;copyright&quot;:&quot;SUSIPAKU&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_20180810" data-image-description="&lt;p&gt;playground でプログラムを動かしてみる。&lt;/p&gt;
" data-medium-file="https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/08/eyecatch_20180810-e1533893062958.jpg?fit=300%2C107&amp;ssl=1" data-large-file="https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/08/eyecatch_20180810-e1533893062958.jpg?fit=728%2C260&amp;ssl=1" /></figure><div class="meta inbox"><p class="ttl">playground でプログラムを動かしてみる</p><span class="date gf">2018年8月10日</span></div></a></div>
<p>&nbsp;</p>
<p>今回の記事は3となります。</p>
<ol>
<li>iOSアプリ開発の前準備</li>
<li>Xcodeを使って簡単なプログラムを動かしてみる</li>
<li><span style="color: #ff0000;">iOSアプリの基礎</span> (← 今回ココ)</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>今回は、 iOSアプリ (というか、<a href="https://ja.wikipedia.org/wiki/グラフィカルユーザインタフェース">GUI</a>アプリ) が動く仕組みの概要をお伝えします。</p>
<p>この記事を読んで、以下2点を理解していただけると幸いです。</p>
<ol>
<li>アプリ開発は入門のハードルが低く、誰でも挑戦できる！</li>
<li>アプリ開発を極めるには高度な知識が必要となる！</li>
</ol>
<p>&nbsp;</p>
<p>1と2で言っていることが逆じゃないか！と思われるかもしれません。</p>
<p>たとえ話ですが、クルマは免許を取れば誰でも公道で運転できますが、サーキットで速く走るためには、相応の訓練と運転知識が必要になります。</p>
<p>アプリ開発も同様に、誰でもアプリを作れるようになれますが、質の高いアプリを開発するには訓練と知識が必要ということです。</p>
<p>アプリ開発は、コンピュータを相手にしているだけあって、続ければ論理的思考やモノゴトを抽象化する能力を鍛えることができますので、まずは興味を持っていただき、アプリ開発にチャレンジしてもらえたらと思います。</p>
<p>&nbsp;</p>
<h2>iOSアプリ を作る上で知っておくと良いこと</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>前回の投稿にて、プログラムを書く時、最初はマネをすれば良いと言いましたが、何も知らずにマネをするより、自分がこれからやろうとしていることの概要を知っていると、より効率が上がります。</p>
<p>&nbsp;</p>
<h3>【例】言葉は要素を抽象化してパーツ化したものである</h3>
<p>例えば、中学校で英語の授業を受けた時に、文法でSVC (主語、動詞、補語) とか、SVO (主語、動詞、目的語) とか言うことを教わったと思うのですが、私は言語の本質って、これだけだと思っています。</p>
<p>各単語を主語、動詞、補語、目的語という風に抽象化して組み合わせるだけ。</p>
<p>無理やりですが、日本語を英語と対比する場合、日本語はSOV (主語、目的語、動詞) という感じでしょうか。</p>
<p>&nbsp;</p>
<h3>プログラム言語も同様に要素を抽象化してパーツ化したものである</h3>
<p><span style="color: #ff0000;">※この章は余談で、この内容を理解しなくてもプログラムは書けるので、分からなければ読み飛ばしてもらっても構いません。</span></p>
<p>プログラミングも、言葉と同じです。</p>
<p>プログラミングでコンピュータと会話できる文法は下記3要素しかなく、アプリはこの3要素だけで動いています。</p>
<ol>
<li>処理を行うパラメータ (以降、変数) を定義する</li>
<li>条件分岐する  (評価項目に対してYESかNOを判定する)</li>
<li>同じことを繰返す処理を行う</li>
</ol>
<p>&nbsp;</p>
<p>デジタルは、1か0の組み合わせと言うことを聞いた事がある人も多いと思いますが、パソコンやスマホもデジタル機器なので、内部的には1と0だけの数字 (<a href="https://ja.wikipedia.org/wiki/二進法">2進数</a>) を組み合わせて動いているため、処理はYES (1) かNO (0) しかないのです。</p>
<p>みなさんが普段使っているアプリの複雑な画面や、ブログで読んでいる文字も0と1で構成しています。</p>
<p>プログラム処理をパーツの集合として捉える場合、最も単純と思われる電卓のプログラムで考えるてみましょう。</p>
<p>例えば、8 + 7 を計算して15という答えを出すプログラムは、下記のようになります。</p>
<ul>
<li>第1項の8を変数Aとする → 8を2進数で表現すると、”1000”</li>
<li>第2項の7を変数Bとする → 7を2進数で表現すると、”111”</li>
<li>AとBの論理和を算出する → ”1000” と ”111” の和 (論理和) を取る</li>
<li>AとBの論理和は、”1111” → ”1111”を10進数で表現すると15になる</li>
</ul>
<p>&nbsp;</p>
<p style="text-align: center;"><strong>図3. 2進数で8 + 7 を2進数で計算する</strong></p>
<a href="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/08/compute-e1534002049207.jpg?ssl=1"><img data-attachment-id="1566" data-permalink="https://nikuq299.com/programing/development_ios_app_3/attachment/compute/" data-orig-file="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/08/compute-e1534002049207.jpg?fit=480%2C359&amp;ssl=1" data-orig-size="480,359" 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="compute" data-image-description="&lt;p&gt;2進数の論理和&lt;/p&gt;
" data-medium-file="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/08/compute-e1534002049207.jpg?fit=300%2C224&amp;ssl=1" data-large-file="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/08/compute-e1534002049207.jpg?fit=480%2C359&amp;ssl=1" class="aligncenter wp-image-1566" src="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/08/compute-e1534002049207.jpg?resize=334%2C250&#038;ssl=1" alt="2進数の論理和" width="334" height="250" data-recalc-dims="1" /></a>
<p>&nbsp;</p>
<p>こんな感じで、コンピュータは演算もゼロと1だけで行います。</p>
<p>&nbsp;</p>
<h3>アプリ開発で登場するパーツ</h3>
<p>簡単な図を書いてみました。</p>
<p style="text-align: center;"><strong>図4. アプリはAppleが用意した部品を貼り付けるだけで作れる</strong></p>
<a href="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/08/image-e1534007029549.jpg?ssl=1"><img data-attachment-id="1567" data-permalink="https://nikuq299.com/programing/development_ios_app_3/attachment/image/" data-orig-file="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/08/image-e1534007029549.jpg?fit=1200%2C559&amp;ssl=1" data-orig-size="1200,559" 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="image" data-image-description="&lt;p&gt;アプリは部品の集合体であり、部品はAppleが用意してくれている。&lt;/p&gt;
" data-medium-file="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/08/image-e1534007029549.jpg?fit=300%2C140&amp;ssl=1" data-large-file="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/08/image-e1534007029549.jpg?fit=728%2C339&amp;ssl=1" class="aligncenter size-full wp-image-1567" src="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/08/image-e1534007029549.jpg?resize=728%2C339&#038;ssl=1" alt="アプリは部品の集合体であり、部品はAppleが用意してくれている。" width="728" height="339" data-recalc-dims="1" /></a>
<p>&nbsp;</p>
<p>我々は、普段スマホを利用する時に、直感的に使える部品で色々な処理をスマホへ命令します。</p>
<p>あれを作るのは難しそうと思う方もいると思いますが、iOSのアプリ開発は、Appleが用意した部品を組み合わせてアプリを開発するため、<span style="color: #ff0000;">開発者は文字の大きさや導線などのデザインと、部品の振る舞いだけに注力すれば良いのです。</span></p>
<p>&nbsp;</p>
<h3>プログラミングで難しいところ</h3>
<p>上記だけで話を終わらせると、本職プログラマーの方からお叱りを受けそうなので、プログラミングの何が難しいのかも、合わせて説明します。</p>
<p>アプリ開発の難しいところを一言でいうと、モノゴトを抽象化する能力です。</p>
<p>わかりやすい例を、下記に2点挙げます。</p>
<p>&nbsp;</p>
<h4>数式を使った処理の効率化</h4>
<p>先日投稿した記事にて、playgroundを使ったグラフを描画するサンプルプログラムを書きました。</p>
<a href="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/08/draw_graph.jpg?ssl=1"><img data-attachment-id="1552" data-permalink="https://nikuq299.com/programing/development_ios_app_3/attachment/draw_graph/" data-orig-file="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/08/draw_graph.jpg?fit=502%2C476&amp;ssl=1" data-orig-size="502,476" 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="draw_graph" data-image-description="&lt;p&gt;グラフを描画する処理。&lt;/p&gt;
" data-medium-file="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/08/draw_graph.jpg?fit=300%2C284&amp;ssl=1" data-large-file="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/08/draw_graph.jpg?fit=502%2C476&amp;ssl=1" class="aligncenter size-full wp-image-1552" src="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/08/draw_graph.jpg?resize=502%2C476&#038;ssl=1" alt="グラフを描画する処理。" width="502" height="476" srcset="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/08/draw_graph.jpg?w=502&amp;ssl=1 502w, https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/08/draw_graph.jpg?resize=300%2C284&amp;ssl=1 300w" sizes="(max-width: 502px) 100vw, 502px" data-recalc-dims="1" /></a>
<p>コレは、for-in文という書式で、「0 + 1、 1 + 2、3 + 3、… 、45 + 10」 というように足し算を10回行い、1回ごとの計算結果をグラフ領域にプロットしています。</p>
<p>処理を簡単に説明すると、以下のとおりです。</p>
<ol>
<li>足し算の1要素となる変数 value を定義する。初期値はゼロ。</li>
<li>この処理は、value と num の加算を10回繰り返す。
<ol>
<li>&#8220;for num in 1&#8230;10&#8221; は、足し算の1要素となる変数numを10回<a href="https://ja.wikipedia.org/wiki/インクリメント">インクリメント</a> (1回目のnum は1、2回目のnum は2、… 10回目のnumは10) するという意味。</li>
<li>&#8220;value += num&#8221; は、変数value にインクリメントしたnumを加算するという意味 (value += numは、1回目で0 + 1、2回目で1 + 2、… 10回目で45 + 10という計算を行う) 。</li>
</ol>
</li>
</ol>
<p>&nbsp;</p>
<p>単純な数式で書くと下記の通りとなります。</p>
<p>変数valueに対して、変数 num を10回加算する処理をしており、カッコの計算をするたびに、カッコ内の計算結果をグラフ領域へプロットします。</p>
<p>(0 + 1) + (1 + 2) + (3 + 3) + (6 + 4) + (10 + 5) + (15 + 6) + (21 + 7) + (28 + 8) + (36 + 9) + (45 + 10)</p>
<p>文字で書いてもわかりにくいので、各変数がどのように変化していくか表にしました。</p>
<p>&nbsp;</p>
<p style="text-align: center;"><strong>表1. for-in文実行時の変数値</strong></p>

<table id="tablepress-17" class="tablepress tablepress-id-17">
<thead>
<tr class="row-1 odd">
	<th class="column-1">繰返し回数</th><th class="column-2">numの値</th><th class="column-3">valueの値</th><th class="column-4">計算式は（ 前回の value + num) + num</th>
</tr>
</thead>
<tbody class="row-hover">
<tr class="row-2 even">
	<td class="column-1">0</td><td class="column-2">0</td><td class="column-3">0</td><td class="column-4">計算前</td>
</tr>
<tr class="row-3 odd">
	<td class="column-1">1</td><td class="column-2">1</td><td class="column-3">1</td><td class="column-4">0 + 1 = 1</td>
</tr>
<tr class="row-4 even">
	<td class="column-1">2</td><td class="column-2">2</td><td class="column-3">3</td><td class="column-4">1 + 2 = 3</td>
</tr>
<tr class="row-5 odd">
	<td class="column-1">3</td><td class="column-2">3</td><td class="column-3">6</td><td class="column-4">3 + 3 = 6</td>
</tr>
<tr class="row-6 even">
	<td class="column-1">4</td><td class="column-2">4</td><td class="column-3">10</td><td class="column-4">6 + 4 = 10</td>
</tr>
<tr class="row-7 odd">
	<td class="column-1">5</td><td class="column-2">5</td><td class="column-3">15</td><td class="column-4">10 + 5 = 15</td>
</tr>
<tr class="row-8 even">
	<td class="column-1">6</td><td class="column-2">6</td><td class="column-3">21</td><td class="column-4">15 + 6 = 21</td>
</tr>
<tr class="row-9 odd">
	<td class="column-1">7</td><td class="column-2">7</td><td class="column-3">28</td><td class="column-4">21 + 7 = 28</td>
</tr>
<tr class="row-10 even">
	<td class="column-1">8</td><td class="column-2">8</td><td class="column-3">36</td><td class="column-4">28 + 8 = 36</td>
</tr>
<tr class="row-11 odd">
	<td class="column-1">9</td><td class="column-2">9</td><td class="column-3">45</td><td class="column-4">36 + 9 = 45</td>
</tr>
<tr class="row-12 even">
	<td class="column-1">10</td><td class="column-2">10</td><td class="column-3">55</td><td class="column-4">45 + 10 = 55</td>
</tr>
</tbody>
</table>
<!-- #tablepress-17 from cache -->
<p>&nbsp;</p>
<p>この10回繰り返す計算は、n (n + 1) / 2 という公式で置き換えられます。</p>
<p>今回のサンプルプログラムの場合だと、繰り返す計算回数はわずか10回ですが、これが100万回、1億回と繰り返す場合は、後者の公式を使った方が、はるかに処理が速くなります。</p>
<p>&nbsp;</p>
<p>100万回繰り返す場合、<strong>前者は計算を100万回実行</strong>しなければなりませんが、<strong>後者は計算を3回実行</strong>するだけで済むためです。</p>
<p>公式を使った計算は以下の3回のみとなります。</p>
<ol>
<li>n + 1 (この結果をaとする)</li>
<li>n * a (この結果をbとする)</li>
<li>最終的な解 = b / 2</li>
</ol>
<p>&nbsp;</p>
<p>上記に挙げた2つの計算において、<span style="color: #ff0000;">後者の処理速度は前者の処理速度より33万倍早くなります</span> (あくまで例なので、他の処理速度に影響する要因は除外します)。</p>
<p>優秀なプログラマーは、このように処理を抽象化して質の高い処理を創造します。</p>
<p>&nbsp;</p>
<h4>設計における問題のモデル化</h4>
<p>コレも、我々が普段無意識に行っている事なのですが、意識していないと汎用性の高いアプリの設計を行えません。</p>
<p>例えば、自動車を運転する場合、免許さえ持っていれば、トヨタ車でも、ホンダ車でも、BMWでも、乗ることができると思います。</p>
<p>なぜかというと、日本を走ることができる自動車の運転席は、国土交通省の定める保安基準に必ず則っているからです。</p>
<div class="supplement "><strong>補足</strong></p>
<div class="page" title="Page 1">
<div class="layoutArea">
<div class="column">
<p><a href="http://www.mlit.go.jp/jidosha/kijyun/saimokukokuji/saikoku_184_00.pdf">道路運送車両の保安基準の細目を定める告示</a></p>
</div>
</div>
</div>
</div>
<p>&nbsp;</p>
<p>日本で走る事ができるクルマは、どのメーカが作るクルマでも、必ず保安基準に則っているため、前の座席に運転席があり、座席の周りには、エンジンスターター、ハンドル、アクセル、ブレーキ、シフトレバーがついています。</p>
<p>運転免許証を持っている人は、意識していなくてもそれを理解しているから、初めて乗るクルマでも迷うことなく運転することができます。</p>
<p>運転席をプログラミングする時にする設計も同様です。</p>
<p>高級な素材を使っていようが、エンジンが小さかろうが、クルマはクルマなんです。</p>
<p>&nbsp;</p>
<p style="text-align: center;"><strong>図1. プログラム上にクルマを定義する場合のダメな例</strong></p>
<a href="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/08/bad_example.jpg?ssl=1"><img data-attachment-id="1562" data-permalink="https://nikuq299.com/programing/development_ios_app_3/attachment/bad_example/" data-orig-file="https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/08/bad_example-e1534000057874.jpg?fit=1000%2C402&amp;ssl=1" data-orig-size="1000,402" 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="bad_example" data-image-description="&lt;p&gt;プログラムでクルマを定義する場合のだめな例。&lt;/p&gt;
" data-medium-file="https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/08/bad_example-e1534000057874.jpg?fit=300%2C121&amp;ssl=1" data-large-file="https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/08/bad_example-e1534000057874.jpg?fit=728%2C293&amp;ssl=1" class="aligncenter wp-image-1562 size-large" src="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/08/bad_example.jpg?resize=728%2C293&#038;ssl=1" alt="プログラムでクルマを定義する場合のだめな例。" width="728" height="293" data-recalc-dims="1" /></a>
<p>&nbsp;</p>
<p style="text-align: center;"><strong>図2. プログラム上にクルマを定義する場合の良い例</strong></p>
<a href="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/08/good_example-e1534000168866.jpg?ssl=1"><img data-attachment-id="1564" data-permalink="https://nikuq299.com/programing/development_ios_app_3/attachment/good_example/" data-orig-file="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/08/good_example-e1534000168866.jpg?fit=1000%2C594&amp;ssl=1" data-orig-size="1000,594" 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="good_example" data-image-description="&lt;p&gt;プログラムでクルマを定義する場合の良い例。&lt;/p&gt;
" data-medium-file="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/08/good_example-e1534000168866.jpg?fit=300%2C178&amp;ssl=1" data-large-file="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/08/good_example-e1534000168866.jpg?fit=728%2C432&amp;ssl=1" class="aligncenter size-large wp-image-1564" src="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/08/good_example.jpg?resize=728%2C432&#038;ssl=1" alt="プログラムでクルマを定義する場合の良い例。" width="728" height="432" data-recalc-dims="1" /></a>
<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>&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>ココからは余談となります。</p>
<p>図解する場合って、使える素材に制限があると、分かりやすいものができないですね。</p>
<p>最近、グラフィックレコーディングを勉強するつもりなので、ブログに載せる図解も、手書きで分かりやすいモノを作れたら良いなと考えています。</p>
<p>&nbsp;</p>
<p>それでは。ごきげんよう。</p>
<p>投稿 <a rel="nofollow" href="https://nikuq299.com/programing/development_ios_app_3/">iOSアプリ を作る上で知っておくと良いこと</a> は <a rel="nofollow" href="https://nikuq299.com">肉球ログ</a> に最初に表示されました。</p>
]]></content:encoded>
							<wfw:commentRss>https://nikuq299.com/programing/development_ios_app_3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
						<post-id xmlns="com-wordpress:feed-additions:1">1551</post-id>	</item>
		<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>
		<item>
		<title>iOSアプリ開発 は意外と簡単にできるのです</title>
		<link>https://nikuq299.com/programing/development_ios_app_1/</link>
				<comments>https://nikuq299.com/programing/development_ios_app_1/#respond</comments>
				<pubDate>Thu, 09 Aug 2018 15:39:45 +0000</pubDate>
		<dc:creator><![CDATA[肉球]]></dc:creator>
				<category><![CDATA[プログラミング]]></category>
		<category><![CDATA[iPad]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Swift]]></category>
		<category><![CDATA[Xcode]]></category>

		<guid isPermaLink="false">https://nikuq299.com/?p=1503</guid>
				<description><![CDATA[<p>どうもこんばんは。 肉球 (@nikuq299com) です。 &#160; 最近勉強した iOSアプリ開発 について、せっかくなのでまとめておこうと思います。 &#160; 最近、ちまたではプログラミングが着目されてい...</p>
<p>投稿 <a rel="nofollow" href="https://nikuq299.com/programing/development_ios_app_1/">iOSアプリ開発 は意外と簡単にできるのです</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アプリ開発 について、せっかくなのでまとめておこうと思います。</p>
<div class="related_article cf"><a href="https://nikuq299.com/programing/learning_swift/"><figure class="eyecatch thum"><img width="486" height="290" src="https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/07/eyecatch_20180715-e1531656483986.jpg?resize=486%2C290&amp;ssl=1" class="attachment-home-thum size-home-thum wp-post-image" alt="Swift を勉強してみた。" srcset="https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/07/eyecatch_20180715-e1531656483986.jpg?resize=486%2C290&amp;ssl=1 486w, https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/07/eyecatch_20180715-e1531656483986.jpg?zoom=2&amp;resize=486%2C290&amp;ssl=1 972w, https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/07/eyecatch_20180715-e1531656483986.jpg?zoom=3&amp;resize=486%2C290&amp;ssl=1 1458w" sizes="(max-width: 486px) 100vw, 486px" data-attachment-id="1279" data-permalink="https://nikuq299.com/programing/learning_swift/attachment/eyecatch_20180715/" data-orig-file="https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/07/eyecatch_20180715-e1531656483986.jpg?fit=1600%2C836&amp;ssl=1" data-orig-size="1600,836" 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_20180715" data-image-description="&lt;p&gt;Swift を勉強してみた。&lt;/p&gt;
" data-medium-file="https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/07/eyecatch_20180715-e1531656483986.jpg?fit=300%2C157&amp;ssl=1" data-large-file="https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/07/eyecatch_20180715-e1531656483986.jpg?fit=728%2C380&amp;ssl=1" /></figure><div class="meta inbox"><p class="ttl">Swift を使った iOS アプリ開発を勉強してみました。</p><span class="date gf">2018年7月15日</span></div></a></div>
<p>&nbsp;</p>
<p>最近、ちまたではプログラミングが着目されていますが、MacとiPhone または iPad を持っていれば、簡単に実機で自分が書いたコードを動かすことができるので、ぜひ、一度試してみてください。</p>
<p>ブログの中で、体系的に整理しようと思っていたのですが、こういった投稿記事で整理できるボリュームではなさそうなので、本格的な整理は別にWebサイトを立ち上げようと思います。</p>
<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>iOSアプリ開発は気軽に始めることができるのです！</p>
</div>
<p>iOSアプリとは、iPhone、iPad上で動くアプリを指します。</p>
<p>プログラミングを体験したことのない方は、プログラミングと聞いただけで眉を潜めてしまう方が多いですが、一昔前と違って、今の言語は直感的で使いやすく、呼び出すだけで機能を実装できるライブラリも豊富に揃っているため、入門のハードルはかなり下がっていると思います。</p>
<p>iOSアプリ開発に関しては、App Storeに公開しないのであれば、無料で開発環境を作成でき、自身のiPhone や iPad でアプリを動かすことができます。</p>
<p>お子さんにプログラムを教えたい親御さんや、副業になり得るか体験してみたい未来のプログラマーさんは、暇がある時に試してみることをおすすめします。</p>
<p>&nbsp;</p>
<p>この辺を1記事に収めるのはボリューム的に難しそうなので、下記くらいのテーマに小分けして記事を投稿するつもりです。</p>
<ol>
<li><span style="color: #ff0000;">iOSアプリ開発の前準備</span> (← 今回ココ)</li>
<li>Xcodeを使って簡単なプログラムを動かしてみる</li>
<li>iOSアプリの基礎</li>
<li>部品の使い方</li>
<li>地図を表示してみる</li>
<li>SNS機能を呼び出してみる</li>
<li>カメラを使って写真を保存してみる</li>
</ol>
<p>&nbsp;</p>
<p>&nbsp;</p>
<h2>iOSアプリ開発 の前準備</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>Apple IDとXcodeというソフトの2点の準備をしましょう。</p>
<p>&nbsp;</p>
<h3>開発用Apple IDを作成する</h3>
<p>iOSアプリを開発する際、Apple IDが必要になります。</p>
<p>普段使っているApple IDでも問題ありませんが、私は新規にApple IDを作成しました (Apple IDは1人で複数個取得可能です)。</p>
<p>Apple IDは本名の設定を義務付けてはいないため、開発したアプリをAppStoreへ登録する際に本名を出さないようにするための対策です 。</p>
<p>なので、AppStoreへの登録予定がない、本名を公開しても問題ない場合は、Apple IDの使い分けは気にしなくても大丈夫です。</p>
<p>Apple IDの登録は<a href="https://appleid.apple.com/">コチラ</a>から行えます。</p>
<p>&nbsp;</p>
<a href="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/08/RegistAppleID-e1533781778568.jpg?ssl=1"><img data-attachment-id="1508" data-permalink="https://nikuq299.com/programing/development_ios_app_1/attachment/registappleid/" data-orig-file="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/08/RegistAppleID-e1533781778568.jpg?fit=1600%2C1224&amp;ssl=1" data-orig-size="1600,1224" 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="RegistAppleID" data-image-description="&lt;p&gt;Apple IDを作成する。&lt;/p&gt;
" data-medium-file="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/08/RegistAppleID-e1533781778568.jpg?fit=300%2C230&amp;ssl=1" data-large-file="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/08/RegistAppleID-e1533781778568.jpg?fit=728%2C557&amp;ssl=1" class="aligncenter size-large wp-image-1508" src="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/08/RegistAppleID.jpg?resize=728%2C557&#038;ssl=1" alt="Apple IDを作成する。" width="728" height="557" data-recalc-dims="1" /></a>
<p>&nbsp;</p>
<h3>App StoreからXcodeをダウンロードする</h3>
<p>まずは、App Store を開きましょう。</p>
<a href="https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/08/open_appstore-e1533783266248.jpg?ssl=1"><img data-attachment-id="1511" data-permalink="https://nikuq299.com/programing/development_ios_app_1/attachment/open_appstore/" data-orig-file="https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/08/open_appstore-e1533783266248.jpg?fit=1000%2C373&amp;ssl=1" data-orig-size="1000,373" 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="open_appstore" data-image-description="&lt;p&gt;App Storeを開く。&lt;/p&gt;
" data-medium-file="https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/08/open_appstore-e1533783266248.jpg?fit=300%2C112&amp;ssl=1" data-large-file="https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/08/open_appstore-e1533783266248.jpg?fit=728%2C272&amp;ssl=1" class="aligncenter size-large wp-image-1511" src="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/08/open_appstore.jpg?resize=728%2C272&#038;ssl=1" alt="App Storeを開く。" width="728" height="272" data-recalc-dims="1" /></a>
<p>&nbsp;</p>
<p>検索窓からXcode をキーワードにして検索してください。</p>
<a href="https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/08/search_xcode-e1533783358427.jpg?ssl=1"><img data-attachment-id="1510" data-permalink="https://nikuq299.com/programing/development_ios_app_1/attachment/search_xcode/" data-orig-file="https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/08/search_xcode-e1533783358427.jpg?fit=1000%2C502&amp;ssl=1" data-orig-size="1000,502" 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="search_xcode" data-image-description="&lt;p&gt;Xcodeを検索する。&lt;/p&gt;
" data-medium-file="https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/08/search_xcode-e1533783358427.jpg?fit=300%2C150&amp;ssl=1" data-large-file="https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/08/search_xcode-e1533783358427.jpg?fit=728%2C365&amp;ssl=1" class="aligncenter size-large wp-image-1510" src="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/08/search_xcode.jpg?resize=728%2C365&#038;ssl=1" alt="Xcodeを検索する。" width="728" height="365" data-recalc-dims="1" /></a>
<p>&nbsp;</p>
<p>Xcodeをダウンロードしてください。</p>
<p>&nbsp;</p>
<a href="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/08/dl_xcode-e1533783456758.jpg?ssl=1"><img data-attachment-id="1512" data-permalink="https://nikuq299.com/programing/development_ios_app_1/attachment/dl_xcode/" data-orig-file="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/08/dl_xcode-e1533783456758.jpg?fit=1000%2C351&amp;ssl=1" data-orig-size="1000,351" 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="dl_xcode" data-image-description="&lt;p&gt;Xcodeをダウンロードする。&lt;/p&gt;
" data-medium-file="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/08/dl_xcode-e1533783456758.jpg?fit=300%2C105&amp;ssl=1" data-large-file="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/08/dl_xcode-e1533783456758.jpg?fit=728%2C255&amp;ssl=1" class="aligncenter size-large wp-image-1512" src="https://i0.wp.com/nikuq299.com/wp-content/uploads/2018/08/dl_xcode.jpg?resize=728%2C255&#038;ssl=1" alt="Xcodeをダウンロードする。" width="728" height="255" data-recalc-dims="1" /></a>
<p>&nbsp;</p>
<p>ダウンロードを完了したら、Xcodeを起動してください (最初はDockにアイコンが無いのでLaunchpadから起動してください)。</p>
<a href="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/08/xcode_icon.jpg?ssl=1"><img data-attachment-id="1515" data-permalink="https://nikuq299.com/programing/development_ios_app_1/attachment/xcode_icon/" data-orig-file="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/08/xcode_icon.jpg?fit=676%2C336&amp;ssl=1" data-orig-size="676,336" 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="xcode_icon" data-image-description="&lt;p&gt;Xcodeを機動する。&lt;/p&gt;
" data-medium-file="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/08/xcode_icon.jpg?fit=300%2C149&amp;ssl=1" data-large-file="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/08/xcode_icon.jpg?fit=676%2C336&amp;ssl=1" class="aligncenter size-medium wp-image-1515" src="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/08/xcode_icon.jpg?resize=300%2C149&#038;ssl=1" alt="Xcodeを機動する。" width="300" height="149" srcset="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/08/xcode_icon.jpg?resize=300%2C149&amp;ssl=1 300w, https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/08/xcode_icon.jpg?w=676&amp;ssl=1 676w" sizes="(max-width: 300px) 100vw, 300px" data-recalc-dims="1" /></a>
<p>&nbsp;</p>
<p>以下の起動画面が出れば問題なくXCodeをインストールできています。</p>
<a href="https://i0.wp.com/nikuq299.com/wp-content/uploads/2018/08/welcome_xcode.jpg?ssl=1"><img data-attachment-id="1516" data-permalink="https://nikuq299.com/programing/development_ios_app_1/attachment/welcome_xcode/" data-orig-file="https://i0.wp.com/nikuq299.com/wp-content/uploads/2018/08/welcome_xcode.jpg?fit=1590%2C928&amp;ssl=1" data-orig-size="1590,928" 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_xcode" data-image-description="&lt;p&gt;Xcode起動画面。&lt;/p&gt;
" data-medium-file="https://i0.wp.com/nikuq299.com/wp-content/uploads/2018/08/welcome_xcode.jpg?fit=300%2C175&amp;ssl=1" data-large-file="https://i0.wp.com/nikuq299.com/wp-content/uploads/2018/08/welcome_xcode.jpg?fit=728%2C425&amp;ssl=1" class="aligncenter size-medium wp-image-1516" src="https://i0.wp.com/nikuq299.com/wp-content/uploads/2018/08/welcome_xcode.jpg?resize=300%2C175&#038;ssl=1" alt="Xcode起動画面。" width="300" height="175" srcset="https://i0.wp.com/nikuq299.com/wp-content/uploads/2018/08/welcome_xcode.jpg?resize=300%2C175&amp;ssl=1 300w, https://i0.wp.com/nikuq299.com/wp-content/uploads/2018/08/welcome_xcode.jpg?resize=768%2C448&amp;ssl=1 768w, https://i0.wp.com/nikuq299.com/wp-content/uploads/2018/08/welcome_xcode.jpg?resize=1024%2C598&amp;ssl=1 1024w, https://i0.wp.com/nikuq299.com/wp-content/uploads/2018/08/welcome_xcode.jpg?w=1590&amp;ssl=1 1590w, https://i0.wp.com/nikuq299.com/wp-content/uploads/2018/08/welcome_xcode.jpg?w=1456&amp;ssl=1 1456w" sizes="(max-width: 300px) 100vw, 300px" data-recalc-dims="1" /></a>
<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>次の投稿では、Xcodeの初期設定と簡単なサンプルプログラム作成を説明します。</p>
<p>&nbsp;</p>
<p><span style="color: #ff0000;">2018/8/10 に続編記事を投稿しました。</span></p>
<div class="related_article cf"><a href="https://nikuq299.com/programing/development_ios_app_2/"><figure class="eyecatch thum"><img width="486" height="290" src="https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/08/eyecatch_20180810-e1533893062958.jpg?resize=486%2C290&amp;ssl=1" class="attachment-home-thum size-home-thum wp-post-image" alt="playground でプログラムを動かしてみる。" srcset="https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/08/eyecatch_20180810-e1533893062958.jpg?resize=486%2C290&amp;ssl=1 486w, https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/08/eyecatch_20180810-e1533893062958.jpg?zoom=2&amp;resize=486%2C290&amp;ssl=1 972w" sizes="(max-width: 486px) 100vw, 486px" data-attachment-id="1540" data-permalink="https://nikuq299.com/programing/development_ios_app_2/attachment/eyecatch_20180810/" data-orig-file="https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/08/eyecatch_20180810-e1533893062958.jpg?fit=1200%2C429&amp;ssl=1" data-orig-size="1200,429" 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;1498997789&quot;,&quot;copyright&quot;:&quot;SUSIPAKU&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_20180810" data-image-description="&lt;p&gt;playground でプログラムを動かしてみる。&lt;/p&gt;
" data-medium-file="https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/08/eyecatch_20180810-e1533893062958.jpg?fit=300%2C107&amp;ssl=1" data-large-file="https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/08/eyecatch_20180810-e1533893062958.jpg?fit=728%2C260&amp;ssl=1" /></figure><div class="meta inbox"><p class="ttl">playground でプログラムを動かしてみる</p><span class="date gf">2018年8月10日</span></div></a></div>
<p>&nbsp;</p>
<p>それでは。ごきげんよう。</p>
<p>&nbsp;</p>
<p>投稿 <a rel="nofollow" href="https://nikuq299.com/programing/development_ios_app_1/">iOSアプリ開発 は意外と簡単にできるのです</a> は <a rel="nofollow" href="https://nikuq299.com">肉球ログ</a> に最初に表示されました。</p>
]]></content:encoded>
							<wfw:commentRss>https://nikuq299.com/programing/development_ios_app_1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
						<post-id xmlns="com-wordpress:feed-additions:1">1503</post-id>	</item>
		<item>
		<title>Swift を使った iOS アプリ開発を勉強してみました。</title>
		<link>https://nikuq299.com/programing/learning_swift/</link>
				<comments>https://nikuq299.com/programing/learning_swift/#respond</comments>
				<pubDate>Sun, 15 Jul 2018 13:35:54 +0000</pubDate>
		<dc:creator><![CDATA[肉球]]></dc:creator>
				<category><![CDATA[プログラミング]]></category>
		<category><![CDATA[Apple Watch App]]></category>
		<category><![CDATA[iOS]]></category>
		<category><![CDATA[Mac App]]></category>
		<category><![CDATA[tvOS]]></category>

		<guid isPermaLink="false">https://nikuq299.com/?p=1278</guid>
				<description><![CDATA[<p>どうもこんばんは。肉球 (@nikuq299com) です。 今日はSwiftについて少し勉強してみたので、簡単に共有したいと思います。 長時間エアコンが効いた部屋にこもったせいか、風邪を引いてしまったので、今日の記事は...</p>
<p>投稿 <a rel="nofollow" href="https://nikuq299.com/programing/learning_swift/">Swift を使った iOS アプリ開発を勉強してみました。</a> は <a rel="nofollow" href="https://nikuq299.com">肉球ログ</a> に最初に表示されました。</p>
]]></description>
								<content:encoded><![CDATA[<p>どうもこんばんは。肉球 (<a href="https://twitter.com/nikuq299com">@nikuq299com</a>) です。</p>
<p>今日はSwiftについて少し勉強してみたので、簡単に共有したいと思います。</p>
<p>長時間エアコンが効いた部屋にこもったせいか、風邪を引いてしまったので、今日の記事は参考にした書籍のレビューのみとし、後日、整理した内容を載せたいと考えています。</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>SwiftといえばMacデバイスに関するソフトウェア開発言語です！</p>
</div>
<p>Swiftといえば、Appleが開発したプログラミング言語で、iOSやMac、tvOSのアプリを開発できます。</p>
<p>以下は、<a href="https://www.apple.com/jp/swift/">Apple公式サイト</a>からの引用です。</p>
<blockquote>
<p class="hero-headline"><strong>Swift。誰もが圧倒的に優れたアプリケーションを作れる、パワフルなオープンソースの言語です。</strong></p>
<p>iOS、Mac、Apple TV、Apple Watch向けのアプリケーションを開発するためにAppleが作った、強固で直感的なプログラミング言語。</p>
<p>それがSwiftです。デベロッパのみなさんに、かつてないほどの自由を届けられるように設計されています。</p>
<p>Swiftは簡単に使えて、しかもオープンソースなので、アイデアがある人なら誰でも、画期的なアプリケーションを作ることができます。</p></blockquote>
<p>&nbsp;</p>
<p>今回は、電子積み本となっていた、<a href="https://amzn.to/2Ldj25x">絶対に挫折しないiPhoneアプリ開発「超」入門</a>を読みながらサンプルコードを書いてみました。</p>
<p>&nbsp;</p>
<div class="booklink-box" style="text-align: left; padding-bottom: 20px; font-size: small; zoom: 1; overflow: hidden;">
<div class="booklink-image" style="float: left; margin: 0 15px 10px 0;"><a href="http://www.amazon.co.jp/exec/obidos/asin/479739417X/nikuq299-22/" target="_blank" rel="nofollow noopener"><img style="border: none;" src="https://i0.wp.com/images-fe.ssl-images-amazon.com/images/I/5157fMwW4wL._SL160_.jpg?w=728&#038;ssl=1" data-recalc-dims="1" /></a></div>
<div class="booklink-info" style="line-height: 120%; zoom: 1; overflow: hidden;">
<div class="booklink-name" style="margin-bottom: 10px; line-height: 120%;">
<p><a href="http://www.amazon.co.jp/exec/obidos/asin/479739417X/nikuq299-22/" target="_blank" rel="nofollow noopener">絶対に挫折しないiPhoneアプリ開発「超」入門 増補第6版【Swift 4 &amp; iOS 11】完全対応 (Informatics&amp;IDEA)</a></p>
<div class="booklink-powered-date" style="font-size: 8pt; margin-top: 5px; font-family: verdana; line-height: 120%;">posted with <a href="https://yomereba.com" target="_blank" rel="nofollow noopener">ヨメレバ</a></div>
</div>
<div class="booklink-detail" style="margin-bottom: 5px;">高橋 京介 SBクリエイティブ 2017-11-22</div>
<div class="booklink-link2" style="margin-top: 10px;">
<div class="shoplinkamazon" style="margin-right: 5px; background: url('//img.yomereba.com/yl.gif') 0 0 no-repeat; padding: 2px 0 2px 18px; white-space: nowrap;"><a href="http://www.amazon.co.jp/exec/obidos/asin/479739417X/nikuq299-22/" target="_blank" rel="nofollow noopener">Amazonで見る</a></div>
<div class="shoplinkkindle" style="margin-right: 5px; background: url('//img.yomereba.com/yl.gif') 0 0 no-repeat; padding: 2px 0 2px 18px; white-space: nowrap;"><a href="http://www.amazon.co.jp/exec/obidos/ASIN/B077MWWY3N/nikuq299-22/" target="_blank" rel="nofollow noopener">Kindleで見る</a></div>
<div class="shoplinkrakuten" style="margin-right: 5px; background: url('//img.yomereba.com/yl.gif') 0 -50px no-repeat; padding: 2px 0 2px 18px; white-space: nowrap;"><a href="https://hb.afl.rakuten.co.jp/hgc/16cc7752.6ac7afec.16cc7753.9cc24d67/yomereba_main_201807152100459452?pc=http%3A%2F%2Fbooks.rakuten.co.jp%2Frb%2F15127928%2F%3Fscid%3Daf_ich_link_urltxt%26m%3Dhttp%3A%2F%2Fm.rakuten.co.jp%2Fev%2Fbook%2F" target="_blank" rel="nofollow noopener">楽天ブックスで見る</a></div>
</div>
</div>
<div class="booklink-footer" style="clear: left;"></div>
</div>
<p>&nbsp;</p>
<h2>簡単な書評</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>結論から言うと、本書は、オブジェクト指向プログラミングを初めて行うような人にとっては、丁寧な解説で良書だと思います。</p>
<p>ただ、ある程度のプログラミング経験を持つ人には、少し物足りないとも思いました。</p>
<p>私は過去にVisualStudio や Eclipse を使ってC++ や Java で GUI アプリの開発経験があったため、参考書籍に求めるものとしては、「過去の開発手法はiOSアプリ開発だとこうする」というような新旧作法の対比でした。</p>
<p>現在、Chapter6 (約半分) まで読了しているのですが、ここまでに記載している内容の半分以上がSwiftに関する内容というより、プログラムの基本的な概念やオブジェクト指向の説明に終止しており、私が求めている内容ではありませんでした。</p>
<p>このあとの章で展開が変わってくれればよいのですが。</p>
<p>今回は、少し自分を過小評価しすぎたかな、というより、やはりこの手の書籍はナナメ読みして自分が求めているものを載せているか確認したほうが良いと痛感しました。</p>
<p>&nbsp;</p>
<h2>Swift とは</h2>
<p>とりあえず、Swiftを勉強してみて思った事を記録しておきます。</p>
<h3>難易度はかなり低い</h3>
<p>Swiftは初心者にも非常に使いやすいプログラム言語だと思う理由を下記へ記載します。</p>
<p>&nbsp;</p>
<h4>開発環境の構築が簡単</h4>
<p>開発環境はX-CodeをApp Store経由でインストールするだけで他の作業はなし、モバイルシミュレータも完備しているため、特に準備する必要なしなど、開発環境の作成がかなり簡単です。</p>
<p>&nbsp;</p>
<h4>コーディングが簡単</h4>
<p>実際のコーディングについても、まだ本に載っている程度のコードしか書いていませんが、トラックパッドをカチカチ叩いているだけで、それなりに見栄えの良いアプリ開発を行えます。</p>
<p>本書を半分読んだ感覚だと、Java の Swing を使ったことがあれば、Swiftも違和感なく使えると思います。</p>
<p>変数宣言も、perl のように型なしで宣言することも可能な仕様です (個人的には、型なし変数宣言の利点がわからないですが)。</p>
<p>ただ、配列やfor文など、一部の文法がC++ や Java とかなり違っていて、若干違和感があります。</p>
<p>&nbsp;</p>
<h3>X-Code が少し使いにくい</h3>
<p>まだ使い始めたばかりだからかもしれませんが、X-Codeが若干使いにくいかな、という印象です。</p>
<p>Visual StudioからEclipseへ乗り換えた時は、さほど違和感を覚えなかったのですが、X-Codeは、私の感覚で操作しても思うように動かず、少し戸惑いました (私が現場にいたのは10年近く前の話ですが)。</p>
<p>本書を参考にサンプルコードの作成を行うと、ドラッグ&amp;ドロップを多用していて、少し使いづらかったです。</p>
<p>Swiftもそれなりに月日を重ねた言語なので、日本語のドキュメントは多いはず！ということで、空いた時間でドキュメント探しに奔走してみます。</p>
<p>多分、まだ私が理解しきれていないSwiftの本質的な概念さえ理解できれば、あとはスムーズに開発を行えるはずです。</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>Swiftは難しくないので、興味がある人はiOSアプリを作ってみよう！</p>
</div>
<p>Swiftは難易度があまり高くない言語のため、初心者でも始めやすいです。</p>
<p>また、新しい言語と言っても、オブジェクト指向言語であることに変わりはないため、C++ や Java を理解している、または開発経験を持っている人は、すんなり言語仕様を受け入れられると思います。</p>
<p>プログラミング初心者には、前述した<a href="https://amzn.to/2Ldj25x">絶対に挫折しないiPhoneアプリ開発「超」入門</a> を参考にすると理解しやすいと思います。</p>
<p>&nbsp;</p>
<div class="booklink-box" style="text-align: left; padding-bottom: 20px; font-size: small; zoom: 1; overflow: hidden;">
<div class="booklink-image" style="float: left; margin: 0 15px 10px 0;"><a href="http://www.amazon.co.jp/exec/obidos/asin/479739417X/nikuq299-22/" target="_blank" rel="nofollow noopener"><img style="border: none;" src="https://i0.wp.com/images-fe.ssl-images-amazon.com/images/I/5157fMwW4wL._SL160_.jpg?w=728&#038;ssl=1" data-recalc-dims="1" /></a></div>
<div class="booklink-info" style="line-height: 120%; zoom: 1; overflow: hidden;">
<div class="booklink-name" style="margin-bottom: 10px; line-height: 120%;">
<p><a href="http://www.amazon.co.jp/exec/obidos/asin/479739417X/nikuq299-22/" target="_blank" rel="nofollow noopener">絶対に挫折しないiPhoneアプリ開発「超」入門 増補第6版【Swift 4 &amp; iOS 11】完全対応 (Informatics&amp;IDEA)</a></p>
<div class="booklink-powered-date" style="font-size: 8pt; margin-top: 5px; font-family: verdana; line-height: 120%;">posted with <a href="https://yomereba.com" target="_blank" rel="nofollow noopener">ヨメレバ</a></div>
</div>
<div class="booklink-detail" style="margin-bottom: 5px;">高橋 京介 SBクリエイティブ 2017-11-22</div>
<div class="booklink-link2" style="margin-top: 10px;">
<div class="shoplinkamazon" style="margin-right: 5px; background: url('//img.yomereba.com/yl.gif') 0 0 no-repeat; padding: 2px 0 2px 18px; white-space: nowrap;"><a href="http://www.amazon.co.jp/exec/obidos/asin/479739417X/nikuq299-22/" target="_blank" rel="nofollow noopener">Amazonで見る</a></div>
<div class="shoplinkkindle" style="margin-right: 5px; background: url('//img.yomereba.com/yl.gif') 0 0 no-repeat; padding: 2px 0 2px 18px; white-space: nowrap;"><a href="http://www.amazon.co.jp/exec/obidos/ASIN/B077MWWY3N/nikuq299-22/" target="_blank" rel="nofollow noopener">Kindleで見る</a></div>
<div class="shoplinkrakuten" style="margin-right: 5px; background: url('//img.yomereba.com/yl.gif') 0 -50px no-repeat; padding: 2px 0 2px 18px; white-space: nowrap;"><a href="https://hb.afl.rakuten.co.jp/hgc/16cc7752.6ac7afec.16cc7753.9cc24d67/yomereba_main_201807152100459452?pc=http%3A%2F%2Fbooks.rakuten.co.jp%2Frb%2F15127928%2F%3Fscid%3Daf_ich_link_urltxt%26m%3Dhttp%3A%2F%2Fm.rakuten.co.jp%2Fev%2Fbook%2F" target="_blank" rel="nofollow noopener">楽天ブックスで見る</a></div>
</div>
</div>
<div class="booklink-footer" style="clear: left;"></div>
</div>
<p>&nbsp;</p>
<p>逆に、ある程度プログラミング経験のある方は、もう少し突っ込んだ内容の参考書を選ぶほうが良いと思います。</p>
<p>明日は本書の残り半分を読了し、改めてブログで内容を共有できればと考えています。</p>
<p>せっかくなので、先日登録したGitHubも合わせて使ってみよう。</p>
<p>&nbsp;</p>
<p>それでは。ごきげんよう。</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>投稿 <a rel="nofollow" href="https://nikuq299.com/programing/learning_swift/">Swift を使った iOS アプリ開発を勉強してみました。</a> は <a rel="nofollow" href="https://nikuq299.com">肉球ログ</a> に最初に表示されました。</p>
]]></content:encoded>
							<wfw:commentRss>https://nikuq299.com/programing/learning_swift/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
						<post-id xmlns="com-wordpress:feed-additions:1">1278</post-id>	</item>
		<item>
		<title>GitHub へユーザ登録してみました</title>
		<link>https://nikuq299.com/programing/register_github/</link>
				<comments>https://nikuq299.com/programing/register_github/#respond</comments>
				<pubDate>Thu, 12 Jul 2018 09:17:10 +0000</pubDate>
		<dc:creator><![CDATA[肉球]]></dc:creator>
				<category><![CDATA[プログラミング]]></category>
		<category><![CDATA[Git]]></category>
		<category><![CDATA[SVN]]></category>
		<category><![CDATA[Swift]]></category>
		<category><![CDATA[ソースコード管理]]></category>

		<guid isPermaLink="false">https://nikuq299.com/?p=1207</guid>
				<description><![CDATA[<p>どうもこんばんは。肉球 (@nikuq299com) です。 今更ですが、GitHubへユーザ登録を行いましたので、その過程を記録します。 &#160; はじめに GitHubは、Gitというソースコードバージョン管理シ...</p>
<p>投稿 <a rel="nofollow" href="https://nikuq299.com/programing/register_github/">GitHub へユーザ登録してみました</a> は <a rel="nofollow" href="https://nikuq299.com">肉球ログ</a> に最初に表示されました。</p>
]]></description>
								<content:encoded><![CDATA[<p>どうもこんばんは。肉球 (<a href="https://twitter.com/nikuq299com">@nikuq299com</a>) です。</p>
<p>今更ですが、GitHubへユーザ登録を行いましたので、その過程を記録します。</p>
<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>GitHubは世界中のプログラマとの交流スペースになる！</p>
</div>
<p>GitHubは、Gitというソースコードバージョン管理システムを使った、クラウド上のソースコードバージョン管理システムです。</p>
<p>私はしばらくコーディングに関わっていないため、SVNくらいまでしか触れたことが無いのですが、現在のソースコードバージョン管理の主流はGitのようです。</p>
<p>GitHubは、Gitの仕組みを使って、世界中のプログラマとソースを共有する仕組みを提供してくれます。</p>
<p>以下はGitHubトップページにあるメッセージの引用です。</p>
<blockquote><p>GitHub is a development platform inspired by the way you work. From <a class="text-white jumbotron-link" href="https://github.com/open-source">open source</a> to <a class="text-white jumbotron-link" href="https://github.com/business">business</a>, you can host and review code, manage projects, and build software alongside millions of other developers.</p>
<p>(和訳)</p>
<p>GitHubは、あなたの仕事にひらめきを与える開発プラットフォームです。オープンソースからビジネスまで、数百万人の他の開発者と共に、コードをホストし、レビューし、プロジェクトを管理し、ソフトウェアを構築することができます。</p></blockquote>
<p>&nbsp;</p>
<p>例えば、私がソフトウェアを開発し、GitHub上にソースコードを登録すると、世界中の誰かが、私のソースコードを使ってソフトウェアを改良することができます。</p>
<p>こういう特性は、オープンソースソフトウェアの開発に向いており、私が現場にいた頃はSourceforge.net というサイトが合ったのですが、現在は、GitHubに置き換わった感じなのでしょうか (SourceForge.net はまだ存在するようなので、切り分けが分からないです)。</p>
<p>また、最近世間を賑わせた大きなニュースとして、GitHubは、マイクロソフトに買収されることでも、最近話題になり、ツイッターのトレンドにも入りましたね。</p>
<blockquote class="twitter-tweet" data-width="550" data-dnt="true">
<p lang="en" dir="ltr">We&#39;re thrilled to announce that we&#39;ve entered into an acquisition agreement with <a href="https://twitter.com/Microsoft?ref_src=twsrc%5Etfw">@Microsoft</a>! <a href="https://t.co/4DezuXTJfV">https://t.co/4DezuXTJfV</a> <a href="https://t.co/LUZxjXFVVw">pic.twitter.com/LUZxjXFVVw</a></p>
<p>&mdash; GitHub (@github) <a href="https://twitter.com/github/status/1003623284829638659?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>
<h2>GitHubへの登録方法</h2>
<div class="c_box intitle pink_box type_normal"><div class="box_title"><span class="span__box_title">ポイント2</span></div>
<p>GitHubへの登録は簡単です！</p>
</div>
<p>さっそく、GitHubへの登録を行ってみます。</p>
<p>登録は、<a href="https://github.com">GitHubのトップページ</a>から行います。</p>
<p>ユーザ名、メールアドレス、パスワードを入力して、「Sign up for GitHub」を押下します。</p>
<a href="https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/07/register_github1-e1531380867419.jpg?ssl=1"><img data-attachment-id="1209" data-permalink="https://nikuq299.com/programing/register_github/attachment/register_github1/" data-orig-file="https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/07/register_github1-e1531380867419.jpg?fit=1600%2C908&amp;ssl=1" data-orig-size="1600,908" 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="register_github1" data-image-description="&lt;p&gt;GitHub へ登録する①&lt;/p&gt;
" data-medium-file="https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/07/register_github1-e1531380867419.jpg?fit=300%2C170&amp;ssl=1" data-large-file="https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/07/register_github1-e1531380867419.jpg?fit=728%2C413&amp;ssl=1" class="aligncenter size-large wp-image-1209" src="https://i0.wp.com/nikuq299.com/wp-content/uploads/2018/07/register_github1-e1531380867419-1024x581.jpg?resize=728%2C413&#038;ssl=1" alt="GitHub へ登録する①" width="728" height="413" srcset="https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/07/register_github1-e1531380867419.jpg?resize=1024%2C581&amp;ssl=1 1024w, https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/07/register_github1-e1531380867419.jpg?resize=300%2C170&amp;ssl=1 300w, https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/07/register_github1-e1531380867419.jpg?resize=768%2C436&amp;ssl=1 768w, https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/07/register_github1-e1531380867419.jpg?w=1600&amp;ssl=1 1600w, https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/07/register_github1-e1531380867419.jpg?w=1456&amp;ssl=1 1456w" sizes="(max-width: 728px) 100vw, 728px" data-recalc-dims="1" /></a>
<p>&nbsp;</p>
<p>次の画面では、無料、有料プランを選択するよう言われますが、最初はフリープランで問題ないと思います。</p>
<p>登録したソースコードを第三者へ公開したくない場合は、有料プランを選んでください。</p>
<p>必要事項を選択したら、「Continue」ボタンを押下します。</p>
<a href="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/07/register_github2-e1531381065548.jpg?ssl=1"><img data-attachment-id="1210" data-permalink="https://nikuq299.com/programing/register_github/attachment/register_github2/" data-orig-file="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/07/register_github2-e1531381065548.jpg?fit=1600%2C995&amp;ssl=1" data-orig-size="1600,995" 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="register_github2" data-image-description="&lt;p&gt;GitHub へ登録する②&lt;/p&gt;
" data-medium-file="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/07/register_github2-e1531381065548.jpg?fit=300%2C187&amp;ssl=1" data-large-file="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/07/register_github2-e1531381065548.jpg?fit=728%2C453&amp;ssl=1" class="aligncenter size-large wp-image-1210" src="https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/07/register_github2-e1531381065548-1024x637.jpg?resize=728%2C453&#038;ssl=1" alt="GitHub へ登録する②" width="728" height="453" srcset="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/07/register_github2-e1531381065548.jpg?resize=1024%2C637&amp;ssl=1 1024w, https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/07/register_github2-e1531381065548.jpg?resize=300%2C187&amp;ssl=1 300w, https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/07/register_github2-e1531381065548.jpg?resize=768%2C478&amp;ssl=1 768w, https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/07/register_github2-e1531381065548.jpg?w=1600&amp;ssl=1 1600w, https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/07/register_github2-e1531381065548.jpg?w=1456&amp;ssl=1 1456w" sizes="(max-width: 728px) 100vw, 728px" data-recalc-dims="1" /></a>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>前述のプラン選択を行った後に、登録したメールアドレスにGitHubからメールがきたら、「Verify email address」リンクをクリックして、メールアドレスの認証を行います。</p>
<a href="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/07/register_github3.jpg?ssl=1"><img data-attachment-id="1216" data-permalink="https://nikuq299.com/programing/register_github/attachment/register_github3/" data-orig-file="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/07/register_github3.jpg?fit=1450%2C606&amp;ssl=1" data-orig-size="1450,606" 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="register_github3" data-image-description="&lt;p&gt;GitHub へ登録する③&lt;/p&gt;
" data-medium-file="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/07/register_github3.jpg?fit=300%2C125&amp;ssl=1" data-large-file="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/07/register_github3.jpg?fit=728%2C304&amp;ssl=1" class="aligncenter size-large wp-image-1216" src="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/07/register_github3.jpg?resize=728%2C304&#038;ssl=1" alt="GitHub へ登録する③" width="728" height="304" srcset="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/07/register_github3.jpg?resize=1024%2C428&amp;ssl=1 1024w, https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/07/register_github3.jpg?resize=300%2C125&amp;ssl=1 300w, https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/07/register_github3.jpg?resize=768%2C321&amp;ssl=1 768w, https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/07/register_github3.jpg?w=1450&amp;ssl=1 1450w" sizes="(max-width: 728px) 100vw, 728px" data-recalc-dims="1" /></a>
<p>&nbsp;</p>
<p>メールアドレスの認証を完了すると、登録したメールアドレスへ新たにウェルカムメールが届きます。</p>
<p>これでGitHubへの登録作業は完了です。</p>
<a href="https://i0.wp.com/nikuq299.com/wp-content/uploads/2018/07/register_github4.jpg?ssl=1"><img data-attachment-id="1212" data-permalink="https://nikuq299.com/programing/register_github/attachment/register_github4/" data-orig-file="https://i0.wp.com/nikuq299.com/wp-content/uploads/2018/07/register_github4.jpg?fit=1456%2C1118&amp;ssl=1" data-orig-size="1456,1118" 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="register_github4" data-image-description="&lt;p&gt;GitHub へ登録する④&lt;/p&gt;
" data-medium-file="https://i0.wp.com/nikuq299.com/wp-content/uploads/2018/07/register_github4.jpg?fit=300%2C230&amp;ssl=1" data-large-file="https://i0.wp.com/nikuq299.com/wp-content/uploads/2018/07/register_github4.jpg?fit=728%2C559&amp;ssl=1" class="aligncenter size-large wp-image-1212" src="https://i0.wp.com/nikuq299.com/wp-content/uploads/2018/07/register_github4.jpg?resize=728%2C559&#038;ssl=1" alt="GitHub へ登録する④" width="728" height="559" srcset="https://i0.wp.com/nikuq299.com/wp-content/uploads/2018/07/register_github4.jpg?resize=1024%2C786&amp;ssl=1 1024w, https://i0.wp.com/nikuq299.com/wp-content/uploads/2018/07/register_github4.jpg?resize=300%2C230&amp;ssl=1 300w, https://i0.wp.com/nikuq299.com/wp-content/uploads/2018/07/register_github4.jpg?resize=768%2C590&amp;ssl=1 768w, https://i0.wp.com/nikuq299.com/wp-content/uploads/2018/07/register_github4.jpg?w=1456&amp;ssl=1 1456w" sizes="(max-width: 728px) 100vw, 728px" data-recalc-dims="1" /></a>
<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>これでGitHubへの登録を完了。ブログで公開するソースをGitHubで公開してみたい！</p>
</div>
<p>GitHubの登録は、意外と簡単に完了しました。</p>
<p>私自身、まだGitHubについて理解が浅いため、うまく使いこなせるよう勉強していきます。</p>
<p>ブログでソースコードを公開する場合に、GitHubとかうまく使えればよいのですが。</p>
<p>GitHubの初利用も兼ねて、今週末辺りに、Swiftで何か作ってみようと思います。</p>
<p>それでは。ごきげんよう。</p>
<p>投稿 <a rel="nofollow" href="https://nikuq299.com/programing/register_github/">GitHub へユーザ登録してみました</a> は <a rel="nofollow" href="https://nikuq299.com">肉球ログ</a> に最初に表示されました。</p>
]]></content:encoded>
							<wfw:commentRss>https://nikuq299.com/programing/register_github/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
						<post-id xmlns="com-wordpress:feed-additions:1">1207</post-id>	</item>
		<item>
		<title>Progate の プログラミング レッスン を試してみました</title>
		<link>https://nikuq299.com/programing/try_progate/</link>
				<comments>https://nikuq299.com/programing/try_progate/#respond</comments>
				<pubDate>Tue, 10 Jul 2018 13:44:48 +0000</pubDate>
		<dc:creator><![CDATA[肉球]]></dc:creator>
				<category><![CDATA[プログラミング]]></category>

		<guid isPermaLink="false">https://nikuq299.com/?p=1162</guid>
				<description><![CDATA[<p>どうもこんばんは。肉球 (@nikuq299com) です。 今日は、久々にプログラミング関連の調べ物をしていました。 ブログにカテゴリを作っておきながら、まったく記事を書いていなかったのでメニューから消してしまいました...</p>
<p>投稿 <a rel="nofollow" href="https://nikuq299.com/programing/try_progate/">Progate の プログラミング レッスン を試してみました</a> は <a rel="nofollow" href="https://nikuq299.com">肉球ログ</a> に最初に表示されました。</p>
]]></description>
								<content:encoded><![CDATA[<p>どうもこんばんは。肉球 (<a href="https://twitter.com/nikuq299com">@nikuq299com</a>) です。</p>
<p>今日は、久々にプログラミング関連の調べ物をしていました。</p>
<p>ブログにカテゴリを作っておきながら、まったく記事を書いていなかったのでメニューから消してしまいましたが、少しずつ記事を充実させていくつもりです。</p>
<p>本日は、Web上でプログラミングを学習できるProgateに入会し、実際に無料レッスンを受けてみました。</p>
<p>これからプログラミングの勉強をしてみたい、という方の参考になれば幸いです。</p>
<p><span id="more-1162"></span></p>
<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>以下は、公式サイトに載っている会社メッセージの引用です。</p>
<blockquote><p>プログラミングは世界を変える力です。<br />
そしてあなたの人生を変える力です。</p>
<p>この信念は、私たち自身がプログラミングで人生を変えてきた原体験に基づいています。<br />
この原体験をもとに、Progateは「初心者から、創れる人を生み出す」ことを理念としています。</p>
<p><span style="color: #ff0000;">プログラミングの最初のハードルを徹底的に低くし、世界一わかりやすく、楽しい学習環境を作ります。</span>プログラミングを学びたい人の、せっかくの一歩を挫折で終わらせないために、私たちは全力で皆様に寄り添い、日本のプログラミング教育を変えていきます。</p>
<p>私たちと一緒にプログラミングを学んでみませんか？</p></blockquote>
<p>&nbsp;</p>
<p>Progateの思想は、プログラミング未経験からでも学習できるようにすることをコンセプトにしているようです。</p>
<p>公式サイトで公開しているレッスンは、Webサイトの構築に必要な「<a href="https://ja.wikipedia.org/wiki/HyperText_Markup_Language">HTML</a> &amp; <a href="https://ja.wikipedia.org/wiki/Cascading_Style_Sheets">CSS</a>」を含めて、WordPressの開発言語である<a href="https://ja.wikipedia.org/wiki/PHP_(プログラミング言語)">PHP</a>、<a href="https://ja.wikipedia.org/wiki/人工知能">AI</a>の<a href="https://ja.wikipedia.org/wiki/ディープラーニング">ディープラーニング</a>の実装でよく取り上げられる<a href="https://ja.wikipedia.org/wiki/Python">Python</a>など、14種類も公開されていました。</p>
<p>&nbsp;</p>
<h2>Progate とは</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>無料でレッスンを体験するために必要な作業は、ユーザIDの登録のみなので、さっと試すには手間がかからなくて良いと思います。</p>
<p>会社メッセージの「プログラミングの最初のハードルを徹底的に低くし、世界一わかりやすく、楽しい学習環境を作ります」という言葉にウソはなさそうです。</p>
<p>&nbsp;</p>
<h3>ユーザID登録方法</h3>
<p>Progateは、利用するためにユーザ登録 (無料) をする必要があります。</p>
<p>まずは、公式サイトの<a href="https://prog-8.com">トップ画面</a>に遷移します。</p>
<p>&nbsp;</p>
<a href="https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/07/register_to_progate1-e1531227636158.jpg?ssl=1"><img data-attachment-id="1164" data-permalink="https://nikuq299.com/programing/try_progate/attachment/register_to_progate1/" data-orig-file="https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/07/register_to_progate1-e1531227636158.jpg?fit=1600%2C995&amp;ssl=1" data-orig-size="1600,995" 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="register_to_progate1" data-image-description="&lt;p&gt;Progate ユーザID登録①&lt;/p&gt;
" data-medium-file="https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/07/register_to_progate1-e1531227636158.jpg?fit=300%2C187&amp;ssl=1" data-large-file="https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/07/register_to_progate1-e1531227636158.jpg?fit=728%2C453&amp;ssl=1" class="aligncenter size-large wp-image-1164" src="https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/07/register_to_progate1-e1531227636158-1024x637.jpg?resize=728%2C453&#038;ssl=1" alt="Progate ユーザID登録①" width="728" height="453" srcset="https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/07/register_to_progate1-e1531227636158.jpg?resize=1024%2C637&amp;ssl=1 1024w, https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/07/register_to_progate1-e1531227636158.jpg?resize=300%2C187&amp;ssl=1 300w, https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/07/register_to_progate1-e1531227636158.jpg?resize=768%2C478&amp;ssl=1 768w, https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/07/register_to_progate1-e1531227636158.jpg?w=1600&amp;ssl=1 1600w, https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/07/register_to_progate1-e1531227636158.jpg?w=1456&amp;ssl=1 1456w" sizes="(max-width: 728px) 100vw, 728px" data-recalc-dims="1" /></a>
<p>&nbsp;</p>
<p>無料会員登録ボタンを押下し、「メールアドレスで登録」を選択する。</p>
<p>FacebookやTwitterのアカウントで登録することも可能です。</p>
<p>&nbsp;</p>
<a href="https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/07/register_to_progate2-e1531227665332.jpg?ssl=1"><img data-attachment-id="1165" data-permalink="https://nikuq299.com/programing/try_progate/attachment/register_to_progate2/" data-orig-file="https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/07/register_to_progate2-e1531227665332.jpg?fit=1600%2C995&amp;ssl=1" data-orig-size="1600,995" 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="register_to_progate2" data-image-description="&lt;p&gt;Progate ユーザID登録②&lt;/p&gt;
" data-medium-file="https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/07/register_to_progate2-e1531227665332.jpg?fit=300%2C187&amp;ssl=1" data-large-file="https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/07/register_to_progate2-e1531227665332.jpg?fit=728%2C453&amp;ssl=1" class="aligncenter size-large wp-image-1165" src="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/07/register_to_progate2-e1531227665332-1024x637.jpg?resize=728%2C453&#038;ssl=1" alt="Progate ユーザID登録②" width="728" height="453" srcset="https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/07/register_to_progate2-e1531227665332.jpg?resize=1024%2C637&amp;ssl=1 1024w, https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/07/register_to_progate2-e1531227665332.jpg?resize=300%2C187&amp;ssl=1 300w, https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/07/register_to_progate2-e1531227665332.jpg?resize=768%2C478&amp;ssl=1 768w, https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/07/register_to_progate2-e1531227665332.jpg?w=1600&amp;ssl=1 1600w, https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/07/register_to_progate2-e1531227665332.jpg?w=1456&amp;ssl=1 1456w" sizes="(max-width: 728px) 100vw, 728px" data-recalc-dims="1" /></a>
<p>&nbsp;</p>
<p>無料会員登録ボタンを押下し、必要情報を入力します。</p>
<p>&nbsp;</p>
<a href="https://i0.wp.com/nikuq299.com/wp-content/uploads/2018/07/register_to_progate3-e1531227704507.jpg?ssl=1"><img data-attachment-id="1166" data-permalink="https://nikuq299.com/programing/try_progate/attachment/register_to_progate3/" data-orig-file="https://i0.wp.com/nikuq299.com/wp-content/uploads/2018/07/register_to_progate3-e1531227704507.jpg?fit=2048%2C1274&amp;ssl=1" data-orig-size="2048,1274" 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="register_to_progate3" data-image-description="&lt;p&gt;Progate ユーザID登録②&lt;/p&gt;
" data-medium-file="https://i0.wp.com/nikuq299.com/wp-content/uploads/2018/07/register_to_progate3-e1531227704507.jpg?fit=300%2C187&amp;ssl=1" data-large-file="https://i0.wp.com/nikuq299.com/wp-content/uploads/2018/07/register_to_progate3-e1531227704507.jpg?fit=728%2C453&amp;ssl=1" class="aligncenter size-large wp-image-1166" src="https://i0.wp.com/nikuq299.com/wp-content/uploads/2018/07/register_to_progate3-e1531227704507-1024x637.jpg?resize=728%2C453&#038;ssl=1" alt="Progate ユーザID登録②" width="728" height="453" srcset="https://i0.wp.com/nikuq299.com/wp-content/uploads/2018/07/register_to_progate3-e1531227704507.jpg?resize=1024%2C637&amp;ssl=1 1024w, https://i0.wp.com/nikuq299.com/wp-content/uploads/2018/07/register_to_progate3-e1531227704507.jpg?resize=300%2C187&amp;ssl=1 300w, https://i0.wp.com/nikuq299.com/wp-content/uploads/2018/07/register_to_progate3-e1531227704507.jpg?resize=768%2C478&amp;ssl=1 768w, https://i0.wp.com/nikuq299.com/wp-content/uploads/2018/07/register_to_progate3-e1531227704507.jpg?w=2048&amp;ssl=1 2048w, https://i0.wp.com/nikuq299.com/wp-content/uploads/2018/07/register_to_progate3-e1531227704507.jpg?w=1456&amp;ssl=1 1456w" sizes="(max-width: 728px) 100vw, 728px" data-recalc-dims="1" /></a>
<p>&nbsp;</p>
<p>必要情報を入力すると、「新規登録ボタン」が活性化するので、押下する。</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<a href="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/07/register_to_progate4-e1531227742167.jpg?ssl=1"><img data-attachment-id="1167" data-permalink="https://nikuq299.com/programing/try_progate/attachment/register_to_progate4/" data-orig-file="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/07/register_to_progate4-e1531227742167.jpg?fit=737%2C1130&amp;ssl=1" data-orig-size="737,1130" 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="register_to_progate4" data-image-description="&lt;p&gt;Progate ユーザID登録④&lt;/p&gt;
" data-medium-file="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/07/register_to_progate4-e1531227742167.jpg?fit=196%2C300&amp;ssl=1" data-large-file="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/07/register_to_progate4-e1531227742167.jpg?fit=668%2C1024&amp;ssl=1" class="aligncenter size-large wp-image-1167" src="https://i0.wp.com/nikuq299.com/wp-content/uploads/2018/07/register_to_progate4-e1531227742167-668x1024.jpg?resize=668%2C1024&#038;ssl=1" alt="Progate ユーザID登録④" width="668" height="1024" srcset="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/07/register_to_progate4-e1531227742167.jpg?resize=668%2C1024&amp;ssl=1 668w, https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/07/register_to_progate4-e1531227742167.jpg?resize=196%2C300&amp;ssl=1 196w, https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/07/register_to_progate4-e1531227742167.jpg?w=737&amp;ssl=1 737w" sizes="(max-width: 668px) 100vw, 668px" data-recalc-dims="1" /></a>
<p>この画面に来たら、メールアドレスの認証を促されるため、Progate からのメールを確認する。</p>
<p>&nbsp;</p>
<a href="https://i0.wp.com/nikuq299.com/wp-content/uploads/2018/07/register_to_progate5.jpg?ssl=1"><img data-attachment-id="1189" data-permalink="https://nikuq299.com/programing/try_progate/attachment/register_to_progate5/" data-orig-file="https://i0.wp.com/nikuq299.com/wp-content/uploads/2018/07/register_to_progate5.jpg?fit=2048%2C1270&amp;ssl=1" data-orig-size="2048,1270" 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="register_to_progate5" data-image-description="&lt;p&gt;Progate ユーザID登録⑤&lt;/p&gt;
" data-medium-file="https://i0.wp.com/nikuq299.com/wp-content/uploads/2018/07/register_to_progate5.jpg?fit=300%2C186&amp;ssl=1" data-large-file="https://i0.wp.com/nikuq299.com/wp-content/uploads/2018/07/register_to_progate5.jpg?fit=728%2C451&amp;ssl=1" class="aligncenter size-large wp-image-1189" src="https://i0.wp.com/nikuq299.com/wp-content/uploads/2018/07/register_to_progate5.jpg?resize=728%2C451&#038;ssl=1" alt="Progate ユーザID登録⑤" width="728" height="451" srcset="https://i0.wp.com/nikuq299.com/wp-content/uploads/2018/07/register_to_progate5.jpg?resize=1024%2C635&amp;ssl=1 1024w, https://i0.wp.com/nikuq299.com/wp-content/uploads/2018/07/register_to_progate5.jpg?resize=300%2C186&amp;ssl=1 300w, https://i0.wp.com/nikuq299.com/wp-content/uploads/2018/07/register_to_progate5.jpg?resize=768%2C476&amp;ssl=1 768w, https://i0.wp.com/nikuq299.com/wp-content/uploads/2018/07/register_to_progate5.jpg?w=2048&amp;ssl=1 2048w, https://i0.wp.com/nikuq299.com/wp-content/uploads/2018/07/register_to_progate5.jpg?w=1456&amp;ssl=1 1456w" sizes="(max-width: 728px) 100vw, 728px" data-recalc-dims="1" /></a>
<p>下記のようなメールが来るので、「メールアドレスを認証する」に記載するリンクを押下する。</p>
<p>&nbsp;</p>
<a href="https://i0.wp.com/nikuq299.com/wp-content/uploads/2018/07/register_to_progate6.jpg?ssl=1"><img data-attachment-id="1173" data-permalink="https://nikuq299.com/programing/try_progate/attachment/register_to_progate6/" data-orig-file="https://i0.wp.com/nikuq299.com/wp-content/uploads/2018/07/register_to_progate6.jpg?fit=1464%2C892&amp;ssl=1" data-orig-size="1464,892" 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="register_to_progate6" data-image-description="&lt;p&gt;Progate ユーザID登録⑥&lt;/p&gt;
" data-medium-file="https://i0.wp.com/nikuq299.com/wp-content/uploads/2018/07/register_to_progate6.jpg?fit=300%2C183&amp;ssl=1" data-large-file="https://i0.wp.com/nikuq299.com/wp-content/uploads/2018/07/register_to_progate6.jpg?fit=728%2C444&amp;ssl=1" class="aligncenter size-large wp-image-1173" src="https://i0.wp.com/nikuq299.com/wp-content/uploads/2018/07/register_to_progate6.jpg?resize=728%2C444&#038;ssl=1" alt="Progate ユーザID登録⑥" width="728" height="444" srcset="https://i0.wp.com/nikuq299.com/wp-content/uploads/2018/07/register_to_progate6.jpg?resize=1024%2C624&amp;ssl=1 1024w, https://i0.wp.com/nikuq299.com/wp-content/uploads/2018/07/register_to_progate6.jpg?resize=300%2C183&amp;ssl=1 300w, https://i0.wp.com/nikuq299.com/wp-content/uploads/2018/07/register_to_progate6.jpg?resize=768%2C468&amp;ssl=1 768w, https://i0.wp.com/nikuq299.com/wp-content/uploads/2018/07/register_to_progate6.jpg?w=1464&amp;ssl=1 1464w" sizes="(max-width: 728px) 100vw, 728px" data-recalc-dims="1" /></a>
<p>メールアドレスを認証すれば、レッスンの準備完了です。</p>
<p>&nbsp;</p>
<a href="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/07/register_to_progate7.jpg?ssl=1"><img data-attachment-id="1187" data-permalink="https://nikuq299.com/programing/try_progate/attachment/register_to_progate7/" data-orig-file="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/07/register_to_progate7.jpg?fit=2048%2C1269&amp;ssl=1" data-orig-size="2048,1269" 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="register_to_progate7" data-image-description="&lt;p&gt;Progate ユーザID登録⑦&lt;/p&gt;
" data-medium-file="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/07/register_to_progate7.jpg?fit=300%2C186&amp;ssl=1" data-large-file="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/07/register_to_progate7.jpg?fit=728%2C451&amp;ssl=1" class="aligncenter size-large wp-image-1187" src="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/07/register_to_progate7.jpg?resize=728%2C451&#038;ssl=1" alt="Progate ユーザID登録⑦" width="728" height="451" srcset="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/07/register_to_progate7.jpg?resize=1024%2C635&amp;ssl=1 1024w, https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/07/register_to_progate7.jpg?resize=300%2C186&amp;ssl=1 300w, https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/07/register_to_progate7.jpg?resize=768%2C476&amp;ssl=1 768w, https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/07/register_to_progate7.jpg?w=2048&amp;ssl=1 2048w, https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/07/register_to_progate7.jpg?w=1456&amp;ssl=1 1456w" sizes="(max-width: 728px) 100vw, 728px" data-recalc-dims="1" /></a>
<p>&nbsp;</p>
<p>ここからは、各自好きなコースを選択してレッスンを受けます。</p>
<p>この画面の下には、HTML &amp; CSS コースしか記載がありませんが、レッスン一覧から他のレッスンを受けることも可能です (私はGit のレッスンを受けてみました) 。</p>
<p>&nbsp;</p>
<h3>実際にレッスンを受けてみる</h3>
<p>レッスンの内容についてスクリーンショットを載せると、さすがに著作権の問題がでそうなので、Progateの公式サイトに載っている紹介用のスクリーンショットを載せます。</p>
<p>&nbsp;</p>
<h4>教材について</h4>
<p>教材は、初心者を意識して作られているので、シンプルで分かりやすい内容でした。</p>
<p>下記は、HTMLのレッスンで使用する教材だと思いますが、実際の画面とコードの対比を行えるようになっており、自分が書いたコードが画面のどこへ反映するのか、わかりやすくなっています。</p>
<a href="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/07/progate-service1-e1531210372193.png?ssl=1"><img data-attachment-id="1176" data-permalink="https://nikuq299.com/programing/try_progate/attachment/progate-service1/" data-orig-file="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/07/progate-service1-e1531210372193.png?fit=1600%2C801&amp;ssl=1" data-orig-size="1600,801" 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="progate-service1" data-image-description="&lt;p&gt;Progate レッスン画面①&lt;/p&gt;
" data-medium-file="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/07/progate-service1-e1531210372193.png?fit=300%2C150&amp;ssl=1" data-large-file="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/07/progate-service1-e1531210372193.png?fit=728%2C365&amp;ssl=1" class="aligncenter size-large wp-image-1176" src="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/07/progate-service1.png?resize=728%2C365&#038;ssl=1" alt="Progate レッスン画面①" width="728" height="365" data-recalc-dims="1" /></a>
<p>&nbsp;</p>
<h4>開発環境について</h4>
<p>ここが、初心者にとって最も嬉しいところだと思います。</p>
<p>HTMLやCSSは、テキストエディタだけあればよいのですが、Webのマークアップ言語でなく、Swiftや Java などのプログラム言語は、書いたコードをOSが読めるよう、機械語に変換するコンパイラの準備や、バグが出た場合のデバッグ環境など、コードを書く前にすべきことがたくさんあります。</p>
<p>しかし、Progateは、そういった前準備を行わずにレッスンできる設計になっているようで、利用者はコーディングだけを行えば良い環境となっているため、よくあるコーディングする前に挫折、という問題はなさそうです 。</p>
<p>少なくとも、私が体験したGitは、まったく環境に関する設定をせずにレッスンに入れました。</p>
<a href="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/07/progate-service2-e1531210782485.png?ssl=1"><img data-attachment-id="1177" data-permalink="https://nikuq299.com/programing/try_progate/attachment/progate-service2/" data-orig-file="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/07/progate-service2-e1531210782485.png?fit=1600%2C801&amp;ssl=1" data-orig-size="1600,801" 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="progate-service2" data-image-description="&lt;p&gt;Progate レッスン画面②&lt;/p&gt;
" data-medium-file="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/07/progate-service2-e1531210782485.png?fit=300%2C150&amp;ssl=1" data-large-file="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/07/progate-service2-e1531210782485.png?fit=728%2C365&amp;ssl=1" class="aligncenter size-large wp-image-1177" src="https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/07/progate-service2.png?resize=728%2C365&#038;ssl=1" alt="Progate レッスン画面②" width="728" height="365" data-recalc-dims="1" /></a>
<p>この配布用画像を使う規約上、画像上に注釈を載せることができないのですが、私がレッスンを受けたGitの場合、真ん中の黒画面はターミナル (コマンドを打ち込む黒画面) と同様の挙動を示し、事前にGitのインストールや設定を行う必要がありませんでした 。</p>
<p>もしかしたら、私はMacを使っており、MacはデフォルトでGitをインストールしているからかもしれませんが。</p>
<p>HTML&amp;CSSレッスンの冒頭を試してみたところ、このHTML &amp; CSS のコードも、右の画面と連動する仕掛けになっていました。</p>
<p>&nbsp;</p>
<h4>レッスンを終了すると</h4>
<p>レッスンを終了すると、こんな感じになります。</p>
<a href="https://i0.wp.com/nikuq299.com/wp-content/uploads/2018/07/progate-service3-e1531211062988.png?ssl=1"><img data-attachment-id="1178" data-permalink="https://nikuq299.com/programing/try_progate/attachment/progate-service3/" data-orig-file="https://i0.wp.com/nikuq299.com/wp-content/uploads/2018/07/progate-service3-e1531211062988.png?fit=1600%2C801&amp;ssl=1" data-orig-size="1600,801" 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="progate-service3" data-image-description="&lt;p&gt;Progate レッスン画面③&lt;/p&gt;
" data-medium-file="https://i0.wp.com/nikuq299.com/wp-content/uploads/2018/07/progate-service3-e1531211062988.png?fit=300%2C150&amp;ssl=1" data-large-file="https://i0.wp.com/nikuq299.com/wp-content/uploads/2018/07/progate-service3-e1531211062988.png?fit=728%2C365&amp;ssl=1" class="aligncenter size-large wp-image-1178" src="https://i0.wp.com/nikuq299.com/wp-content/uploads/2018/07/progate-service3.png?resize=728%2C365&#038;ssl=1" alt="Progate レッスン画面③" width="728" height="365" data-recalc-dims="1" /></a>
<p>&nbsp;</p>
<p>私はGitのレッスンを終了して、Lv7になりました。</p>
<p>&nbsp;</p>
<a href="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/07/register_to_progate8.jpg?ssl=1"><img data-attachment-id="1188" data-permalink="https://nikuq299.com/programing/try_progate/attachment/register_to_progate8/" data-orig-file="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/07/register_to_progate8.jpg?fit=2048%2C1271&amp;ssl=1" data-orig-size="2048,1271" 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="register_to_progate8" data-image-description="" data-medium-file="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/07/register_to_progate8.jpg?fit=300%2C186&amp;ssl=1" data-large-file="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/07/register_to_progate8.jpg?fit=728%2C452&amp;ssl=1" class="aligncenter size-large wp-image-1188" src="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/07/register_to_progate8.jpg?resize=728%2C452&#038;ssl=1" alt="" width="728" height="452" srcset="https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/07/register_to_progate8.jpg?resize=1024%2C636&amp;ssl=1 1024w, https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/07/register_to_progate8.jpg?resize=300%2C186&amp;ssl=1 300w, https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/07/register_to_progate8.jpg?resize=768%2C477&amp;ssl=1 768w, https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/07/register_to_progate8.jpg?w=2048&amp;ssl=1 2048w, https://i1.wp.com/nikuq299.com/wp-content/uploads/2018/07/register_to_progate8.jpg?w=1456&amp;ssl=1 1456w" sizes="(max-width: 728px) 100vw, 728px" data-recalc-dims="1" /></a>
<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>初心者は本を買う前に、Progate のサービスを試してみてもよいかも！</p>
</div>
<p>無料レッスンを試してみた感想ですが、Progate はターゲットを初心者にしているため、勉強をするための最初のハードルがかなり低く設定されており、おすすめできる内容かなと思います。</p>
<p>逆に、ある程度理解が進んでいる人や、応用を学びたい人には、無料レッスンだと物足りないかもしれません。</p>
<p>また、Gitのレッスンを受けての感想ですが、コマンドの操作など、実際にて使う場面に対しては、分かりやすいと思いましたが、Git とはそもそもどのような思想を元に設計されているのか、なぜそのコマンドを操作するのか、というような説明が不足しているかなと思いました (そういった点は別で勉強しろと言うことなのでしょうか？)。</p>
<p>もしかしたら、私が感じた問題点は、<a href="https://prog-8.com/plans/for_users">有料プラン</a>で全て解決できているのかもしれません。</p>
<p><a href="https://prog-8.com/lessons/info">公式サイト</a>で確認したところ、有料プランのレッスン数は全部で67 ありました (無料レッスン含む)。</p>
<p>有料プランである「プラス会員」は、月額980円 (税込) となりますが、14の言語レッスンを受けることができることを考えると、非常にお得なプランだと思います。</p>
<p>プログラミングに関する専門書は、ニッチ市場のため価格が高く、1冊数千円くらいかかると思います。</p>
<p>それであれば、1ヶ月みっちりProgate で色々な言語を980円で勉強するのはありかな、と思いました。</p>
<p>Progate の公式サイトは下記のボタンから遷移できます。</p>
<a href="https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/07/Progate_logo1.jpg?ssl=1"><img data-attachment-id="1182" data-permalink="https://nikuq299.com/programing/try_progate/attachment/progate_logo1/" data-orig-file="https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/07/Progate_logo1.jpg?fit=1000%2C410&amp;ssl=1" data-orig-size="1000,410" 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="Progate_logo1" data-image-description="&lt;p&gt;Progate リンク&lt;/p&gt;
" data-medium-file="https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/07/Progate_logo1.jpg?fit=300%2C123&amp;ssl=1" data-large-file="https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/07/Progate_logo1.jpg?fit=728%2C298&amp;ssl=1" class="aligncenter size-medium wp-image-1182" src="https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/07/Progate_logo1.jpg?resize=300%2C123&#038;ssl=1" alt="Progate リンク" width="300" height="123" srcset="https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/07/Progate_logo1.jpg?resize=300%2C123&amp;ssl=1 300w, https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/07/Progate_logo1.jpg?resize=768%2C315&amp;ssl=1 768w, https://i2.wp.com/nikuq299.com/wp-content/uploads/2018/07/Progate_logo1.jpg?w=1000&amp;ssl=1 1000w" sizes="(max-width: 300px) 100vw, 300px" data-recalc-dims="1" /></a>
<p>また、iOSのアプリも公開しているみたいなので、よかったらダウンロードしてみてください。</p>
<p><iframe style="overflow-x: hidden; overflow-y: hidden; width: 300px; height: 250px; border: 0px;" src="//banners.itunes.apple.com/banner.html?partnerId=&amp;aId=1010lMun&amp;bt=catalog&amp;t=catalog_white&amp;id=1335868128&amp;c=jp&amp;l=ja-JP&amp;w=300&amp;h=250&amp;store=apps" frameborder="0"></iframe></p>
<p>それでは。ごきげんよう。</p>
<p>&nbsp;</p>
<p>投稿 <a rel="nofollow" href="https://nikuq299.com/programing/try_progate/">Progate の プログラミング レッスン を試してみました</a> は <a rel="nofollow" href="https://nikuq299.com">肉球ログ</a> に最初に表示されました。</p>
]]></content:encoded>
							<wfw:commentRss>https://nikuq299.com/programing/try_progate/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
						<post-id xmlns="com-wordpress:feed-additions:1">1162</post-id>	</item>
	</channel>
</rss>
