<?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/"
	>

<channel>
	<title>あらびき林檎。 &#187; iPhone</title>
	<atom:link href="http://splitchin.com/tech/tag/iphone/feed/" rel="self" type="application/rss+xml" />
	<link>http://splitchin.com/tech</link>
	<description>Macや, iPhoneでの,Webデザイン,アプリ開発などを綴ってます。</description>
	<lastBuildDate>Sat, 04 Sep 2010 15:49:45 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>iPhoneアプリ 世界時計 &#8220;Palm+Piece&#8221;</title>
		<link>http://splitchin.com/tech/2010/08/10/iphone%e3%82%a2%e3%83%97%e3%83%aa-%e4%b8%96%e7%95%8c%e6%99%82%e8%a8%88-palmpiece/</link>
		<comments>http://splitchin.com/tech/2010/08/10/iphone%e3%82%a2%e3%83%97%e3%83%aa-%e4%b8%96%e7%95%8c%e6%99%82%e8%a8%88-palmpiece/#comments</comments>
		<pubDate>Mon, 09 Aug 2010 15:57:09 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Object-C]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[iPhone SDK4]]></category>
		<category><![CDATA[iPhoneアプリ]]></category>
		<category><![CDATA[palm+piece]]></category>

		<guid isPermaLink="false">http://splitchin.com/tech/?p=1240</guid>
		<description><![CDATA[				
				iPhoneアプリ 世界時計　&#8221;Plam+Piece&#8221;をリリースしました！
				&#8220;Palm+Piece&#8221;は、iPhoneの回転方向に合わせて、
			 [...]]]></description>
			<content:encoded><![CDATA[				<p><object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/8H0LEN7OaJE&amp;hl=ja_JP&amp;fs=1?rel=0"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/8H0LEN7OaJE&amp;hl=ja_JP&amp;fs=1?rel=0" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object></p>
				<p>iPhoneアプリ 世界時計　&#8221;Plam+Piece&#8221;をリリースしました！</p>
				<p>&#8220;Palm+Piece&#8221;は、iPhoneの回転方向に合わせて、<br />
				「東京」「上海」「ロンドン」「ニューヨーク」と、<br />
				時刻とデザインが変化する、世界時計です。</p>
				<p>また、画面をタップすると、国花が舞い散ります。</p>
				<p><a href="http://splitchin.com/work/palm+piece/" >詳細はこちら</a></p>
				<p>↓　ダウンロードはこちらから<br />
				<a href="http://ax.itunes.apple.com/jp/app/palm-piece/id385538935?mt=8" target="new"><img src="http://splitchin.com/tech/wp-content/uploads/2010/08/apstlogo.gif" alt="AppStoreからダウンロード" title="apstlogo" width="150" height="51" class="alignleft size-full wp-image-1246" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://splitchin.com/tech/2010/08/10/iphone%e3%82%a2%e3%83%97%e3%83%aa-%e4%b8%96%e7%95%8c%e6%99%82%e8%a8%88-palmpiece/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iPhone 4 シミュレーターを試してみた。</title>
		<link>http://splitchin.com/tech/2010/06/13/iphone-4-%e3%82%b7%e3%83%9f%e3%83%a5%e3%83%ac%e3%83%bc%e3%82%bf%e3%83%bc%e3%82%92%e8%a9%a6%e3%81%97%e3%81%a6%e3%81%bf%e3%81%9f%e3%80%82/</link>
		<comments>http://splitchin.com/tech/2010/06/13/iphone-4-%e3%82%b7%e3%83%9f%e3%83%a5%e3%83%ac%e3%83%bc%e3%82%bf%e3%83%bc%e3%82%92%e8%a9%a6%e3%81%97%e3%81%a6%e3%81%bf%e3%81%9f%e3%80%82/#comments</comments>
		<pubDate>Sat, 12 Jun 2010 16:41:32 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[iPhone SDK4]]></category>
		<category><![CDATA[その他]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[iPhone4]]></category>
		<category><![CDATA[iPhoneシミュレーター]]></category>

		<guid isPermaLink="false">http://splitchin.com/tech/?p=1125</guid>
		<description><![CDATA[				iPhone SDK4 GMをセットアップしたので、
				iPhone 4 Simulatorを起動してみました。
				1. シミュレーターを起動する
				パス結構深いです。
				「Macinto [...]]]></description>
			<content:encoded><![CDATA[				<p>iPhone SDK4 GMをセットアップしたので、<br />
				iPhone 4 Simulatorを起動してみました。</p>
				<h4>1. シミュレーターを起動する</h4>
				<p>パス結構深いです。<br />
				「Macintosh HD」→「Developer」→「Platforms」→<br />
				「iPhoneSimulator.platform」→「Developer」→「Applications」<br />
				→ iPhone Simulator</p>
				<h4>2. シミュレーターの種類</h4>
				<p><img src="http://splitchin.com/tech/wp-content/uploads/2010/06/iPhoneSimMenu-300x68.png" alt="iPHoneシミュレーター" title="" width="300" height="68" class="alignleft size-medium wp-image-1127" /></p>
				<p>3種類、シミュレーターが入っています。<br />
				・「iPhone」320×480　アスペクト比3:2（3G/GS）※実機は、163ppi<br />
				・「iPad」1024×768 　アスペクト比4:3 ※実機は、132ppi<br />
				・「iPhone4」960×640　アスペクト比3:2　※実機は、326ppi</p>
				<h4>3. iPhone4 Safariを起動してみる。</h4>
				<p><img src="http://splitchin.com/tech/wp-content/uploads/2010/06/iPhone-safari.png" alt="iPhone4 Safari" title="" width="320" height="457" class="alignleft size-full wp-image-1128" /></p>
				<p>iPhone最適化されたページも、<br />
				テキストやレイアウトは高精細モードに対応してますね。<br />
				ただ、画像やアイコンは荒くなりますね。</p>
				<h4>ホームスクリーンのアイコン</h4>
				<p><img src="http://splitchin.com/tech/wp-content/uploads/2010/06/iPhonei4con.png" alt="" title="iPhonei4con" width="395" height="459" class="alignleft size-full wp-image-1129" /></p>
				<p>
				iPhone用の52pxと、恐らくiPhone4用に最適化された<br />
				高精細モードのアイコンとでは、画質に差が出ますね。</p>
				<p>これは、Retinaディスプレイ3.5inch,<br />
				iPhone3Gモデルのディスプレイの4倍に当たる326 ppiで<br />
				見るとどうなるか、実機で見てみたいですね。 </p>
				<p><!-- Amazon area --></p>
				<div class="amazon-are">
				<iframe src="http://rcm-jp.amazon.co.jp/e/cm?lt1=_blank&#038;bc1=FFFFFF&#038;IS2=1&#038;npa=1&#038;bg1=FFFFFF&#038;fc1=000000&#038;lc1=333333&#038;t=i7llcom-22&#038;o=9&#038;p=8&#038;l=as1&#038;m=amazon&#038;f=ifr&#038;md=1X69VDGQCMF7Z30FM082&#038;asins=4797353279" style="width:120px;height:240px;" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"></iframe>
				</div>
				<p><!-- /Amazon area --></p>
]]></content:encoded>
			<wfw:commentRss>http://splitchin.com/tech/2010/06/13/iphone-4-%e3%82%b7%e3%83%9f%e3%83%a5%e3%83%ac%e3%83%bc%e3%82%bf%e3%83%bc%e3%82%92%e8%a9%a6%e3%81%97%e3%81%a6%e3%81%bf%e3%81%9f%e3%80%82/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iPhoneアプリ　ステータスバーを消す</title>
		<link>http://splitchin.com/tech/2010/03/29/iphone%e3%82%a2%e3%83%97%e3%83%aa%e3%80%80%e3%82%b9%e3%83%86%e3%83%bc%e3%82%bf%e3%82%b9%e3%83%90%e3%83%bc%e3%82%92%e6%b6%88%e3%81%99/</link>
		<comments>http://splitchin.com/tech/2010/03/29/iphone%e3%82%a2%e3%83%97%e3%83%aa%e3%80%80%e3%82%b9%e3%83%86%e3%83%bc%e3%82%bf%e3%82%b9%e3%83%90%e3%83%bc%e3%82%92%e6%b6%88%e3%81%99/#comments</comments>
		<pubDate>Sun, 28 Mar 2010 15:22:47 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Object-C]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[iPhone SDK 3]]></category>
		<category><![CDATA[UIStatusBar]]></category>

		<guid isPermaLink="false">http://splitchin.com/tech/?p=906</guid>
		<description><![CDATA[				ケーズデンキオンラインショップ
				
				
				1. 動的にステータスバーを消す、色を変更させる
				
- (void)viewDidLoad
{
	// スーパー・クラスのメソッドを呼び出す
	 [...]]]></description>
			<content:encoded><![CDATA[				<p><a href="http://px.a8.net/svt/ejp?a8mat=1NLRJC+4W8DDU+1V6W+601S2" target="_blank">ケーズデンキオンラインショップ</a><br />
				<img border="0" width="1" height="1" src="http://www13.a8.net/0.gif?a8mat=1NLRJC+4W8DDU+1V6W+601S2" alt=""></p>
				<p><img src="http://splitchin.com/tech/wp-content/uploads/2010/03/statusbar-cap.jpg" alt="ステータスバー"  width="300" height="147" class="alignnone size-full wp-image-911" /></p>
				<h3>1. 動的にステータスバーを消す、色を変更させる</h3>
				<pre class="brush: plain;">
- (void)viewDidLoad
{
	// スーパー・クラスのメソッドを呼び出す
	[super viewDidLoad];

	//ステータスバー off
	[[UIApplication sharedApplication] setStatusBarHidden:YES];
</pre>
				<table>
				<tr>
				<th>setStatusBarStyle:UIStatusBarStyleBlackOpaque animated:YES</th>
				<td>ステータスバーを黒くする</td>
				</tr>
				<tr>
				<th>setStatusBarHidden:YES animated:YES</th>
				<td>ステータスバーが上に引っ込む</td>
				</tr>
				</table>
				<h3>2. ローディング画面時の、ステータスバーを消す</h3>
				<p>しかし、上記のやり方だと、起動時にはステータスバーがデフォルトのままなので、全画面で変更したい場合、info.plistを編集しておきます。</p>
				<p>XCode の/Resourceフォルダ info.plist を開き、<br />
				Information Property List キーの中に UIStatusBarStyle キーを作成する。<br />
				(Information Property List 行を control+クリック で Add Row を選択し、キー名を入力)<br />
				例）値をUIStatusBarStyleBlackOpaque =起動時からステータスバーの色が黒くなる。</p>
				<h4>2-1. ステータスバーを消したい場合</h4>
				<p><img src="http://splitchin.com/tech/wp-content/uploads/2010/03/status-hidden1.jpg" alt="ステータスバー消す" title="" width="300" height="63" class="alignnone size-full wp-image-931" /></p>
				<table>
				<th>UIStatusBarHidden</th>
				<td>チェックすると、ステータスバー非表示</td>
				</table>
				<h4>2-2. 色や透明度を変更したい場合</h4>
				<p><img src="http://splitchin.com/tech/wp-content/uploads/2010/03/statusbar-black.jpg" alt="ステータスバーを黒くする" title="" width="300" height="71" class="alignnone size-full wp-image-913" /></p>
				<p>key: UIStatusBarStyleのValueの設定内容</p>
				<table>
				<tr>
				<th>UIStatusBarStyleDefault </th>
				<td>標準（灰色）</td>
				</tr>
				<tr>
				<th>UIStatusBarStyleBlackTranslucent</th>
				<td>黒く透ける</td>
				</tr>
				<tr>
				<th>UIStatusBarStyleBlackOpaque</th>
				<td>黒くする</td>
				</tr>
				</table>
				<p><!-- Amazon --></p>
				<div class="amazon-area">
				<iframe src="http://rcm-jp.amazon.co.jp/e/cm?lt1=_blank&#038;bc1=FFFFFF&#038;IS2=1&#038;npa=1&#038;bg1=FFFFFF&#038;fc1=333333&#038;lc1=333333&#038;t=i7llcom-22&#038;o=9&#038;p=8&#038;l=as1&#038;m=amazon&#038;f=ifr&#038;md=1X69VDGQCMF7Z30FM082&#038;asins=B0032AMH74" style="width:120px;height:240px;" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"></iframe></p>
				</div>
				<p><!-- /Amazon --></p>
]]></content:encoded>
			<wfw:commentRss>http://splitchin.com/tech/2010/03/29/iphone%e3%82%a2%e3%83%97%e3%83%aa%e3%80%80%e3%82%b9%e3%83%86%e3%83%bc%e3%82%bf%e3%82%b9%e3%83%90%e3%83%bc%e3%82%92%e6%b6%88%e3%81%99/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iPhoneアプリ　実機テスト手順</title>
		<link>http://splitchin.com/tech/2010/02/14/iphone%e3%82%a2%e3%83%97%e3%83%aa%e3%80%80%e5%ae%9f%e6%a9%9f%e3%83%86%e3%82%b9%e3%83%88%e6%89%8b%e9%a0%86/</link>
		<comments>http://splitchin.com/tech/2010/02/14/iphone%e3%82%a2%e3%83%97%e3%83%aa%e3%80%80%e5%ae%9f%e6%a9%9f%e3%83%86%e3%82%b9%e3%83%88%e6%89%8b%e9%a0%86/#comments</comments>
		<pubDate>Sun, 14 Feb 2010 10:31:57 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[iPhone]]></category>
		<category><![CDATA[iPhone SDK 3]]></category>
		<category><![CDATA[iPhoneアプリ]]></category>
		<category><![CDATA[Provisioning profile]]></category>

		<guid isPermaLink="false">http://splitchin.com/tech/?p=879</guid>
		<description><![CDATA[				不要なパソコンが売れる！！
				
				下記サイトを参考にさせて頂いて、iPhoneアプリの実機テストのログ。
				iPhone実機へのアプリインストールまでの道のり
				http://tryout [...]]]></description>
			<content:encoded><![CDATA[				<p><a href="http://px.a8.net/svt/ejp?a8mat=1NLQR5+ATDJYA+1QLM+60H7M" target="_blank">不要なパソコンが売れる！！</a><br />
				<img src="http://www17.a8.net/0.gif?a8mat=1NLQR5+ATDJYA+1QLM+60H7M" border="0" alt="" width="1" height="1" /></p>
				<p>下記サイトを参考にさせて頂いて、iPhoneアプリの実機テストのログ。</p>
				<p>iPhone実機へのアプリインストールまでの道のり<br />
				<a href="http://tryout-lab.com/2009/08/26/290.html" target="new">http://tryout-lab.com/2009/08/26/290.html</a></p>
				<p>1. iPhone Developer Programに加入する<br />
				2. CSR作成<br />
				3. CSRをiPhone Developers Programで登録し、証明書を取得する<br />
				4. デバイス登録する<br />
				5. AppIDを登録する<br />
				6. Provisioning Profilesを作成する<br />
				7. Provisioning ProfilesをXCodeに登録する<br />
				8. XCodeでのアプリケーションへの設定<br />
				9. iPhone SDKを3.0.1対応にする(今は大丈夫なようです。）<br />
				10. 実機で起動</p>
				<ul>
				<li>iPhone開発ガイド &#8211; デバイスの管理<a href="http://developer.apple.com/jp/iphone/library/documentation/Xcode/Conceptual/iphone_development/128-Managing_Devices/devices.html" target="new">http://developer.apple.com/jp/iphone/library/documentation/Xcode/Conceptual/iphone_development/128-Managing_Devices/devices.html</a></li>
				</ul>
				<p><!-- Amaozn --></p>
				<div class="amazon-area">
				<iframe src="http://rcm-jp.amazon.co.jp/e/cm?lt1=_blank&#038;bc1=FFFFFF&#038;IS2=1&#038;npa=1&#038;bg1=FFFFFF&#038;fc1=333333&#038;lc1=333333&#038;t=i7llcom-22&#038;o=9&#038;p=8&#038;l=as1&#038;m=amazon&#038;f=ifr&#038;md=1X69VDGQCMF7Z30FM082&#038;asins=4798022322" style="width:120px;height:240px;" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"></iframe>
				</div>
				<p><!-- /Amazon --></p>
]]></content:encoded>
			<wfw:commentRss>http://splitchin.com/tech/2010/02/14/iphone%e3%82%a2%e3%83%97%e3%83%aa%e3%80%80%e5%ae%9f%e6%a9%9f%e3%83%86%e3%82%b9%e3%83%88%e6%89%8b%e9%a0%86/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iPhone キャプチャの取り方、Macへの画像の転送方法。</title>
		<link>http://splitchin.com/tech/2010/01/31/iphone-%e3%82%ad%e3%83%a3%e3%83%97%e3%83%81%e3%83%a3%e3%81%ae%e5%8f%96%e3%82%8a%e6%96%b9%e3%80%81mac%e3%81%b8%e3%81%ae%e7%94%bb%e5%83%8f%e3%81%ae%e8%bb%a2%e9%80%81%e6%96%b9%e6%b3%95%e3%80%82/</link>
		<comments>http://splitchin.com/tech/2010/01/31/iphone-%e3%82%ad%e3%83%a3%e3%83%97%e3%83%81%e3%83%a3%e3%81%ae%e5%8f%96%e3%82%8a%e6%96%b9%e3%80%81mac%e3%81%b8%e3%81%ae%e7%94%bb%e5%83%8f%e3%81%ae%e8%bb%a2%e9%80%81%e6%96%b9%e6%b3%95%e3%80%82/#comments</comments>
		<pubDate>Sun, 31 Jan 2010 14:14:42 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[iPhone]]></category>

		<guid isPermaLink="false">http://splitchin.com/tech/?p=820</guid>
		<description><![CDATA[				iPod/iPhone/ニンテンドーDS ドレスアップアイテム【Gizmobies】
				
]]></description>
			<content:encoded><![CDATA[				<p><a href="http://px.a8.net/svt/ejp?a8mat=1NLQQW+2T7R5U+1JRI+61Z82" target="_blank">iPod/iPhone/ニンテンドーDS ドレスアップアイテム【Gizmobies】</a></p>
				<p><img border="0" width="1" height="1" src="http://www17.a8.net/0.gif?a8mat=1NLQQW+2T7R5U+1JRI+61Z82" alt=""<br />
				<img class="alignnone size-full wp-image-823" title="iPhoneCapture" src="http://splitchin.com/tech/wp-content/uploads/2010/01/iPhoneCapture.png" alt="iPhoneキャプチャ" width="220" height="320" /></p>
				<h3>1. iPhoneでのキャプチャ取得方法</h3>
				<p>上記の図のように、「スリープボタン」＋「ホームボタン（□）」を同時に押します。写真を撮る時の音と白い画面がし、写真フォルダに格納されます。</p>
				<h3>2. Macでの写真の同期方法</h3>
				<p>USBケーブルで,iPhoneを接続して、Macで「iPhoto」を起動します。左メニューに、iPhoneが表示されているので、選択し、画像を読み込みます。
				</p>
				<h3>3.読み込んだ画像</h3>
				<p>フォルダ「ピクチャ」-「iPhoto Library」に画像が読み込まれています。解像度は、270 × 360ピクセルと、少し大きめです</p>
				<p><!-- /Amazon area --></p>
				<div class="amazon-area">
				<iframe src="http://rcm-jp.amazon.co.jp/e/cm?lt1=_blank&#038;bc1=FFFFFF&#038;IS2=1&#038;npa=1&#038;bg1=FFFFFF&#038;fc1=333333&#038;lc1=333333&#038;t=i7llcom-22&#038;o=9&#038;p=8&#038;l=as1&#038;m=amazon&#038;f=ifr&#038;md=1X69VDGQCMF7Z30FM082&#038;asins=B002DGSMTA" style="width:120px;height:240px;" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"></iframe>
				</div>
				<p><!-- /Amazon area --></p>
]]></content:encoded>
			<wfw:commentRss>http://splitchin.com/tech/2010/01/31/iphone-%e3%82%ad%e3%83%a3%e3%83%97%e3%83%81%e3%83%a3%e3%81%ae%e5%8f%96%e3%82%8a%e6%96%b9%e3%80%81mac%e3%81%b8%e3%81%ae%e7%94%bb%e5%83%8f%e3%81%ae%e8%bb%a2%e9%80%81%e6%96%b9%e6%b3%95%e3%80%82/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>iPhoneステンシル</title>
		<link>http://splitchin.com/tech/2010/01/22/iphone%e3%82%b9%e3%83%86%e3%83%b3%e3%82%b7%e3%83%ab/</link>
		<comments>http://splitchin.com/tech/2010/01/22/iphone%e3%82%b9%e3%83%86%e3%83%b3%e3%82%b7%e3%83%ab/#comments</comments>
		<pubDate>Thu, 21 Jan 2010 15:45:41 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[iPhone]]></category>
		<category><![CDATA[UI設計]]></category>
		<category><![CDATA[ステンシル]]></category>

		<guid isPermaLink="false">http://splitchin.com/tech/?p=807</guid>
		<description><![CDATA[				秋葉館オンラインショップ
				
				
				iPhone Stencil
				スマートフォン設計用に、ステンシルを探してたら、リアルステンシルに行き当たりました。簡単に言うと、iPhone UI用の [...]]]></description>
			<content:encoded><![CDATA[				<p><A HREF="http://px.a8.net/svt/ejp?a8mat=1NLQR5+AV5URM+BEK+5ZU2A" target="_blank">秋葉館オンラインショップ</A><br />
				<img border="0" width="1" height="1" src="http://www19.a8.net/0.gif?a8mat=1NLQR5+AV5URM+BEK+5ZU2A" alt=""></p>
				<p><img src="http://splitchin.com/tech/wp-content/uploads/2010/01/iphone-stncil.png" alt="iPhoneステンシル" title="iphone-stncil" width="320" height="222" class="alignnone size-full wp-image-808" /></p>
				<p><a href="http://www.act2.com/products/iphone-stencil.html" target="new">iPhone Stencil</a></p>
				<p>スマートフォン設計用に、ステンシルを探してたら、リアルステンシルに行き当たりました。簡単に言うと、iPhone UI用の定規。価格は1,980円。</p>
				<p>米Design Commission社がデザインワークのために製作したiPhoneステンシル。<br />
				iPhoneアプリケーションのさまざまな企画やプロトタイプアイディア、<br />
				U画面遷移や画面デザインのUI設計のペーパーモック作成などに役立ちますね！</p>
				<p>よし、これは明日、経費で買ってもらうぞ！・・・落ちるわけないですね！
				</p>
				<p><!-- amazon area --></p>
				<div class="amazon-area">
				<iframe src="http://rcm-jp.amazon.co.jp/e/cm?lt1=_blank&#038;bc1=FFFFFF&#038;IS2=1&#038;npa=1&#038;bg1=FFFFFF&#038;fc1=333333&#038;lc1=333333&#038;t=i7llcom-22&#038;o=9&#038;p=8&#038;l=as1&#038;m=amazon&#038;f=ifr&#038;md=1X69VDGQCMF7Z30FM082&#038;asins=B001C3KY3W" style="width:120px;height:240px;" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"></iframe>
				</div>
				<p><!-- /amazon area --></p>
]]></content:encoded>
			<wfw:commentRss>http://splitchin.com/tech/2010/01/22/iphone%e3%82%b9%e3%83%86%e3%83%b3%e3%82%b7%e3%83%ab/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iPhoneサイトに、AdMob広告を入れる。</title>
		<link>http://splitchin.com/tech/2010/01/14/iphone%e3%82%b5%e3%82%a4%e3%83%88%e3%81%ab%e3%80%81admob%e5%ba%83%e5%91%8a%e3%82%92%e5%85%a5%e3%82%8c%e3%82%8b%e3%80%82/</link>
		<comments>http://splitchin.com/tech/2010/01/14/iphone%e3%82%b5%e3%82%a4%e3%83%88%e3%81%ab%e3%80%81admob%e5%ba%83%e5%91%8a%e3%82%92%e5%85%a5%e3%82%8c%e3%82%8b%e3%80%82/#comments</comments>
		<pubDate>Wed, 13 Jan 2010 15:20:42 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[AdMob]]></category>
		<category><![CDATA[WPTouch]]></category>

		<guid isPermaLink="false">http://splitchin.com/tech/?p=677</guid>
		<description><![CDATA[				互換インクならこちら
				
				
				昨年、Googleが7億5千万ドルでM&#038;AしたAdMob社ですが、
				Androidのインプレッション数は、2倍になったそうです(2009/01/ [...]]]></description>
			<content:encoded><![CDATA[				<p><a href="http://px.a8.net/svt/ejp?a8mat=1NLRJC+3F8SJM+20QC+644DU" target="_blank">互換インクならこちら</a><br />
				<img border="0" width="1" height="1" src="http://www11.a8.net/0.gif?a8mat=1NLRJC+3F8SJM+20QC+644DU" alt=""></p>
				<p>
				昨年、Googleが7億5千万ドルでM&#038;AしたAdMob社ですが、<br />
				Androidのインプレッション数は、2倍になったそうです(2009/01/15)<br />
				<a href="http://jp.techcrunch.com/tag/admob/" target="new">http://jp.techcrunch.com/tag/admob/</a></p>
				<p>iPhoneアプリだけでなく、webにも対応してるとのことなので、<br />
				<a href="http://www.ideaxidea.com/archives/2009/11/admob_on_iphone_blog.html" target="new">IDEA*IDEA</a>さんの記事を参考にさせて頂きながら、<br />
				Webサイトに入れてみました。
				</p>
				<p><img src="http://splitchin.com/tech/wp-content/uploads/2010/01/admob.png" alt="AdMob" title="admob" width="200" height="300" class="alignright size-full wp-image-713" /></p>
				<h4>AdMobに、登録します。</h4>
				<p><a href="http://jp.admob.com/" target="new">AdMobサイト</a>に行き、<br />
				「今すぐスタート」ボタンを押します。</p>
				<p>登録情報を入力します。
				</p>
				<p><img src="http://splitchin.com/tech/wp-content/uploads/2010/01/AdMob-regist.png" alt="AdMob登録" title="AdMob-regist" width="320" height="300" class="alignright size-full wp-image-678" /></p>
				<p>登録メールに、認証メールが送信されるので、メールを開いて、URLをクリックし、登録を完了させます。</p>
				<p><img src="http://splitchin.com/tech/wp-content/uploads/2010/01/adMob-regconp.png" alt="AdMob登録完了" title="adMob-regconp" width="320" height="186" class="alignright size-full wp-image-679" /></p>
				<h4>サイトを追加する</h4>
				<p>「サイト及びアプリケーション」ー「サイト/アプリケーションの追加」を選択します。</p>
				<p>「サイトまたはアプリケーション タイプの選択」から「iPhone用サイト」を選択します。
				</p>
				<p><img src="http://splitchin.com/tech/wp-content/uploads/2010/01/AdMob-site.png" alt="AdMobサイトタイプ" title="AdMob-site" width="320" height="291" class="alignright size-full wp-image-680" /></p>
				<p>広告を貼るサイトの情報を入力します。広告の色なども選択できます。</p>
				<p><img src="http://splitchin.com/tech/wp-content/uploads/2010/01/Admob-siteform.png" alt="AdMobサイト情報" title="Admob-siteform" width="320" height="292" class="alignright size-full wp-image-681" /></p>
				<p>次に進むと、広告のJSコードが表示されます。</p>
				<p><img src="http://splitchin.com/tech/wp-content/uploads/2010/01/AdMob-code.png" alt="AdMob広告コード" title="AdMob-code" width="320" height="189" class="alignright size-full wp-image-685" /></p>
				<p>広告コードのサンプル</p>
				<pre class="brush: jscript;">
&lt;script type=&quot;text/javascript&quot;&gt;
var admob_vars = {
 pubid: '*******', // publisher id
 bgcolor: '333333', // background color (hex)
 text: 'eeeeee', // font-color (hex)
 test: true// test mode, set to false if non-test mode
};
&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;http://mm.admob.com/static/iphone/iadmob.js&quot;&gt;&lt;/script&gt;
</pre>
				<p>注意）</p>
				<pre class="brush: jscript;">
 test: false// test mode, set to false if non-test mode
</pre>
				<p>デフォルトだと、「test:true」になっていて、テストモードで課金されなくなっているので、「test:false」に変更します。</p>
				<h4>iPhoneサイトの、広告を挿入したい場所に、広告コードを埋めます.</h4>
				<p>
				wptouch/themes/default/header.phpに広告コード埋めます。</p>
				<p>次の例は、タイトルヘッダーと、Searchの間に、広告を入れた時の例です。<br />
				特に、どこに埋めても良いようなので、入れたい位置にいれてください。
				</p>
				<pre class="brush: php;">
	&lt;/div&gt;
&lt;/div&gt;
&lt;!-- AdMob --&gt;
&lt;div class=&quot;admob-area&quot;&gt;
&lt;script type=&quot;text/javascript&quot;&gt;
var admob_vars = {
 pubid: 'xxxxxxxxxxx', // publisher id
 bgcolor: '333333', // background color (hex)
 text: 'eeeeee', // font-color (hex)
 test: false // test mode, set to false if non-test mode
};
&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;http://mm.admob.com/static/iphone/iadmob.js&quot;&gt;&lt;/script&gt;
&lt;/div&gt;
&lt;!-- /AdMob --&gt;
&lt;div id=&quot;drop-fade&quot;&gt;
	&lt;?php if (bnc_is_search_enabled()) { ?&gt;
    	&lt;a id=&quot;searchopen&quot; class=&quot;top&quot; href=&quot;#&quot; onclick=&quot;bnc_jquery_search_toggle(); return false;&quot;&gt;&lt;?php _e( 'Search', 'wptouch' ); ?&gt;&lt;/a&gt;
	&lt;?php } ?&gt;
</pre>
				<p>ついでに、style.cssも加えました。</p>
				<pre class="brush: xml;">
/* for AdMob */
admob-area {
        width: 100%;
	height: 48px;
	display:block;
}
/* end for AdMob */
</pre>
				<p>
				そして、ついでに、解析コードを、footer.phpに加えます。<br />
				PHPの場合、なぜか、最後の「?>」が抜けていて、そのまま貼ると<br />
				エラーになるので要注意。</p>
				<p>自分は、GoogleAnalyticsも使用しているので、その解析コードも挿入しました。</p>
				<p>さて、これでAdMob広告の挿入は完了です！<br />
				iPhoneから接続して確認してみてください。</p>
				<p>※wptouchプラグインをアップグレードすると、/themesファイル内も<br />
				　上書きされてしまうので、バックアップは取っておいた方が良いです。
				</p>
				<p><!-- amazon --></p>
				<div class="amazon-area">
				<iframe src="http://rcm-jp.amazon.co.jp/e/cm?lt1=_blank&#038;bc1=FFFFFF&#038;IS2=1&#038;npa=1&#038;bg1=FFFFFF&#038;fc1=333333&#038;lc1=333333&#038;t=i7llcom-22&#038;o=9&#038;p=8&#038;l=as1&#038;m=amazon&#038;f=ifr&#038;md=1X69VDGQCMF7Z30FM082&#038;asins=4797351381" style="width:120px;height:240px;" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"></iframe>
				</div>
				<p><!-- /amazon --></p>
]]></content:encoded>
			<wfw:commentRss>http://splitchin.com/tech/2010/01/14/iphone%e3%82%b5%e3%82%a4%e3%83%88%e3%81%ab%e3%80%81admob%e5%ba%83%e5%91%8a%e3%82%92%e5%85%a5%e3%82%8c%e3%82%8b%e3%80%82/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iPhoneアプリ　UINavigationControllerを使用した、ナビゲーションUIのメモ。その１</title>
		<link>http://splitchin.com/tech/2010/01/10/iphone%e3%82%a2%e3%83%97%e3%83%aa%e3%80%80uinavigationcontroller%e3%82%92%e4%bd%bf%e7%94%a8%e3%81%97%e3%81%9f%e3%80%81%e3%83%8a%e3%83%93%e3%82%b2%e3%83%bc%e3%82%b7%e3%83%a7%e3%83%b3ui%e3%81%ae/</link>
		<comments>http://splitchin.com/tech/2010/01/10/iphone%e3%82%a2%e3%83%97%e3%83%aa%e3%80%80uinavigationcontroller%e3%82%92%e4%bd%bf%e7%94%a8%e3%81%97%e3%81%9f%e3%80%81%e3%83%8a%e3%83%93%e3%82%b2%e3%83%bc%e3%82%b7%e3%83%a7%e3%83%b3ui%e3%81%ae/#comments</comments>
		<pubDate>Sun, 10 Jan 2010 07:30:34 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Object-C]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[iPhone SDK 3]]></category>
		<category><![CDATA[iPhone SDK]]></category>
		<category><![CDATA[UINavigationController]]></category>

		<guid isPermaLink="false">http://splitchin.com/tech/?p=513</guid>
		<description><![CDATA[				「Macを買うなら…」でおなじみの、秋葉館オンラインショップもちろん話題のiPodも本体を含め関連商品充実！
				
				
				UiKitフレームワークに含まれている、UINavigationContr [...]]]></description>
			<content:encoded><![CDATA[				<p>「Macを買うなら…」でおなじみの、<A HREF="http://px.a8.net/svt/ejp?a8mat=1NLQR5+AV5URM+BEK+5ZEMQ" target="_blank">秋葉館オンラインショップ</A><BR>もちろん話題のiPodも本体を含め関連商品充実！<br />
				<img border="0" width="1" height="1" src="http://www19.a8.net/0.gif?a8mat=1NLQR5+AV5URM+BEK+5ZEMQ" alt=""></p>
				<p><img src="http://splitchin.com/tech/wp-content/uploads/2010/01/UINavigationController2.png" alt="UINavigationController" title="UINavigationController" width="320" height="293" class="alignnone size-full wp-image-544" /></p>
				<p>UiKitフレームワークに含まれている、UINavigationControllerを使用した、<br />
				ナビゲーションUIについての私的メモです。InterfaceBuilderなどでの設定の説明は省いてます。</p>
				<h3>UINavigationControllerクラス</h3>
				<p>NSObject<br />
				　　　|<br />
				　　　+&#8211;UIResponder<br />
				　　　　　　|<br />
				　　　　　　+&#8211;UIViewController<br />
				　　　　　　　　　|<br />
				　　　　　　　　　+&#8211;<strong>UINavigationController</strong></p>
				<h4>1. UINavigationControllerクラスとは</h4>
				<p>オブジェクトの階層の外観を管理する、ナビゲーションバーのための特殊なコントローラ。アプリケーションに提供されたビューコントローラを使用して、ナビゲーションバーの設定やビューを描画することが可能。各ビューコントローラは、ナビゲーションバーのナビゲーションアイテムを持っています。</p>
				<h4>2. UINavigationCotrollerのナビゲーションでの働き</h4>
				<ul>
				<li>UINavigationControllerオブジェクトは複数のUIViewCotrollerオブジェクトを保持していて、そのオブジェクトの画面遷移を管理。</li>
				<li>UINavigationControllerオブジェクトが保持しているUIViewオブジェクトと、ナビゲーションを合成したものを表示。</li>
				<li>そのUIViewオブジェクトを、Windowオブジェクトの子ビューとすることで、ナビゲーションバーを含む画面が表示される。</li>
				</ul>
				<h3>実装サンプル</h3>
				<p>NavigationSampleAppDelegateクラスに、UINavigationControllerのメンバ変数と、プロパティ宣言を追記。</p>
				<pre class="brush: cpp;">
//NavigationSampleAppDelegate.h
@interface NavigationSampleAppDelegate : NSObject &lt;UIApplicationDelegate&gt; {
    UIWindow *window;
    UINavigationController *navigationController;
}

@property (nonatomic, retain) IBOutlet UIWindow *window;
@property (nonatomic, retain) IBOutlet UINavigationController *navigationController;

@end
</pre>
				<p>NavigationSampleAppDelegate.mに、実装ディレクティブを追加。<br />
				UINavigationControllerのビューをウインドウに追加して、deallocメソッドにも追記。</p>
				<pre class="brush: cpp;">
//  NavigationSampleAppDelegate.m

#import &quot;NavigationSampleAppDelegate.h&quot;

@implementation NavigationSampleAppDelegate

@synthesize window;
@synthesize navigationController;

- (void)applicationDidFinishLaunching:(UIApplication *)application {    

    // Override point for customization after application launch
	[window addSubview:[navigationController view]];
    [window makeKeyAndVisible];
}

- (void)dealloc {
    [navigationController release];
    [window release];
    [super dealloc];
}
</pre>
				<p>これで、画面遷移を制御するコントローラーの下地の追加が完了しました。</p>
				<h3>InterfaceBuilderで、MainWindow.xibのUINavigationControllerを編集</h3>
				<p>InterfaceBuilder上で、NavigationControllerで制御したいコントローラーを、Libraryから選択して、xibを編集し、ビルドすると、下記の例ようになります。</p>
				<p><img src="http://splitchin.com/tech/wp-content/uploads/2010/01/NavigationBar1.png" alt="NavigationBar" title="NavigationBar" width="320" height="113" class="alignnone size-full wp-image-548" /></p>
				<p>次回は、スタートページと、遷移先ページ、遷移イベントの実装などについて、メモして行きたいと思います！<br />
				<img src="http://splitchin.com/tech/wp-content/uploads/2010/01/IBNavigationController.png" alt="IBNavigationController Library" title="IBNavigationController" width="280" height="235" class="alignnone size-full wp-image-562" /></p>
				<p><!--Amazon --></p>
				<div class="amazon-area">
				<iframe src="http://rcm-jp.amazon.co.jp/e/cm?lt1=_blank&#038;bc1=FFFFFF&#038;IS2=1&#038;npa=1&#038;bg1=FFFFFF&#038;fc1=000000&#038;lc1=333333&#038;t=i7llcom-22&#038;o=9&#038;p=8&#038;l=as1&#038;m=amazon&#038;f=ifr&#038;md=1X69VDGQCMF7Z30FM082&#038;asins=4897978440" style="width:120px;height:240px;" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"></iframe>
				</div>
				<p><!-- /Amazon --></p>
				<h5>【関連記事】</h5>
				<p>iPhoneアプリ開発の環境構築</p>
				<ul>
				<li><a href="http://splitchin.com/tech/2010/01/03/iphone-sdkを、snowleopardに入れる/">iPhone SDKを、SnowLeopardに入れる</a></li>
				<li><a href="http://splitchin.com/tech/2010/01/04/iphone-sdk-ドキュメント/">iPhone SDK ドキュメントの入手</a></li>
				</ul>
				<p>iPhoneアプリ HelloWorld</p>
				<ul>
				<li><a href="http://splitchin.com/tech/2010/01/07/iphoneアプリ%E3%80%80helloworld%E3%80%80その１%E3%80%80画面を作成する/">iPhoneアプリ HelloWorld その１</a></li>
				<li><a href="http://splitchin.com/tech/2010/01/09/iphoneアプリ-helloworld-その２%E3%80%80viewcontrollerの追加/" target="new">iPhoneアプリ HelloWorld　その２ ViewController</a></li>
				<li><a href="http://splitchin.com/tech/2010/01/09/iphoneアプリ-helloworld-その３%E3%80%80viewcontrollerの実装/">iPhoneアプリ HelloWorld その３　ViewControllerの実装</a></li>
				</ul>
]]></content:encoded>
			<wfw:commentRss>http://splitchin.com/tech/2010/01/10/iphone%e3%82%a2%e3%83%97%e3%83%aa%e3%80%80uinavigationcontroller%e3%82%92%e4%bd%bf%e7%94%a8%e3%81%97%e3%81%9f%e3%80%81%e3%83%8a%e3%83%93%e3%82%b2%e3%83%bc%e3%82%b7%e3%83%a7%e3%83%b3ui%e3%81%ae/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iPhoneアプリ HelloWorld その３　ViewControllerの実装</title>
		<link>http://splitchin.com/tech/2010/01/09/iphone%e3%82%a2%e3%83%97%e3%83%aa-helloworld-%e3%81%9d%e3%81%ae%ef%bc%93%e3%80%80viewcontroller%e3%81%ae%e5%ae%9f%e8%a3%85/</link>
		<comments>http://splitchin.com/tech/2010/01/09/iphone%e3%82%a2%e3%83%97%e3%83%aa-helloworld-%e3%81%9d%e3%81%ae%ef%bc%93%e3%80%80viewcontroller%e3%81%ae%e5%ae%9f%e8%a3%85/#comments</comments>
		<pubDate>Sat, 09 Jan 2010 14:34:16 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[iPhone]]></category>
		<category><![CDATA[iPhone SDK 3]]></category>
		<category><![CDATA[iPhoneアプリ]]></category>
		<category><![CDATA[Object-C]]></category>
		<category><![CDATA[ViewController]]></category>

		<guid isPermaLink="false">http://splitchin.com/tech/?p=480</guid>
		<description><![CDATA[				前回の、iPhoneアプリ HelloWorld　その２ ViewControllerで追加したViewControllerに、イベントを実装していきます。
				Clickボタンをタップすると、「Hello, [...]]]></description>
			<content:encoded><![CDATA[				<p>前回の、<a href="http://splitchin.com/tech/2010/01/09/iphoneアプリ-helloworld-その２%E3%80%80viewcontrollerの追加/" target="new">iPhoneアプリ HelloWorld　その２ ViewController</a>で追加したViewControllerに、イベントを実装していきます。</p>
				<p>Clickボタンをタップすると、「Hello, World!」と、表示されるイベントを実装していきます。</p>
				<h3>1. 初期状態で、ラベルの「Hello, World!」を非表示にします</h3>
				<p>「HelloWorldViewController.h」をクリックして、ソースを表示します。</p>
				<p><img src="http://splitchin.com/tech/wp-content/uploads/2010/01/Viewcontrollerh.png" alt="ViewController.hを開く" title="Viewcontrollerh" width="320" height="264" class="alignnone size-full wp-image-498" /></p>
				<p>下記のように、messageメンバ変数を記述します。</p>
				<pre class="brush: cpp;">
//
//  HelloWorldViewController.h
//  HelloWorld
//
//  Created by あらびき林檎 on 10/01/07.
//  Copyright 2010 Splitchin  All rights reserved.
//

#import &lt;UIKit/UIKit.h&gt;

@interface HelloWorldViewController : UIViewController {
	IBOutlet UILabel *messsage;
}

@end
</pre>
				<p>保存したら、「HelloWorldViewController.m」を開きます。</p>
				<p>「viewDidLoad」メソッドが、下記のようにコメントアウトされています。
				</p>
				<pre class="brush: cpp;">
/*
// Implement viewDidLoad to do additional setup after loading the view, typically from a nib.
- (void)viewDidLoad {
    [super viewDidLoad];
}
*/
*/
</pre>
				<p>コメントアウトを外して、下記のように処理を追記します</P></p>
				<pre class="brush: plain;">
// Implement viewDidLoad to do additional setup after loading the view, typically from a nib.
- (void)viewDidLoad {
    [super viewDidLoad];
	[messsage setHidden:YES];
}
</pre>
				<p>これで、XIBファイルを読み込んだ後の、追加処理の記述をしました。</p>
				<p>次に、messageメンバ変数と、XIBファイルをリンクさせます。</p>
				<p>「HelloWorldeView.xib」をクリックして、ウインドを開いたら、<br />
				　File&#8217;s Owneから、Lableまで、Ctrlを押しながら、ドラッグします。<br />
				　Outletの「message」を選択します。</p>
				<p><a href="http://splitchin.com/tech/wp-content/uploads/2010/01/FilesOwnerMessage.png"><img src="http://splitchin.com/tech/wp-content/uploads/2010/01/FilesOwnerMessage.png" alt="File&#039;s Owner Messageにリンク" title="FilesOwnerMessage" width="280" height="190" class="alignnone size-full wp-image-489" /></a></p>
				<p><P>これで、HelloWorldViewControllerクラスのmessageメンバ変数と、<br />
				XIBファイルの、Labelのテキスト「Hello, World!」がリンクしました。</p>
				<h3>2. イベントハンドラの実装</h3>
				<p>「Click」ボタンをタップしたときの、イベント処理を実装します。</p>
				<p>「HelloWorldViewController.h」を選択して、ソースを表示します。<br />
				そして、以下のように、IBActionを記述します。</p>
				<pre class="brush: cpp;">
//
//  HelloWorldViewController.h
//  HelloWorld
//
//  Created by あらびき林檎 on 10/01/07.
//  Copyright 2010 Splitchin  All rights reserved.
//

#import &lt;UIKit/UIKit.h&gt;

@interface HelloWorldViewController : UIViewController {
	IBOutlet UILabel *messsage;
}

-(IBAction)actionButtonTapped:(id)sender;

@end
</pre>
				<p>次に、「HelloWorldViewController.m」を選択して、ソースを表示します。</p>
				<p>以下のように、IBActionで、messageを表示するように設定します。
				</p>
				<pre class="brush: cpp;">
- (void)dealloc {
    [super dealloc];
}

- (IBAction)actionButtonTapped:(id)sender{
	[messsage setHidden:NO];
}

@end
</pre>
				<p>「HelloWorldView.xib」を開いて、ボタンとイベントハンドラをリンクさせます。</p>
				<p>「View」を開いて、「Rounded Rect Button」（Clickボタンを実装したUIパーツ）から、<br />
				Ctrlを押しながら、File&#8217;s Ownerにドラッグして、Eventsから「actionButtonTapped」<br />
				を選択します。</p>
				<p><img src="http://splitchin.com/tech/wp-content/uploads/2010/01/FilesOwnerRounded.png" alt="File&#039;s Owner ボタンとイベントをリンク" title="FilesOwnerRounded" width="280" height="190" class="alignnone size-full wp-image-493" /></p>
				<h3>ビルドして実行</h3>
				<p>保存したら、「ビルドして実行」します。</p>
				<p><img src="http://splitchin.com/tech/wp-content/uploads/2010/01/HelloWorld-EventSimulate.png" alt="HelloWorld iPhoneシミュレーター" title="HelloWorld-EventSimulate" width="320" height="342" class="alignnone size-full wp-image-494" /></p>
				<p>「Click」ボタンを押すと、「Hello, World!」と表示される、<br />
				　　iPhoneアプリが完成しました！</p>
				<p><!-- amazon --></p>
				<div class="amazon-area">
				<iframe src="http://rcm-jp.amazon.co.jp/e/cm?lt1=_blank&#038;bc1=FFFFFF&#038;IS2=1&#038;bg1=FFFFFF&#038;fc1=000000&#038;lc1=FF0066&#038;t=i7llcom-22&#038;o=9&#038;p=8&#038;l=as1&#038;m=amazon&#038;f=ifr&#038;md=1X69VDGQCMF7Z30FM082&#038;asins=4861904951" style="width:120px;height:240px;" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"></iframe>
				</div>
				<p><!-- /amazon --></p>
				<h5>【関連記事】</h5>
				<p>iPhoneアプリ開発の環境構築</p>
				<ul>
				<li><a href="http://splitchin.com/tech/2010/01/03/iphone-sdkを、snowleopardに入れる/">iPhone SDKを、SnowLeopardに入れる</a></li>
				<li><a href="http://splitchin.com/tech/2010/01/04/iphone-sdk-ドキュメント/">iPhone SDK ドキュメントの入手</a></li>
				</ul>
				<p>iPhoneアプリ HelloWorld</p>
				<ul>
				<li><a href="http://splitchin.com/tech/2010/01/07/iphoneアプリ%E3%80%80helloworld%E3%80%80その１%E3%80%80画面を作成する/">iPhoneアプリ HelloWorld その１</a></li>
				<p>　　
				<li><a href="http://splitchin.com/tech/2010/01/09/iphoneアプリ-helloworld-その２%E3%80%80viewcontrollerの追加/" target="new">iPhoneアプリ HelloWorld　その２ ViewController</a></li>
				</ul>
]]></content:encoded>
			<wfw:commentRss>http://splitchin.com/tech/2010/01/09/iphone%e3%82%a2%e3%83%97%e3%83%aa-helloworld-%e3%81%9d%e3%81%ae%ef%bc%93%e3%80%80viewcontroller%e3%81%ae%e5%ae%9f%e8%a3%85/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iPhoneアプリ　HelloWorld　その１　画面を作成する</title>
		<link>http://splitchin.com/tech/2010/01/07/iphone%e3%82%a2%e3%83%97%e3%83%aa%e3%80%80helloworld%e3%80%80%e3%81%9d%e3%81%ae%ef%bc%91%e3%80%80%e7%94%bb%e9%9d%a2%e3%82%92%e4%bd%9c%e6%88%90%e3%81%99%e3%82%8b/</link>
		<comments>http://splitchin.com/tech/2010/01/07/iphone%e3%82%a2%e3%83%97%e3%83%aa%e3%80%80helloworld%e3%80%80%e3%81%9d%e3%81%ae%ef%bc%91%e3%80%80%e7%94%bb%e9%9d%a2%e3%82%92%e4%bd%9c%e6%88%90%e3%81%99%e3%82%8b/#comments</comments>
		<pubDate>Wed, 06 Jan 2010 16:12:04 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[iPhone SDK 3]]></category>
		<category><![CDATA[InterfaceBuilder]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[iPhone SDK3]]></category>
		<category><![CDATA[XCode]]></category>

		<guid isPermaLink="false">http://splitchin.com/tech/?p=331</guid>
		<description><![CDATA[				SDKのインストールが完了したら、とりあえず、「HelloWorld」を作成してみます。
				ドキュメントは、Apple Dev Centerの、「iPhoneアプリケーションチュートリアル」を
				参考 [...]]]></description>
			<content:encoded><![CDATA[				<p><a href="http://splitchin.com/tech/2010/01/03/iphone-sdkを、snowleopardに入れる/">SDKのインストール</a>が完了したら、とりあえず、「HelloWorld」を作成してみます。<br />
				ドキュメントは、<a href="http://splitchin.com/tech/2010/01/04/iphone-sdk-ドキュメント/">Apple Dev Centerの、「iPhoneアプリケーションチュートリアル」</a>を<br />
				参考にしています。サンプルの、HelloWorldが、OS2.0用で動かなかったので、<br />
				１から作成してみました。</p>
				<h3>1. 新規プロジェクトの作成</h3>
				<p>Xcodeを起動して、「ファイル」ー「新規プロジェクトの作成」を選択します。<br />
				<img class="alignnone size-full wp-image-339" title="Xcode-File" src="http://splitchin.com/tech/wp-content/uploads/2010/01/Xcode-File1.png" alt="Xcode iPhone アプリ　新規プロジェクトの作成" width="200" height="106" /></p>
				<h4>新規プロジェクトのテンプレートを選びます。</h4>
				<p>左カラムから、「iPhone OS」 &#8211; 「Application」を選択します。</p>
				<p><img class="alignnone size-full wp-image-340" title="iPhoneNewProject" src="http://splitchin.com/tech/wp-content/uploads/2010/01/iPhoneNewProject.png" alt="iPhoneアプリ　テンプレートの選択" width="320" height="260" /></p>
				<p>ここでは、テンプレート「Window-Based」を選択します。</p>
				<h4>テンプレートの種類</h4>
				<table>
				<tbody>
				<tr>
				<th>Navigation-Based Application</th>
				<td>複数の画面を使用して、階層的にデータを表示するアプリケーション。上にナビゲーションバーが生成されるので、深い階層を実現できます。</td>
				</tr>
				<tr>
				<th>OpenGL ES Application</th>
				<td>画像やアニメーションを表示するために、一画面全体で、OpenGL ESベースのビューを使用するアプリケーション。３Dやゲームなどに。</td>
				</tr>
				<tr>
				<th>Tab Bar Application</th>
				<td>ユーザが複数の画面から選択できるラジオインターフェイスを表示するアプリケーション。</td>
				</tr>
				<tr>
				<th>View-Based Application</th>
				<td>1つのビューを使用してユーザインターフェイスを実装しているアプリケーション。</td>
				</tr>
				<tr>
				<th>Utility Application</th>
				<td>メインの画面と、設定の画面だけを持つようなアプリケーションを作る場合に。 インフォメーションボタンを押すと、画面が裏返るアニメーションで、設定画面になります。</td>
				</tr>
				<tr>
				<th>Window-Based Application</th>
				<td>1つのアプリケーションデリゲートと1つのウインドウを含んでいます。一画面のアプリケーション用ですが、インターフェースの配置もコードで行う場合に。</td>
				</tr>
				</tbody>
				</table>
				<p>新規プロジェクト名に、「HelloWorld」と入力します。</p>
				<p><img class="alignright size-full wp-image-352" title="HelloWorldFile" src="http://splitchin.com/tech/wp-content/uploads/2010/01/HelloWorldFile.png" alt="XCode新規プロジェクト　HelloWorld" width="455" height="182" /></p>
				<p>XCodeに、新規プロジェクト、「HelloWorld」が作成されます。</p>
				<p><img class="size-full wp-image-347" title="HelloWorld-XCode" src="http://splitchin.com/tech/wp-content/uploads/2010/01/HelloWorld-XCode.png" alt="XCode iPhone HelloWorld" width="320" height="227" /></p>
				<h3>画面を作成する。</h3>
				<p>まずは、ViewパートであるUIから作成してみます。</p>
				<h4>リソースの追加をします。</h4>
				<p>[Resources]フォルダを右クリックして、「追加」→「新規ファイル作成」</p>
				<p><img class="alignright size-full wp-image-357" title="iPhoneNewResource" src="http://splitchin.com/tech/wp-content/uploads/2010/01/iPhoneNewResource.png" alt="iPhone XCode New Resource" width="250" height="195" /></p>
				<p>「View XIB」を選択します</p>
				<p><img class="alignright size-full wp-image-342" title="iPhone-new-template" src="http://splitchin.com/tech/wp-content/uploads/2010/01/iPhone-new-template.png" alt="iPhone 新規テンプレート" width="320" height="259" /></p>
				<p>ひとまず、「HelloWorldView」というファイル名で作成します。</p>
				<p><img class="alignnone size-full wp-image-363" title="HelloWorldView" src="http://splitchin.com/tech/wp-content/uploads/2010/01/HelloWorldView.png" alt="iPhone HelloWorld View" width="320" height="260" /></p>
				<p>「HelloWorldView.xib」というリソースファイルが作成されているのを確認します。</p>
				<p><img class="alignnone size-full wp-image-364" title="XCodeHelloWorldViewxib" src="http://splitchin.com/tech/wp-content/uploads/2010/01/XCodeHelloWorldViewxib.png" alt="XCode XIB" width="250" height="193" /></p>
				<h4>「HelloWorldView.xib」をクリックして、UIを編集します。</h4>
				<p>「InterfaceBuilder」と呼ばれる、Viewパートを編集するツールが起動します。</p>
				<p><img class="alignnone size-medium wp-image-366" title="InterfaceBuildernew" src="http://splitchin.com/tech/wp-content/uploads/2010/01/InterfaceBuildernew-300x187.png" alt="Interface Builder 新規" width="300" height="187" /></p>
				<p>「Tool」から「Library」を選択します。</p>
				<p>「Library」ウインドゥが表示されます。</p>
				<p><img class="alignnone size-full wp-image-368" title="IB-Tool-library" src="http://splitchin.com/tech/wp-content/uploads/2010/01/IB-Tool-library.png" alt="IB Tool-Library" width="245" height="124" /></p>
				<p>「Library」から、「Round Rect Buttonスニペットを選択し、ドラッグ＆ドロップします。縦横の大きさや、配置は調整できます。</p>
				<p><a href="http://splitchin.com/tech/wp-content/uploads/2010/01/IB-lib-rect.png"><img class="alignnone size-full wp-image-370" title="IB-lib-rect" src="http://splitchin.com/tech/wp-content/uploads/2010/01/IB-lib-rect.png" alt="IB Rect" width="320" height="291" /></a></p>
				<p>Round Rect Buttonをダブルクリックし、「Click」と文字を入力します。</p>
				<p><img class="alignnone size-full wp-image-390" title="IB-Button-click" src="http://splitchin.com/tech/wp-content/uploads/2010/01/IB-Button-click.png" alt="IB-Button" width="320" height="343" /></p>
				<p>同じように、Libraryから、「Lable」を選んで、ドラッグ＆ドロップし、ダブルクリックして、「Hello, World!」と入力します。</p>
				<p><a href="http://splitchin.com/tech/wp-content/uploads/2010/01/IB-LabelHelloWorld.png"><img class="alignnone size-full wp-image-389" title="IB-LabelHelloWorld!" src="http://splitchin.com/tech/wp-content/uploads/2010/01/IB-LabelHelloWorld.png" alt="IB lable" width="320" height="352" /></a></p>
				<h4>属性を設定します。</h4>
				<p>メニューバーから、「Tools」→「Inspector」を選択します。<br />
				左上のスライダーのようなアイコン、「View Attribute」を選択します。</p>
				<p>ここで、フォントやカラーなど属性値を設定できます。</p>
				<p><img class="alignnone size-full wp-image-394" title="IB-Attribute" src="http://splitchin.com/tech/wp-content/uploads/2010/01/IB-Attribute2.png" alt="IB Attribute" width="320" height="367" /></p>
				<p>長くなってしまったので、次回は、View Controllerを追加して、実際の処理を追加していきます！</p>
				<p><!-- Amazon --></p>
				<div class="amazon-area"></div>
				<p><!-- /Amazon --></p>
				<p>【関連記事】</p>
				<ul>
				<li><a href="http://splitchin.com/tech/2010/01/03/iphone-sdkを、snowleopardに入れる/">iPhone SDKを、SnowLeopardに入れる</a></li>
				<li><a href="http://splitchin.com/tech/2010/01/04/iphone-sdk-ドキュメント/">iPhone SDK ドキュメントの入手</a></li>
				</ul>
]]></content:encoded>
			<wfw:commentRss>http://splitchin.com/tech/2010/01/07/iphone%e3%82%a2%e3%83%97%e3%83%aa%e3%80%80helloworld%e3%80%80%e3%81%9d%e3%81%ae%ef%bc%91%e3%80%80%e7%94%bb%e9%9d%a2%e3%82%92%e4%bd%9c%e6%88%90%e3%81%99%e3%82%8b/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
